micom-dev / micom

Python package to study microbial communities using metabolic modeling.
https://micom-dev.github.io/micom
Apache License 2.0
82 stars 17 forks source link

Switch the multiprocessing default method to spawn #166

Closed cdiener closed 2 months ago

cdiener commented 3 months ago

Checklist

Is your feature related to a problem? Please describe it.

There are repeated problems with processes not returning, excessive memory usage, and Jupyter weirdness.

Describe the solution you would like.

We should test switching to spawn for all workflows. Hopefully, the overhead is not too bad.

Describe alternatives you considered

Forkserver did not perform much better. Deactivating parallel computing would not be popular.

Additional context

None.