BlueBrain / BluePyOpt

Blue Brain Python Optimisation Library
https://bluepyopt.readthedocs.io/en/latest/
Other
198 stars 96 forks source link

make sure NEURON simulation runs are isolated #490

Open anilbey opened 6 months ago

anilbey commented 6 months ago

When NEURON simulation runs are not isolated, the results can get corrupted and memory not freed - leading to a larger memory usage.

This happened in https://github.com/BlueBrain/BluePyEModel/pull/111 when BPO processes were not isolated in tests using the --forked parameter. The tests failed as the simulation results were different. BPO should already guarantee that isolation. The systems depending on BPO cannot know it otherwise.

cc @AurelienJaquier @GianlucaFicarelli