Ask Your Question
0

multiprocessing.Pool does not work

asked 2019-04-12 12:50:35 -0500

epimetheus gravatar image

updated 2019-04-13 01:04:19 -0500

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 13:45:10 -0500

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 14:26:19 -0500 )edit

In Windows it is broken too!

danielvolinski gravatar imagedanielvolinski ( 2019-04-14 03:08:34 -0500 )edit

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

Iguananaut gravatar imageIguananaut ( 2019-04-15 08:26:56 -0500 )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 12:50:35 -0500

Seen: 46 times

Last updated: Apr 12