Ask Your Question
0

multiprocessing.Pool does not work

asked 6 years ago

epimetheus gravatar image

updated 6 years ago

FrédéricC gravatar image

Hi,

when trying to run SM_black_hole_rendering.ipynb with sagemanifols

https://nbviewer.jupyter.org/github/s...

the cell 28 does not execute well

Process PoolWorker-1: Traceback (most recent call last): File "/Applications/SageMath-8.7.app/Contents/Resources/sage/local/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() ...

Can anyone help ?

Thank you

Epi

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 6 years ago

eric_g gravatar image

Unfortunately, this is a known issue: multiprocessing is broken on Mac OS...

Preview: (hide)
link

Comments

Thank you !

epimetheus gravatar imageepimetheus ( 6 years ago )

In Windows it is broken too!

danielvolinski gravatar imagedanielvolinski ( 6 years ago )

@danielvolinski It's not broken in windows, but I would recommend running it without maxtasksperchild.

Iguananaut gravatar imageIguananaut ( 6 years ago )

Is there a workaround for this? Can I use multiprocess instead of multiprocessing?`

mn124700 gravatar imagemn124700 ( 0 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 6 years ago

Seen: 928 times

Last updated: Apr 12 '19