[mpich-discuss] MPID_nem_tcp_init(377)... gethostbyname failed, mac (errno 1)
Reuti
reuti at staff.uni-marburg.de
Sat Mar 1 11:38:12 CST 2014
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
More information about the discuss
mailing list