[mpich-discuss] MPID_nem_tcp_init(377)... gethostbyname failed, mac (errno 1)

l.cebamanos l.cebamanos at epcc.ed.ac.uk
Sat Mar 1 13:40:20 CST 2014


Well, is not fixed. Its just the one I got here, but it changes. Any ideas of how to fix this?

-------- Original message --------
From: Reuti <reuti at staff.uni-marburg.de> 
Date:01/03/2014  17:38  (GMT+00:00) 
To: discuss at mpich.org 
Subject: Re: [mpich-discuss] MPID_nem_tcp_init(377)... gethostbyname failed,
 	mac (errno 1) 

Am 01.03.2014 um 17:58 schrieb Luis Cebamanos:

> Here it is the output of those commands:
> 
> lcebaman at mac~/$ nslookup localhost
> Server:	 192.168.1.1
> Address:	192.168.1.1#53
> 
> Name:	localhost
> Address: 127.0.0.1
> 
> lcebaman at mac~/$ nslookup mac
> Server:	 192.168.1.1
> Address:	192.168.1.1#53
> 
> Name:	mac
> Address: 192.168.1.127

Is this a fixed address you get everytime? You could add it to /etc/hosts.

Interesting that MPICH throws an error about resolving "mac", although DNS is working.

-- Reuti


> lcebaman at mac~/$ hostname
> mac
> 
> 
> 
> 
> On 28 Feb 2014, at 23:35, Reuti <reuti at staff.uni-marburg.de> wrote:
> 
>> Am 28.02.2014 um 14:39 schrieb Luis Cebamanos:
>> 
>>> Hi Pavan,
>>> 
>>> Yes, that is the output:
>>> 
>>> $ cat /etc/hosts
>>> ##
>>> # Host Database
>>> #
>>> # localhost is used to configure the loopback interface
>>> # when the system is booting.  Do not change this entry.
>>> ##
>>> 127.0.0.1	localhost
>>> 255.255.255.255	broadcasthost
>>> ::1             localhost
>>> fe80::1%lo0	localhost
>> 
>> What is the output of:
>> 
>> $ nslookup localhost
>> $ nslookup mac
>> $ hostname
>> 
>> AFAICS your machine has no domainname, otherwise it would show up in the MPICH error message after "mac".
>> 
>> -- Reuti
>> 
>> 
>>> On 28/02/14 13:35, Balaji, Pavan wrote:
>>>> $ cat /etc/hosts
>>>>>> ##
>>>>>> # Host Database
>>>>>> #
>>>>>> # localhost is used to configure the loopback interface
>>>>>> # when the system is booting.  Do not change this entry.
>>>>>> ##
>>>>>> 127.0.0.1	localhost
>>>>>> 255.255.255.255	broadcasthost
>>>>>> ::1             localhost
>>>>>> fe80::1%lo0	localhost
>>> 
>>> 
>>> -- 
>>> The University of Edinburgh is a charitable body, registered in
>>> Scotland, with registration number SC005336.
>>> 
>>> _______________________________________________
>>> discuss mailing list     discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>> 
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
> 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140301/83a28a08/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140301/83a28a08/attachment.ksh>


More information about the discuss mailing list