Hi Xavier,
Thanks for the update, and it is great that you found a temporary workaround. I have been
able to reproduce the bug but not locate it yet. I have created an issue for the bug here:
https://github.com/nest/nest-simulator/issues/2629
Best,
Nicolai
________________________________
From: Xavier Otazu <xotazu(a)cvc.uab.cat>
Sent: 02 March 2023 12:07
To: users(a)nest-simulator.org <users(a)nest-simulator.org>
Subject: [NEST Users] Re: Coredump with DumpLayerConnections
[You don't often get email from xotazu(a)cvc.uab.cat. Learn why this is important at
https://aka.ms/LearnAboutSenderIdentification ]
Nicolay,
I avoid the problem by copying the synapse model to a new one. That is, the following code
works fine for me. It is a bit convoluted to perform a copy and a rename for every
connection.
Thanks a lot in advance!
Xavier
-----
import nest
pos = nest.spatial.grid(shape = [3,3] )
input = nest.Create('iaf_psc_alpha', positions=pos)
layer_0 = nest.Create('iaf_psc_alpha', positions=pos)
layer_1 = nest.Create('iaf_psc_alpha', positions=pos)
conn_neur = {'rule':'pairwise_bernoulli', 'use_on_source': True,
'mask': {'grid':{'shape':[3,3]}} }
nest.CopyModel('static_synapse', 'syn_1_model')
syn_0 = {'synapse_model': 'static_synapse'}
syn_1 = {'synapse_model': 'syn_1_model'}
nest.Connect(input, layer_0, conn_neur, syn_0)
nest.Connect(input, layer_1, conn_neur, syn_1)
nest.DumpLayerConnections(input, layer_0, 'static_synapse', 'conn.txt')
nest.DumpLayerConnections(input, layer_1, 'syn_1_model', 'conn.txt')
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org