[mpich-discuss] How codes are distributed?

Pavan Balaji balaji at mcs.anl.gov
Tue Oct 25 07:46:22 CDT 2011


[please keep mpich-discuss cc'ed.]

Well, you couldn't have done a direct configure, because in the default 
configure mpd won't even be built.

My guess is that you are using the wrong mpiexec. I'll need to know how 
exactly you installed mpich2.

  -- Pavan

On 10/25/2011 07:21 AM, Jierui XIE wrote:
> I just installed the MPICH2-1.4.1 on my Ubuntu. I did not make special
> configurations but
> it works when I tested the mpd(as in the install guide) and run simple codes.
>
> Since Hydra is the "default" process manager, I want to see how it
> work. So I tried
>
> 1. mpiexec -f mpihosts.txt(just 2 machines names) -n 2 /bin/hostname
>
> ==>  it showed the help information. Looks like -f is not suppored.
>
> 2.  mpiexec -machinefile mpihosts.txt -n 2 /bin/hostname
> ==>  it showed no mpd is up.
>      But do I need to start the mpd here?? (this what confused me,
> since  Hydra is the "default" manager)
>
>
> Thanks
> Jerry
>
> On Tue, Oct 25, 2011 at 7:14 AM, Pavan Balaji<balaji at mcs.anl.gov>  wrote:
>> Hello,
>>
>> On 10/24/2011 10:09 PM, Jierui XIE wrote:
>>>
>>> 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
>>
>> What error are you seeing? How did you configure MPICH2?
>>
>>   -- Pavan
>>
>> --
>> Pavan Balaji
>> http://www.mcs.anl.gov/~balaji
>>

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list