Hi Benjamin

I have updated the docker image with NEST 2.18.0 ( the 'latest' image will follow in the next days).
Please download/update with:

   docker pull nestsim/nest:2.18.0

Go to the folder with your MUSIC scripts and start the container:

    docker run -it --rm -e LOCAL_USER_ID=`id -u $USER` -v $(pwd):/opt/data nestsim/nest:2.18.0 /bin/bash
   
You are now in the shell of the container. Here you can execute the example program

    mpirun -np 2 music /opt/data/minimalmusicsetup.music


So far I have only tested this simple example (minimalmusicsetup.music) on a Mac.  It would be nice to know if this is a usable workflow for you and and if other, more realistic applications are possible.

In order to achieve the greatest flexibility in dealing with NEST and MUSIC, a standard installation from source code is recommended.


A small note:
The example in the documentation is not up to date. Please use 'nest.ll_api.sli_run' and 'nest.ll_api.spp' instead of 'nest.sli_run' and 'nest.spp'.
I will adjust this soon in the docs.

Best

Steffen

Am 08.10.19 um 09:56 schrieb Benjamin Staude:
Hi there,

I tried to run the basic example from https://nest-simulator.readthedocs.io/en/latest/guides/using_nest_with_music.html in the docker environment of NEST (https://github.com/nest/nest-docker) on my OSX host. 
To be precise, I create the files minimalmusicsetup.music, minimalmusicsetup_sendnest.py and minimalmusicsetup_receivenest.py in the root directory (~/nest-docker) of the host system, and then called mpirun -np 2 music minimalmusicsetup.music from within docker.

The output was:

MUSIC: Unable to determine process rank.
MUSIC: Did you launch music using mpirun?
MUSIC: If so, check the comments about porting in README.
-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
MUSIC: Unable to determine process rank.
MUSIC: Did you launch music using mpirun?
MUSIC: If so, check the comments about porting in README.
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

 Process name: [[46746,1],0]
 Exit code:    1

Can anyone help?

Thanks in advance,
Benjamin

 -- -- -- 
Dr. Benjamin Staude  |  Paul-Lincke-Ufer 7  |  10999 Berlin  |  benjamin.staude@gmail.com


_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org

-- 
Steffen Graber

SimLab Neuroscience
Division HPC in Neuroscience
Jülich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Jülich GmbH
E-mail: s.graber@fz-juelich.de <mailto:s.graber@fz-juelich.de>
Phone:  +49 2461 61 85457 
http://www.fz-juelich.de/ias/jsc

Institute of Neuroscience and Medicine (INM-6)
Computational and Systems Neuroscience &
Institute for Advanced Simulation (IAS-6)
Theoretical Neuroscience &
JARA Institute Brain Structure-Function Relationships (INM-10)
Forschungszentrum Jülich GmbH
http://www.csn.fz-juelich.de