<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div apple-content-edited="true">
<div>Hi Reuti,</div><div><br></div><div>I have done what you suggested and it WORKS with the wireless off</div><div><br></div><div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">lcebaman@mac~/$  mpiexec -iface lo0 -n 4 ./hello</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">Hello world from process 0 of 4</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">Hello world from process 3 of 4</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">Hello world from process 1 of 4</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">Hello world from process 2 of 4</div></div>

</div>
<div><br></div>What is the problem here then?<div><br></div><div>Cheers,</div><div>Luis<br><div><div>On 3 Mar 2014, at 14:54, Reuti <<a href="mailto:reuti@staff.uni-marburg.de">reuti@staff.uni-marburg.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Am 03.03.2014 um 11:29 schrieb Luis Cebamanos:<br><br><blockquote type="cite">I have also noticed that working without any internet connection does not work either.<br></blockquote><br>Just for curiosity:<br><br>$ mpiexec -iface lo0 -n 4 ./foo<br><br>-- Reuti<br><br><br><blockquote type="cite">On 3 Mar 2014, at 09:53, Luis Cebamanos <<a href="mailto:l.cebamanos@epcc.ed.ac.uk">l.cebamanos@epcc.ed.ac.uk</a>> wrote:<br><br><blockquote type="cite">Hi there,<br><br>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:<br><br>lcebaman@mac~/Projects/SPRINT$ nslookup localhost<br>Server:<span class="Apple-tab-span" style="white-space: pre;">     </span><span class="Apple-tab-span" style="white-space: pre;">  </span>129.215.205.191<br>Address:<span class="Apple-tab-span" style="white-space: pre;"> </span>129.215.205.191#53<br><br>Name:<span class="Apple-tab-span" style="white-space: pre;">       </span><a href="http://localhost.ed.ac.uk">localhost.ed.ac.uk</a><br>Address: 127.0.0.1<br><br>lcebaman@mac~/Projects/SPRINT$ nslookup mac<br>Server:<span class="Apple-tab-span" style="white-space: pre;">      </span><span class="Apple-tab-span" style="white-space: pre;">  </span>129.215.205.191<br>Address:<span class="Apple-tab-span" style="white-space: pre;"> </span>129.215.205.191#53<br><br>** server can't find mac: NXDOMAIN<br><br>Any thoughts?<br><br>Cheers,<br>Luis<br><br>On 1 Mar 2014, at 19:40, l.cebamanos <l.cebamanos@epcc.ed.ac.uk> wrote:<br><br><blockquote type="cite">Well, is not fixed. Its just the one I got here, but it changes. Any ideas of how to fix this?<br><br>-------- Original message --------<br>From: Reuti <reuti@staff.uni-marburg.de><span class="Apple-converted-space"> </span><br>Date:01/03/2014  17:38  (GMT+00:00)<span class="Apple-converted-space"> </span><br>To: discuss@mpich.org<span class="Apple-converted-space"> </span><br>Subject: Re: [mpich-discuss] MPID_nem_tcp_init(377)... gethostbyname failed,<br><span class="Apple-tab-span" style="white-space: pre;">    </span>mac (errno 1)<span class="Apple-converted-space"> </span><br><br>Am 01.03.2014 um 17:58 schrieb Luis Cebamanos:<br><br><blockquote type="cite">Here it is the output of those commands:<br><br>lcebaman@mac~/$ nslookup localhost<br>Server:<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-converted-space"> </span>192.168.1.1<br>Address:<span class="Apple-tab-span" style="white-space: pre;">      </span>192.168.1.1#53<br><br>Name:<span class="Apple-tab-span" style="white-space: pre;">   </span>localhost<br>Address: 127.0.0.1<br><br>lcebaman@mac~/$ nslookup mac<br>Server:<span class="Apple-tab-span" style="white-space: pre;">    </span><span class="Apple-converted-space"> </span>192.168.1.1<br>Address:<span class="Apple-tab-span" style="white-space: pre;">      </span>192.168.1.1#53<br><br>Name:<span class="Apple-tab-span" style="white-space: pre;">   </span>mac<br>Address: 192.168.1.127<br></blockquote><br>Is this a fixed address you get everytime? You could add it to /etc/hosts.<br><br>Interesting that MPICH throws an error about resolving "mac", although DNS is working.<br><br>-- Reuti<br><br><br><blockquote type="cite">lcebaman@mac~/$ hostname<br>mac<br><br><br><br><br>On 28 Feb 2014, at 23:35, Reuti <reuti@staff.uni-marburg.de> wrote:<br><br><blockquote type="cite">Am 28.02.2014 um 14:39 schrieb Luis Cebamanos:<br><br><blockquote type="cite">Hi Pavan,<br><br>Yes, that is the output:<br><br>$ cat /etc/hosts<br>##<br># Host Database<br>#<br># localhost is used to configure the loopback interface<br># when the system is booting.  Do not change this entry.<br>##<br>127.0.0.1<span class="Apple-tab-span" style="white-space: pre;">  </span>localhost<br>255.255.255.255<span class="Apple-tab-span" style="white-space: pre;">        </span>broadcasthost<br>::1             localhost<br>fe80::1%lo0<span class="Apple-tab-span" style="white-space: pre;"> </span>localhost<br></blockquote><br>What is the output of:<br><br>$ nslookup localhost<br>$ nslookup mac<br>$ hostname<br><br>AFAICS your machine has no domainname, otherwise it would show up in the MPICH error message after "mac".<br><br>-- Reuti<br><br><br><blockquote type="cite">On 28/02/14 13:35, Balaji, Pavan wrote:<br><blockquote type="cite">$ cat /etc/hosts<br><blockquote type="cite"><blockquote type="cite">##<br># Host Database<br>#<br># localhost is used to configure the loopback interface<br># when the system is booting.  Do not change this entry.<br>##<br>127.0.0.1<span class="Apple-tab-span" style="white-space: pre;">       </span>localhost<br>255.255.255.255<span class="Apple-tab-span" style="white-space: pre;">        </span>broadcasthost<br>::1             localhost<br>fe80::1%lo0<span class="Apple-tab-span" style="white-space: pre;"> </span>localhost<br></blockquote></blockquote></blockquote><br><br>--<span class="Apple-converted-space"> </span><br>The University of Edinburgh is a charitable body, registered in<br>Scotland, with registration number SC005336.<br><br>_______________________________________________<br>discuss mailing list     discuss@mpich.org<br>To manage subscription options or unsubscribe:<br>https://lists.mpich.org/mailman/listinfo/discuss<br></blockquote><br>_______________________________________________<br>discuss mailing list     discuss@mpich.org<br>To manage subscription options or unsubscribe:<br>https://lists.mpich.org/mailman/listinfo/discuss<br></blockquote><br>The University of Edinburgh is a charitable body, registered in<br>Scotland, with registration number SC005336.<br>_______________________________________________<br>discuss mailing list     discuss@mpich.org<br>To manage subscription options or unsubscribe:<br>https://lists.mpich.org/mailman/listinfo/discuss<br></blockquote><br>_______________________________________________<br>discuss mailing list     discuss@mpich.org<br>To manage subscription options or unsubscribe:<br>https://lists.mpich.org/mailman/listinfo/discuss<br><br>The University of Edinburgh is a charitable body, registered in<br>Scotland, with registration number SC005336.<br>_______________________________________________<br>discuss mailing list     discuss@mpich.org<br>To manage subscription options or unsubscribe:<br>https://lists.mpich.org/mailman/listinfo/discuss<br></blockquote><br>The University of Edinburgh is a charitable body, registered in<br>Scotland, with registration number SC005336.<br>_______________________________________________<br>discuss mailing list     discuss@mpich.org<br>To manage subscription options or unsubscribe:<br>https://lists.mpich.org/mailman/listinfo/discuss<br></blockquote><br>The University of Edinburgh is a charitable body, registered in<br>Scotland, with registration number SC005336.<br>_______________________________________________<br>discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote><br>_______________________________________________<br>discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a></div></blockquote></div><br></div></body></html>