objref hoc_obj_[2] error

25 views
Skip to first unread message

Hananel Hazan

unread,
Apr 26, 2023, 12:36:48 PM4/26/23
to NetPyNE Q&A forum
Hello, 
I encounter an issue when running NetPyNE script:

Creating network of 4 cell populations on 1 hosts...
  Number of cells on node 0: 1668
  Done; cell creation time = 0.03 s.
Making connections...
  Number of connections on node 0: 0
  Done; cell connection time = 2.33 s.
  Number of stims on node 0: 0
  Done; cell stims creation time = 0.00 s.
Assertion failed: file /root/nrn/src/nrniv/netpar.cpp, line 1120
NEURON: iter != gid2out_.end()
 near line 0
 objref hoc_obj_[2]
                   ^
        ParallelContext[5].spike_record(0, ..., ...)
Traceback (most recent call last):
  File "/mnt/exDisk0/git_repo/BindsNET_DelayConnection/scripts/Surrogate/cells/supervised_mnist_Neuron.py", line 96, in <module>
    snn = intfnet.SNN(
  File "/mnt/exDisk0/git_repo/BindsNET_DelayConnection/scripts/Surrogate/cells/intfnet.py", line 91, in __init__
    sim.setupRecording() # setup variables to record for each cell (spikes, V traces, etc)
  File "/home/hananel/miniconda3/envs/delayW/lib/python3.10/site-packages/netpyne/sim/setup.py", line 449, in setupRecording
    sim.pc.spike_record(
RuntimeError: hocobj_call error



Does anyone know how to fix this?
Reply all
Reply to author
Forward
0 new messages