Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix parallelism for osx #499

Merged

Conversation

yfarjoun
Copy link
Contributor

The defaults of multiprocessing are platform dependent, and the defaults for OSX and windows are different from those of unix. Furthermore, the code is currently written and tested assuming the "fork" (versus "spawn") method of creating new threads, and running the code on OSX leads to exceptions (see #498)

This PR simply changes the start-method to use "fork" which resolves the issue (for me)

closes #498

@hermannromanek hermannromanek self-assigned this Aug 13, 2024
@hermannromanek hermannromanek added this to the 2.5 milestone Aug 13, 2024
@hermannromanek hermannromanek merged commit a4af992 into fritzsedlazeck:master Aug 13, 2024
@yfarjoun yfarjoun deleted the fix_parallellism_on_osx branch August 13, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't run _any_ version > 2.2 without an Exception.
3 participants