raysect / source

The main source repository for the Raysect project.
http://www.raysect.org
BSD 3-Clause "New" or "Revised" License
86 stars 23 forks source link

Patch MulticoreEngine and setup.py to support multiprocessing with Python 3.8+ in macOS. #376

Closed vsnever closed 3 years ago

vsnever commented 3 years ago

This patch fixes #375 by setting the start method for child processes to 'fork' in setup.py and by adding the start method as a parameter of MulticoreEngine with 'fork' as a default start method.

CnlPepper commented 3 years ago

I'm not going to merge this immediately as I'd like to test it properly first. If I've not done so within the next week, nag me. I'm a bit tired up with some other work at present.