LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Blair Christian (blairc_at_[hidden])
Date: 2003-05-21 17:09:29


I'm running a 4 processor sun machine with solaris 9. It actually has
the SUN hpc library (mpi stuff) installed. I'm using a high end package
that uses lam, and I get the following message from lam. lamboot works
fine, mpcc works fine (it's a simple program that just prints out hello
world from each processor), but then there seems to be a conflict with
sun's mprun. I decided to run the test suite to duplicate the errors
there (they compile fine but all throw the same error):

It seems that [at least] one of 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.
-----------------------------------------------------------------------------
a.out: TMRTE_Init: Cannot initialize: the program must be started by
mprun.: Invalid request
[unknown MPI_COMM_WORLD unknown] ERROR in MPI_Init: unclassified error:
RTE_Init_lib: Cannot initialize: the program must be started by mprun.:
Invalid request
Fatal error, aborting.
a.out: TMRTE_Init: Cannot initialize: the program must be started by
mprun.: Invalid request
[unknown MPI_COMM_WORLD unknown] ERROR in MPI_Init: unclassified error:
RTE_Init_lib: Cannot initialize: the program must be started by mprun.:
Invalid request
Fatal error, aborting.
-----------------------------------------------------------------------------

Blair