LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeremy Archuleta (archuleta_at_[hidden])
Date: 2003-09-20 22:09:56


The following will run the processes on certain machines, but those
machines are determined by your hosts file. n0 = the first machine in
the hosts file, n1= the second machine, etc.

             { process 0-4 } { process 5-11 } { the rest
                         }
mpirun n0 n0 n0 n0 n0 n1 n1 n1 n1 n1 n1 n1 n2 n3 n4 n5 n6 n7 n8 n9

I am sure that there is a more succinct way to run the processes, but
this works too.
-j

On Saturday, Sep 20, 2003, at 16:25 US/Pacific, Ming Wu wrote:

> Hi,
>
> I have a question. If I want to set up 20 processes for an application
> in a cluster with 10 machines, could I specify which process runs on
> which machine? For example, 0-4 processes running on machine-0, 5-11
> runing on machine-1, then the left 8 processes running on the left 8
> machines respectively.
>
> Thanks
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>