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

Reuti reuti at staff.uni-marburg.de
Mon Mar 3 08:54:15 CST 2014


Am 03.03.2014 um 11:29 schrieb Luis Cebamanos:

> I have also noticed that working without any internet connection does not work either.

Just for curiosity:

$ mpiexec -iface lo0 -n 4 ./foo

-- Reuti


> On 3 Mar 2014, at 09:53, Luis Cebamanos <l.cebamanos at epcc.ed.ac.uk> wrote:
> 
>> Hi there,
>> 
>> I’ve got more news. The last IP that I showed in my last email it turns out that works OKAY, however now that I am back to the office and working on the wireless, it does not work. And that is the result of nslookup:
>> 
>> lcebaman at mac~/Projects/SPRINT$ nslookup localhost
>> Server:		129.215.205.191
>> Address:	129.215.205.191#53
>> 
>> Name:	localhost.ed.ac.uk
>> Address: 127.0.0.1
>> 
>> lcebaman at mac~/Projects/SPRINT$ nslookup mac
>> Server:		129.215.205.191
>> Address:	129.215.205.191#53
>> 
>> ** server can't find mac: NXDOMAIN
>> 
>> Any thoughts?
>> 
>> Cheers,
>> Luis
>> 
>> On 1 Mar 2014, at 19:40, l.cebamanos <l.cebamanos at epcc.ed.ac.uk> wrote:
>> 
>>> 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
>>> 
>>> 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
>> 
>> 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
> 
> 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




More information about the discuss mailing list