I'm trying to get neuron working with mpi on an dual 4-core Intel (ubuntu 7.04). I'm using today's trunk from svn. It compiles nicely, and src/parallel/test0.hoc runs without errors. But test1.hoc crashes:
Code: Select all
:~/sims$ mpirun -np 2 nrniv -mpi src/parallel/test1.hoc
numprocs=2
NEURON -- VERSION 6.1.929 (1844) 2007-09-01
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2007
See http://www.neuron.yale.edu/credits.html
0
oc: Resource temporarily unavailable
0 neuron/nrn/x86_64/bin/nrniv: errno set during call of ParallelContext[0].submit
0 in src/neuron/nrn/src/parallel/test1.hoc near line 16
0 }
^
oc: Resource temporarily unavailable
0 neuron/nrn/x86_64/bin/nrniv: errno set during call of ParallelContext[0].submit
0 in src/neuron/nrn/src/parallel/test1.hoc near line 16
1 unpack size=100 upkpos=12 type[0]=99625888 datatype=-1808921696 type[1]=1 count=1
0 ^
nrniv: bbsmpipack.c:42: unpack: Assertion `type[0] == datatype' failed.
oc: Resource temporarily unavailable
0 neuron/nrn/x86_64/bin/nrniv: errno set during call of ParallelContext[0].submit
0 in src/neuron/nrn/src/parallel/test1.hoc near line 16
0 ^
oc: Resource temporarily unavailable
0 neuron/nrn/x86_64/bin/nrniv: errno set during call of ParallelContext[0].submit
0 in src/neuron/nrn/src/parallel/test1.hoc near line 16
0 ^
oc: Resource temporarily unavailable
No more errno warnings during this execution
0 neuron/nrn/x86_64/bin/nrniv: errno set during call of ParallelContext[0].submit
0 in src/neuron/nrn/src/parallel/test1.hoc near line 16
0 ^
errno set 10 times on last execution
0 unpack size=100 upkpos=12 type[0]=99625888 datatype=99625888 type[1]=1 count=1
nrniv: bbsmpipack.c:42: unpack: Assertion `type[0] == datatype' failed.
-----------------------------------------------------------------------------
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.
PID 32573 failed on node n0 (127.0.0.1) due to signal 6.
-----------------------------------------------------------------------------
Code: Select all
:~/sims$ nrniv -mpi src/parallel/test1.hoc
numprocs=1
NEURON -- VERSION 6.1.929 (1844) 2007-09-01
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2007
See http://www.neuron.yale.edu/credits.html
0
0 unpack size=100 upkpos=12 type[0]=1969515424 datatype=1969515424 type[1]=1 count=1
nrniv: bbsmpipack.c:42: unpack: Assertion `type[0] == datatype' failed.
Aborted (core dumped)
Thanks in advance!