LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Giulio Malinverno (giulio.malinverno_at_[hidden])
Date: 2004-12-17 03:05:32


Fernando Robles Morales wrote:
> whose correspond:
>
> while the program mpirun run, it's written an error:
>
> bash-2.05a$ mpirun -np 4 ./hola
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>
> i want to know which is the problem, and how to solve it!!
> what should I do?
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
>
If the program "hola" is compiled with mpicc (and uses MPI_INIT,
MPI_FINALIZE, etc...), to start it with:

mpirun -np 4 hola

(remember to start LAM daemon, with lamboot)

G. Malinverno

-- 
#
# Republic SpaceWorks, Inc.
#
# via Avignone 47, 22100 Como (CO)
# Tel. +39031309678
#