Hi everyone,
I am pretty new to MPI. I downloaded the MPICH 1.2.6 & am trying to
run the examples in there. I made the cpi.c in the basic examples
provided. When I try to run the program using the mpirun, i get the
error message saying that MPI_INIT could not be initialized. Here is
the output of the command
[srik_at_ws254 basic]$ mpirun -np 2 cpi
Process 0 of 1 on ws254.spsucluster.dyndns.org
pi is approximately 3.1415926544231341, Error is 0.0000000008333410
wall clock time = 0.002890
Process 0 of 1 on ws254.spsucluster.dyndns.org
pi is approximately 3.1415926544231341, Error is 0.0000000008333410
wall clock time = 0.002598
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
I do not know what this error means & how to correct it. Any help is
greatly appreciated.
Srikaran
--
950, Hudson Rd SE, # 606 A
Marietta, GA - 30060
Phone: 404-353-4352
Try not to become a man of success, but rather try to become a man of value.
Any fool can criticize, condemn, and complain - and most fools do.
The whole problem with the world is that fools and fanatics are always so
certain of themselves, but wiser people so full of doubts.
|