nest-simulator icon indicating copy to clipboard operation
nest-simulator copied to clipboard

Create() does not work MPI-parallel with arrays of parameter values

Open heplesser opened this issue 3 months ago • 2 comments

The following should work

mpirun -np 2 python -c 'import nest; nest.Create("iaf_psc_alpha", 4, {"V_m": [-77.0, -66.0, -77.0, -66.0], "tau_m": [10.0, 11.0, 12.0, 13.0]})'

but causes strange type errors both with master and pynest-ng. It works when run with just a single process. I suspect the problem lies in the Python interface that somehow manipulates the dictionary content.

heplesser avatar Sep 26 '25 12:09 heplesser

Yeah you are right, the Create function doesn't handle the case when there are non-local nodes, it forwards the array as it is. I assume non-local means Proxy nodes, right?

And I am on it!

med-ayssar avatar Sep 27 '25 16:09 med-ayssar

Issue automatically marked stale!

github-actions[bot] avatar Nov 27 '25 08:11 github-actions[bot]