Ask Your Question
0

multiprocessing.Pool does not work

asked 2019-04-12 19:50:35 +0100

epimetheus gravatar image

updated 2019-04-13 08:04:19 +0100

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

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2019-04-12 20:45:10 +0100

eric_g gravatar image

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

edit flag offensive delete link more

Comments

Thank you !

epimetheus gravatar imageepimetheus ( 2019-04-12 21:26:19 +0100 )edit

In Windows it is broken too!

danielvolinski gravatar imagedanielvolinski ( 2019-04-14 10:08:34 +0100 )edit

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

Iguananaut gravatar imageIguananaut ( 2019-04-15 15:26:56 +0100 )edit

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

mn124700 gravatar imagemn124700 ( 2024-07-25 18:43:15 +0100 )edit

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: 2019-04-12 19:50:35 +0100

Seen: 750 times

Last updated: Apr 12 '19