Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpikeSourcePoisson: Crash on rate change (neuron backend) #784

Open
uvest opened this issue Aug 3, 2023 · 0 comments
Open

SpikeSourcePoisson: Crash on rate change (neuron backend) #784

uvest opened this issue Aug 3, 2023 · 0 comments

Comments

@uvest
Copy link

uvest commented Aug 3, 2023

I hope this is the right place to report this... sorry if not.

I am using neuron as the backend.
When setting the rate of a SpikeSourcePoisson population the simulation crashes. This seems to be independent of what the initial value of the rate was.
Find a minimum crashing example here:

import pyNN.neuron as sim

pop = sim.Population(size=1, cellclass=sim.SpikeSourcePoisson, cellparams={'rate' :5})

# This line crashes:
pop.set(rate=50)

When executed in a jupyter notebook, the kernel crashes. When executed from bash it throws the following error.

Assertion failed: nt && nt >= nrn_threads && nt < (nrn_threads + nrn_nthread), file D:/a/1/s/src/nrncvode/netcvode.cpp, line 737

System information:

  • Python 3.10.11
  • Windows 11

Error also occurrs when executing the example A demonstration of the use of callbacks to vary the rate of a SpikeSourcePoisson from the docs.
Error seems similar to issue #650 so maybe this is related to the backend.
Or it's just me overlooking something...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant