[mpich-discuss] How codes are distributed?
Pavan Balaji
balaji at mcs.anl.gov
Thu Oct 27 22:10:34 CDT 2011
The information you gave below is not self-consistent.
The web URL gives a way to build an ancient version of MPICH2. Someone
should send those guys an email and ask them to delete that page -- it's
misguiding users more than helping them.
Did you use that webpage to build MPICH2 or did you do "apt-get
install"? Your email below says both, which doesn't make sense. apt-get
install should be sufficient.
If you do apt-get install, you should not have any of the mpd stuff.
-- Pavan
On 10/26/2011 11:23 AM, Jierui XIE wrote:
> I largely followed the instruction at
> https://help.ubuntu.com/community/MpichCluster
> which is for a older version MPICH2-1.0.5.
>
> I did NOT use the "make" to install, instead, I just used the apt-get
> command in Ubuntu as:
> sudo apt-get install mpich2
> I think it used the default the location and I can see
> dpkg -L mpich2
>
> /usr/share/mpich2
> /usr/share/mpich2/mpd.py
> /usr/share/mpich2/mpdallexit.py
> /usr/share/mpich2/mpiexec.py
> ....
> /usr/bin
> /usr/bin/mpdroot
> /usr/bin/pmi_proxy
> /usr/bin/mpiexec.gforker
> /usr/bin/mpiexec.hydra
> /usr/share/doc/mpich2/changelog.gz
> /usr/share/doc/mpich2/README.gz
> /usr/share/man/man1/mpirun.mpich2.1.gz
> /usr/share/mpich2/mpdrun.py
> /usr/share/mpich2/mpirun.py
> /usr/bin/mpd
> /usr/bin/mpdallexit
> /usr/bin/mpdboot
> /usr/bin/mpdcheck
> /usr/bin/mpdcleanup
> /usr/bin/mpdexit
> /usr/bin/mpdgdbdrv
> /usr/bin/mpiexec.mpich2
> /usr/bin/mpirun.mpich2
> ...
>
>
> I installed mpich2 on ALL machines.
> SHOULD I do that or just install it on one machine and share the
> folder with others using NFS??
>
> Maybe I should re-install mpich2 using make?
>
> Thanks.
>
> ------------------
> Jerry
>
> On Tue, Oct 25, 2011 at 8:46 AM, Pavan Balaji<balaji at mcs.anl.gov> wrote:
>>
>> [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
>>
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list