You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it's not a bug, but it's definitively unexpected: network simulations with long timesteps and long simulation time take much longer than such with short timesteps and short simulation time, even though the network does not produce spikes. I've found this to occur for network models with and without synaptic plasticity. In the trivial case where all synapses are removed, everything seems to run as expected.
The behavior can be reproduced with the code provided here (without plasticity). The file set_arbor_env will have to be adapted to the specific Arbor installation. The script build_and_run_net_test should run three simulations with short, medium, and long timesteps, respectively, on a single CPU core. On my local machine, I get the following output:
I've been using Arbor version 0.6.1-dev, state of commit 8af6bd2 (including SDE computation as of commit 5d141aa, but don't know if that makes any difference for the given example).
The text was updated successfully, but these errors were encountered:
For the record: Unfortunately, the suggestion by @schmitts doesn't solve the whole issue. We've found that there might be a general issue with long timesteps: 1. Arbor uses interpolation for computing exact spike times even for long time steps; 2. the stochastic solver is based on the Euler-Maruyama method, which does not converge if timesteps become too large. We will now try to implement an exchange of mechanisms for computing long timesteps with the sparse solver, and at the same suppress spike computation (which is not necessary then).
I could solve the (additional) problem mentioned in my last post by using the workaround suggested above by @schmitts and exchanging the mechanism/recipe such that the stochastic solver is used for short timesteps and the sparse solver for long timesteps.
Regarding the general issue: it hasn't changed with the fixed-dt feature, presumably because here the update steps still depend on the synaptic delay by t_interval_ = min_delay()/2;.
Maybe it's not a bug, but it's definitively unexpected: network simulations with long timesteps and long simulation time take much longer than such with short timesteps and short simulation time, even though the network does not produce spikes. I've found this to occur for network models with and without synaptic plasticity. In the trivial case where all synapses are removed, everything seems to run as expected.
The behavior can be reproduced with the code provided here (without plasticity). The file
set_arbor_env
will have to be adapted to the specific Arbor installation. The scriptbuild_and_run_net_test
should run three simulations with short, medium, and long timesteps, respectively, on a single CPU core. On my local machine, I get the following output:short:
medium:
long:
I've been using Arbor version 0.6.1-dev, state of commit 8af6bd2 (including SDE computation as of commit 5d141aa, but don't know if that makes any difference for the given example).
The text was updated successfully, but these errors were encountered: