-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hello, I tried to use a SpikeGeneratorGroup as input in my Brian2genn (version= 1.6) simulation. But, I got an error. So, I tried to run a simple script to test if the SpikeGeneratorGroup was actually working. As a result, I also got an error with the simple script. On my computer, I can run the simulation using Brian2 (version = 2.5.0.3, device = cpp_standalone) , and I can even run simulations in Brian2genn if I do not use any SpikeGeneratorGroup.
Note: I am running the simulations in an Ubuntu 18.4 WSL on Windows 10.
This is the code of the simple simulation:
from brian2 import *
import brian2genn
set_device('genn', directory='simple_spikesource', use_GPU=False, debug=True)
G = NeuronGroup(10, 'v:1')
indices = np.array([3, 2, 1, 1, 4, 5])
times = np.array([6, 5, 4, 3, 3, 1]) * ms
SG = SpikeGeneratorGroup(10, indices, times)
S = Synapses(SG, G, on_pre='v+=1')
S.connect(i = 0, j=0)
run(7*ms)
I am attaching the error message in a txt file. I do not understand the error message. I hope you can help me to guess what could be the problem.