Dear all,
I'm encountering the following error
python: /home/zbarni/software/packages/nest/znest/nestkernel/model_manager.h:296: nest::Model* nest::ModelManager::get_node_model(nest::index) const: Assertion `m < node_models_.size()' failed.
when using the following code:
nest.SetKernelStatus({'total_num_virtual_procs':16, 'local_num_threads':16}) nest.Install('my_neuron_module')
for iin range(16): nest.CopyModel('MyNeuron', f'MyNeuron_{i}')
neurons = nest.Create('MyNeuron_0', 2) nest.Connect(neurons, neurons)
The script uses a neuron model that I wrote in C++ and is loaded without errors. The error is thrown upon nest.Connect(), and goes away if I create the neurons using `MyNeuron` and not `MyNeuron_x` (copied) or if the #vp and #threads is 1. I've used the model with NEST 2.20.0 without problems, but I'd like to port the code to the latest version. Maybe I'm just missing something new functionality/API related to CopyModel and multiprocessing - have there been any critical changes in the model requirements?
Any help would be greatly appreciated.
Barni