[mpich-discuss] Error in the mpdboot step

Pavan Balaji balaji at mcs.anl.gov
Wed Feb 3 10:43:31 CST 2010


Can you try the following:

% mpiexec.hydra -f mpd.hosts -n 2 hostname

 -- Pavan

On 02/03/2010 03:24 AM, Prashantha Hebbar wrote:
> Hi Pavan,
> 
> I added new user with name mlscub1 to mlscub2-desktop and copied mpi-install
> to the same. Then, did ssh-keygen as well. Still I find the same error.
> 
> mlscub1 at mlscub1-desktop:~$ mpdboot -n 2 -f mpd.hosts
> unable to obtain IP for host: mlscub1 at mlscub1-desktop.local
> unable to obtain IP for host: mlscub1 at mlscub2-desktop.local
> totalnum=2  numhosts=1
> there are not enough hosts on which to start all processes
> 
> Should I make any changes in any other file, other than /etc/hosts?
> 
> Regards,
> Prashantha
> 
> 
> -----Original Message-----
> From: mpich-discuss-bounces at mcs.anl.gov
> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pavan Balaji
> Sent: Wednesday, February 03, 2010 1:03 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] Error in the mpdboot step
> 
> 
> On 02/03/2010 01:29 AM, Prashantha Hebbar wrote:
>> Yes, one with ssh mlscub1 at mlscub1-desktop.local and other with ssh
>> mlscub2 at mlscub2-desktop.local
> 
> Ah. This can be problematic. It's recommended that you have a common
> setup on both machines. That is, same user names, and directory
> structure exporting the MPICH2 installation and executable in a common
> location.
> 
> Most folks typically use a shared filesystem (such as NFS) which gives a
> common view of everything on all machines.
> 
>  -- Pavan
> 

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


More information about the mpich-discuss mailing list