Issue with parallelization via multiprocessing.Pool #569
Replies: 3 comments 4 replies
-
I copied this from the tutorial here: https://pymoo.org/problems/parallelization.html#Processes
Does this resolve the issue? |
Beta Was this translation helpful? Give feedback.
-
For |
Beta Was this translation helpful? Give feedback.
-
That's not really a pymoo problem but a serializiation problem. You need tell Python where the main method starts in order to serialize the object correctly:
does that work for you? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to implement parallelization via multiprocessing.Pool and ThreadPool. The ThreadPool works for my problem, but multiprocessing.Pool did not. Can you pls help?
Below is the code:
No issue with
Bur when using
I get the error:
Beta Was this translation helpful? Give feedback.
All reactions