[mpich-discuss] how to declare ranks IDs on each machine?

ehsan saei ehsan.saei at gmail.com
Fri Apr 25 08:52:13 CDT 2014


Thanks for your guide. That solved my problem.


On Fri, Apr 25, 2014 at 3:17 PM, Lu, Huiwei <huiweilu at mcs.anl.gov> wrote:

> You can determine the rank order of your MPI processes in your
> machinefile. For example, if you create a machinefile like:
>
> machine1
> machine1
> machine1
> machine1
> machine2
> machine1
>
> Using ‘mpiexec -f machinefile -n 6 ./example/cpi’, then rank 0-3 and rank
> 5 will run on machine1, and rank 4 will run on machine2.
>
>> Huiwei Lu
> Postdoc Appointee
> Mathematics and Computer Science Division, Argonne National Laboratory
> http://www.mcs.anl.gov/~huiweilu/
>
> On Apr 25, 2014, at 2:42 AM, ehsan saei <ehsan.saei at gmail.com> wrote:
>
> > Dear all,
> >
> > I want to run my code on two machines and I want to declare rank IDs
> manually.
> > for example I want to rank=0 on machine 1 and rank= 4 on machine 2 and
> rank=5 on machine 1
> >
> > how can I do that?
> >
> > Thanks in advance,
> > Ehsan
> > _______________________________________________
> > discuss mailing list     discuss at mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140425/b21a1c8e/attachment.html>


More information about the discuss mailing list