Hi Xavier,
I have now created an issue for this on Github:
https://github.com/nest/nest-simulator/issues/3099
But there is another problem with your approach: Even if the code worked with MPI, you
would only collect the weights of the connections local to each MPI rank on that rank
(i.e., connections with targets on that rank). If normalization per target neuron is what
you want, this is fine, if you wanted to normalize all outgoing synapses of a neuron, this
would be pretty much impossible when using MPI.
Best,
Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser
Department of Data Science
Faculty of Science and Technology
Norwegian University of Life Sciences
PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560
Email hans.ekkehard.plesser@nmbu.no<mailto:hans.ekkehard.plesser@nmbu.no>
Home
http://arken.nmbu.no/~plesser
From: Xavier Otazu <xotazu(a)cvc.uab.cat>
Date: Wednesday, 7 February 2024 at 16:36
To: users(a)nest-simulator.org <users(a)nest-simulator.org>
Subject: [NEST Users] Re: Weights assignment error with mpirun
[Du mottar ikke ofte e-post fra xotazu(a)cvc.uab.cat. Finn ut hvorfor dette er viktig p?
https://aka.ms/LearnAboutSenderIdentification ]
Hi!
I used 2 and 64 number of processes.
An update ... the problem disappears when using
"nest.SetStatus(conn,'weight',w_nparray)" instead of the direct
assignment "conn.weight=w_nparray". In addition, it also hangs when using
"conn.set()"
Xavier
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org