mpiexec error messages with test1.hoc

Moderator: wwlytton

Post Reply
ttpuff

mpiexec error messages with test1.hoc

Post by ttpuff »

I'm testing NEURON in our cluster with this code.

http://www.neuron.yale.edu/phpBB2/viewt ... 7ddbde59df

I got the error like this:

-> mpiexec -n 2 nrniv -mpi test1.hoc

Warning: no DISPLAY environment variable.
--No graphics will be displayed.
NEURON -- Release 6.0.1 (1780) 2007-06-12
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2007
See http://www.neuron.yale.edu/credits.html

dlopen("libjvm.so") failed: libjvm.so: cannot open shared object file: No such file or directory
JNI_CreateJavaVM returned -1
Info: optional feature Java VM is not present.
first instance of j
first instance of itmp
first instance of using_cvode_
first instance of movie_frame_dur_
first instance of realtime
first instance of running_
first instance of rtstart
first instance of stdrun_quiet
first instance of screen_update_invl
first instance of tstop
first instance of steps_per_ms
first instance of nstep_steprun
first instance of runStopAt
first instance of runStopIn
first instance of global_ra
first instance of mapped_nrnmainmenu_
first instance of v_init
first instance of n_graph_lists
first instance of i
first instance of eventslow
first instance of eventcount
first instance of cnt
first instance of a
My id: 0 a=1 time=0
My id: 0 a=1 time=100
-----------------------------------------------------------------------------
It seems that [at least] one of the processes that was started with
mpirun did not invoke MPI_INIT before quitting (it is possible that
more than one process did not invoke MPI_INIT -- mpirun was only
notified of the first one, which was on node n0).

mpirun can *only* be used with MPI programs (i.e., programs that
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program
to run non-MPI programs over the lambooted nodes.
-----------------------------------------------------------------------------
Warning: no DISPLAY environment variable.
--No graphics will be displayed.
mpirun failed with exit status 252

======================

mpirun failed with exit status 252? What's happen here? thanks.

I assumed that the error is not with this one,
dlopen("libjvm.so") failed: libjvm.so: cannot open shared object file: No such file or directory
hines
Site Admin
Posts: 1691
Joined: Wed May 18, 2005 3:32 pm

Post by hines »

Code: Select all

mpiexec -n 2 nrniv -mpi test1.hoc
Warning: no DISPLAY environment variable. 
I'm guessing you did not configure neuron with the --with-paranrn (or more restrictively, the --with-mpi) configuration option. The binary distributions are not linked to the mpi library. To use mpi you must install from the sources.
Post Reply