[mpich-discuss] How codes are distributed?

Jierui XIE jierui.xie at gmail.com
Mon Oct 24 22:09:05 CDT 2011


Thanks. Got it. One more question:

It seems that the instruction at
http://wiki.mcs.anl.gov/mpich2/index.php/Using_the_Hydra_Process_Manager
is  out of date. Following it, I was not able to run with Hydra
(mpich2-1.4.1, although mpd runs well ) with neither of the following
two commands.

     mpiexec -f mpihosts.txt -n 2 /bin/hostname
     mpiexec -machinefile mpihosts.txt -n 2 /bin/hostname


Any hins? Thanks.




On Mon, Oct 24, 2011 at 6:10 PM, Darius Buntinas <buntinas at mcs.anl.gov> wrote:
>
> No, the executable needs to be accessible from every node before you call mpiexec, e.g., using a shared filesystem.  The process manager won't do that for you.
>
> -d
>
>
> On Oct 24, 2011, at 5:04 PM, Jierui XIE wrote:
>
>> Hello,
>>
>> I am confused by a simple question. Hope someone can give me some hints.
>> When run mpiexec -n x program,  I am assuming that  the MPI will
>> distribute x processes to multiple machines.
>>
>> Does it mean that one copy of the program would be copied to each machine??
>> Is this done by the process manager (e.g., mpd) on each machine?
>>
>>
>> Thanks.
>>
>> Jerry
>> _______________________________________________
>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>


More information about the mpich-discuss mailing list