[MPICH] one shot jobs in mpich2?

Benjamin Rutt rutt at bmi.osu.edu
Fri Jun 17 12:06:36 CDT 2005


"Ralph M. Butler" <rbutler at mtsu.edu> writes:

> You can start the mpd daemons on a set of machines.  Then, you can
> use the -machinefile option (or a set of -host options) to mpiexec
> to determine where the ranks for a given job are placed.  For
> example, you can start a ring of mpds on machines named:
> m1, m2, m3, m4, m5, m6
>
> Then you can run a job with this machinefile:
> m1
> m3
> m5
>
> like this:
>     mpiexec -machinefile mf -n 3 mypgm
>
> and the procs will run on the odd-numbered machines.
>
> Then, you put this into mf:
> m2
> m4
> m6
>
> and run again with the procs executing on the even machines.

Thank you for the idea, but I think this will not help me.  In
general, I cannot start up daemons on all possible hosts before I
begin (the hosts files are generated by another source, so I will not
have a comprehensive list in advance).
-- 
Benjamin




More information about the mpich-discuss mailing list