-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pickling of function pointer #157
Comments
A more minimal example
|
The problem seems to be caused by some design decision made by python and a well known issue e.g. with using multiprocessing in interactive sessions.
As a workaround until I find a proper solution I recommend as a workaround to put the code into a separate file than the one to call the python interpreter on e.g.
|
When python has to pickle functions it will raise an exception that pickling failed.
Using Python 3.10, Score-P 8.0, Bindings 4.2.0
Minimal example
results in
although running the code without
-m scorep
works.Another code reported by @maximilian-tech can be found in #106
The text was updated successfully, but these errors were encountered: