[mpich2-dev] running mpich2 single pc dual core machine

Darius Buntinas buntinas at mcs.anl.gov
Fri Jul 11 14:51:21 CDT 2008


You only need one mpd running per host.  Once you start mpd,
   mpiexec -n 2 ./myjob
will start two processes on the same host.
-d

On 07/11/2008 02:47 PM, Alexandre Souza wrote:
> Hi,
> I am confused.. So there is no advantage in using mpich2 in a single pc 
> dual core machine ?
> Thanks,
> Alex
> 
> On 7/11/08, *Rajeev Thakur* <thakur at mcs.anl.gov 
> <mailto:thakur at mcs.anl.gov>> wrote:
> 
>     On a single PC, you just need to do "mpd &". Only a single mpd
>     daemon is needed for all processes on that machine.
>      
>     Rajeev
> 
>         ------------------------------------------------------------------------
>         *From:* owner-mpich2-dev at mcs.anl.gov
>         <mailto:owner-mpich2-dev at mcs.anl.gov>
>         [mailto:owner-mpich2-dev at mcs.anl.gov
>         <mailto:owner-mpich2-dev at mcs.anl.gov>] *On Behalf Of *Alexandre
>         Souza
>         *Sent:* Friday, July 11, 2008 9:46 AM
>         *To:* mpich2-dev at mcs.anl.gov <mailto:mpich2-dev at mcs.anl.gov>
>         *Subject:* [mpich2-dev] running mpich2 single pc dual core machine
> 
>         Hi All,
> 
>         I have one question regarding running 2 processes in a single pc
>         dual core machine:
> 
>         if I have two (one core) pcs I start the mpich with : mpdboot -n
>         2 -f ~/mpd.hosts
> 
>         with mpd.hosts contents: node0
> 
>                                               node1
> 
>         How can I use mpdboot in a single pc with dual core in order to
>         have the same effect above.
> 
>         Is using : mpdboot -n 1 ~/mpd.hosts -ncpus=2 a correct approach ?
> 
>          (in the last case mpd.hosts contents is just : node0).
> 
>         Any comment would be very helpful.
> 
>         Alex
> 
> 




More information about the mpich2-dev mailing list