Issue with parallelization via multiprocessing.Pool #569
Unanswered
WeilinDeng
asked this question in
Q&A
Replies: 3 comments 4 replies
|
I copied this from the tutorial here: https://pymoo.org/problems/parallelization.html#Processes Does this resolve the issue? |
1 reply
|
For |
2 replies
|
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? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
All reactions