Automatically stop Simulate() if update time becomes too long #2033
Labels
good first issue
Good for newcomers
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: Normal
Handle this with default priority
T: Enhancement
New functionality, model or documentation
Milestone
Is your feature request related to a problem? Please describe.
NEST simulations can slow down significantly if network activity becomes high, even more so if neuron models use adaptive-stepsize solvers. Currently, there is no way to interrupt this simulation except killing the entire NEST process.
Describe the solution you'd like
The user sets an upper limit for the duration of a single update time slice (length: minimum delay), e.g.,
to set a limit of 1 second wall-clock time for a single min-delay-length update step. If a step takes longer, simulation terminates.
Additional context
See also this mailing list discussion: https://www.nest-simulator.org/mailinglist/hyperkitty/list/users@nest-simulator.org/thread/FQ6VDQ7EDSSKRIHMMRETIAIXK43A5GCZ/
The text was updated successfully, but these errors were encountered: