[mpich-discuss] mpdboot fails

Darius Buntinas buntinas at mcs.anl.gov
Tue Aug 26 18:18:21 CDT 2008


I'm not sure mpdboot supports that scenario.  I believe mpd must be in 
the same location on all machines.  You can try adding it to your path 
on each machine.

Otherwise, you can start the mpds by hand:

   On one node start mpd in the background:
     /path/to/mpd &
   Then find the port number it's using:
     /path/to/mpdtrace -l
   It should output something like:
     iMac.local_37896 (127.0.0.1)

   On the other nodes start mpd and tell it where to connect:
     /path/to/mpd -h iMac.local -p 37896 &

   Now, mpdtrace should show you all of the nodes.

Hope this helps.

-d

On 08/26/2008 06:04 PM, Robert Kubrick wrote:
> I'm not clear on how --mpd works: I want to specify two different paths, 
> one for the local machine and one for the remote host (or possibly a 
> number of different remote hosts). Here it looks like I can only set one 
> path for all the hosts:
> 
> $ mpdboot --verbose --totalnum=2 --mpd=/usr/local/mpich2/bin/mpd --debug
> debug: starting
> running mpdallexit on iMac.local
> LAUNCHED mpd on iMac.local  via
> debug: launch cmd= /usr/local/mpich2/bin/mpd   --ncpus=1 -e -d
> debug: mpd on iMac.local  on port no_port
> mpdboot_iMac.local (handle_mpd_output 406): from mpd on iMac.local, 
> invalid port info:
> no_port
> 
> 
> $ mpdboot --verbose --totalnum=2 --debug
> debug: starting
> running mpdallexit on iMac.local
> LAUNCHED mpd on iMac.local  via
> debug: launch cmd= /opt/local/mpich2/bin/mpd.py   --ncpus=1 -e -d
> debug: mpd on iMac.local  on port 62629
> RUNNING: mpd on iMac.local
> debug: info for running mpd: {'ncpus': 1, 'list_port': 62629, 
> 'entry_port': '', 'host': 'iMac.local', 'entry_host': '', 'ifhn': ''}
> LAUNCHED mpd on wlaptop  via  iMac.local
> debug: launch cmd= ssh -x -n -q wlaptop '/opt/local/mpich2/bin/mpd.py  
> -h iMac.local -p 62629  --ncpus=1 -e -d'
> debug: mpd on wlaptop  on port no_port
> mpdboot_iMac.local (handle_mpd_output 406): from mpd on wlaptop, invalid 
> port info:
> no_port
> 
> 
> 
> 
> On Aug 25, 2008, at 2:20 PM, Rajeev Thakur wrote:
> 
>>> The path to mpd on 'wlaptop' is actually a different one than on
>>> iMac.local. How can I specify a different remote path for mpd?
>>
>> With the --mpd option to mpdboot.
>>
>> Rajeev
>>
>>> -----Original Message-----
>>> From: owner-mpich-discuss at mcs.anl.gov
>>> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Robert Kubrick
>>> Sent: Sunday, August 24, 2008 5:19 PM
>>> To: mpich-discuss at mcs.anl.gov
>>> Subject: [mpich-discuss] mpdboot fails
>>>
>>> mpdboot fails when I try to run with this command:
>>>
>>> # mpdboot --totalnum=2 --verbose -d               debug: starting
>>> running mpdallexit on iMac.local
>>> LAUNCHED mpd on iMac.local  via
>>> debug: launch cmd= /opt/local/mpich2/bin/mpd.py   --ncpus=1 -e -d
>>> debug: mpd on iMac.local  on port 61785
>>> RUNNING: mpd on iMac.local
>>> debug: info for running mpd: {'ncpus': 1, 'list_port': 61785,
>>> 'entry_port': '', 'host': 'iMac.local', 'entry_host': '', 'ifhn': ''}
>>> LAUNCHED mpd on wlaptop  via  iMac.local
>>> debug: launch cmd= ssh -x -n -q wlaptop '/opt/local/mpich2/bin/
>>> mpd.py  -h iMac.local -p 61785  --ncpus=1 -e -d'
>>> debug: mpd on wlaptop  on port no_port
>>> mpdboot_iMac.local (handle_mpd_output 406): from mpd on wlaptop,
>>> invalid port info:
>>> no_port
>>>
>>>
>>> The path to mpd on 'wlaptop' is actually a different one than on
>>> iMac.local. How can I specify a different remote path for mpd?
>>>
>>>
>>
> 




More information about the mpich-discuss mailing list