LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2004-09-21 13:01:20


You should be able to do:

mpiexec c0 prog0 : c1 prog1 : c2 prog2 ....

The cX value will automatically be "wrapped" by LAM if you go over the
total number of CPU's.

On Sep 21, 2004, at 12:52 PM, David Cox wrote:

> I need to launch several MPI programs in the same
> MPI_COMM_WORLD, but only one copy of each. Is there a
> way to do this and still take advantage of LAM's
> scheduling for which CPU each process is on? Right
> now mpiexec -n 1 prog1 : -n1 prog2 : .... etc will
> launch all processes on my first host.
>
> I realize that I can specify hosts and whatnot in an
> app schema, but the number of process will vary, and I
> would rather have LAM parse my hostfile and
> distributed processes acccordingly. Any tips would be
> great appreciated.
>
> -Dave Cox
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/