openworm / CElegansNeuroML

NeuroML based C elegans model, contained in a neuroConstruct project, as well as c302
http://opensourcebrain.org/projects/celegans
134 stars 53 forks source link

Sometimes nrniv tasks don't get terminated after CTRL+C #87

Open lungd opened 7 years ago

lungd commented 7 years ago

If I interrupt the optimizer at a certain point, multiple nrniv tasks remain running. A sigint handler at the right place should do the trick.

pgleeson commented 7 years ago

That's the expected behaviour, that the set of Neuron sims that have been set running will continue to completion and then exit. Or were you suggestion that they quit at the same time as the python script that set them running?

lungd commented 7 years ago

Sorry for the delay. I meant that the nrniv subprocesses can become zombies. At least with ubuntu and python27.