[MPICH] DHCP assigned IP addresses and hostnames?

Ralph Butler rbutler at mtsu.edu
Thu Nov 16 14:32:35 CST 2006


I believe the following demos what you want.
--ralph

(rmbmac:78) % mpd --ifhn=127.0.0.1 &
[1] 26620
(rmbmac:79) % mpdtrace  -l
rmbmac.cs.mtsu.edu_52052 (127.0.0.1)
(rmbmac:80) % mpiexec  -n 1 hostname
rmbmac.cs.mtsu.edu

On ThuNov 16, at Thu Nov 16 1:32PM, Steve Kargl wrote:

> I've set up mpich2 on a colleagues duo-core opteron laptop
> so that he can do some development before moving to the
> cluster.  His laptop gets an IP address assigned by DHCP
> and his hostname is not a fully qualified domain name.
>
> I can tell him to update mpd.hosts with the current IP
> address upon each reboot, but I haven't found a way to
> get around this:
>
> alien-mobile:fcurra[203] mpdboot
> mpdboot_alien-mobile.apl.washington.edu (handle_mpd_output 388):  
> from mpd on alien-mobile.apl.washington.edu, invalid port info:
> mpd failed: gethostbyname_ex failed for alien- 
> mobile.apl.washington.edu
>
> Is there some way to tell MPICH2 to use localhost and the 127.0.0.1
> address?
>
> -- 
> Steve
>




More information about the mpich-discuss mailing list