LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: McCalla, Mac (macmccalla_at_[hidden])
Date: 2009-09-29 10:29:15


Hi,
 
You can run multiple different programs in the same LAM universe by
using a schema file to describe their node assignment.
 
On a side note, if you are just beginning with mpi or LAM, I heartily
suggest you investigate Open-mpi instead. Lam is in maintenance mode
and all development has moved to other implementations. Open-MPI is the
successor to LAM and the user forum is quite active.
 
Regards,
 
Mac
Houston

________________________________

From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf
Of Papakorn Siwaborworn
Sent: Tuesday, September 29, 2009 8:42 AM
To: lam_at_[hidden]
Subject: LAM: How to run two programs in the same time with mpi

Hello,

now I use lam 7.1.4 and MPI to run my program. It is no problem if I
let only a program run.
The problem is starting whenever I use another program from another
directory. The second
program will make the first one stop with an error written as

 One of the process 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 code before exiting the
application.
 
 PID 9025 failed on node n0 (127.0.0.1) with exit status 1

For the command that I let mpi run is

mpirun -np 4 ./my_program &

Do I need more option about this command or what should I do to run two
programs in a same time?
Please help me! Thanks in advance.

Papakorn