Skip to content

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

@heplesser

Description

@heplesser

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I: No breaking changePreviously written code will work as before, no one should note anything changing (aside the fix)S: HighShould be handled nextT: BugWrong statements in the code or documentation

    Type

    No type

    Projects

    Status

    To do

    Status

    To do

    Status

    To do (open issues)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions