How to stop a simulation from within a nmodl mechanism?
Posted: Wed Oct 25, 2006 9:50 am
Hi,
I'm running quite long simulations, in batch, doing something like a parameter search. Some (if not many) of the simluations I don't want to run until the end, because I know that something is going wrong. However, when I am not there, there is no way that neuron realize it, stop the simulation and proceed with the next one.... or there is?
I already have figured out how to decide that the simulation should be stopped. With a few modifications of the APCount point process (which I am already using) I can evaluate wether the 'stop criteria' is fulfilled. But, how do I tell neuron to actually stop the simulation? Is there such a command in nmodl?
Suggestion on any other way to do this (within the hoc code, for example) will also be appreciated.
Regards.
I'm running quite long simulations, in batch, doing something like a parameter search. Some (if not many) of the simluations I don't want to run until the end, because I know that something is going wrong. However, when I am not there, there is no way that neuron realize it, stop the simulation and proceed with the next one.... or there is?
I already have figured out how to decide that the simulation should be stopped. With a few modifications of the APCount point process (which I am already using) I can evaluate wether the 'stop criteria' is fulfilled. But, how do I tell neuron to actually stop the simulation? Is there such a command in nmodl?
Suggestion on any other way to do this (within the hoc code, for example) will also be appreciated.
Regards.