<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;">It also works with en0:<div><br></div><div>lcebaman@mac~/$  mpiexec -iface en0 -n 4 ./hello</div><div>Hello world from process 0 of 4</div><div>Hello world from process 3 of 4</div><div>Hello world from process 1 of 4</div><div>Hello world from process 2 of 4<div><br></div><div>And that is what my ifconfig says:</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~/$ ifconfig</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">       </span>options=3<RXCSUM,TXCSUM></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">  </span>inet6 ::1 prefixlen 128 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>inet 127.0.0.1 netmask 0xff000000 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre"> </span>inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">        </span>nd6 options=1<PERFORMNUD></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">stf0: flags=0<> mtu 1280</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">     </span>ether 28:cf:e9:1f:cf:13 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>inet6 fe80::2acf:e9ff:fe1f:cf13%en0 prefixlen 64 scopeid 0x4 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">      </span>inet 172.20.170.189 netmask 0xfffff000 broadcast 172.20.175.255</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre"> </span>nd6 options=1<PERFORMNUD></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre"> </span>media: autoselect</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">       </span>status: active</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">en4: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">  </span>options=60<TSO4,TSO6></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">     </span>ether 32:00:17:4d:80:20 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>media: autoselect <full-duplex></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>status: inactive</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">en5: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">        </span>options=60<TSO4,TSO6></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">     </span>ether 32:00:17:4d:80:21 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>media: autoselect <full-duplex></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>status: inactive</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">     </span>ether 0a:cf:e9:1f:cf:13 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>media: autoselect</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">       </span>status: inactive</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);">bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">    </span>options=63<RXCSUM,TXCSUM,TSO4,TSO6></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">       </span>ether 2a:cf:e9:f1:ef:00 </div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>Configuration:</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">          </span>id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">                </span>maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">           </span>root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">          </span>ipfilter disabled flags 0x2</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">     </span>member: en4 flags=3<LEARNING,DISCOVER></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">    </span>        ifmaxaddr 0 port 5 priority 0 path cost 0</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>member: en5 flags=3<LEARNING,DISCOVER></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">    </span>        ifmaxaddr 0 port 6 priority 0 path cost 0</div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">   </span>nd6 options=1<PERFORMNUD></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre"> </span>media: <unknown type></div><div style="margin: 0px; font-size: 13px; font-family: Menlo; color: rgb(252, 134, 0); background-color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space:pre">     </span>status: inactive</div><div apple-content-edited="true"><br class="Apple-interchange-newline">

</div>
Cheers,</div><div>Luis<br><div><div>On 3 Mar 2014, at 22:24, Luis Cebamanos <<a href="mailto:l.cebamanos@epcc.ed.ac.uk">l.cebamanos@epcc.ed.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>Hi Reuti,<br><br>I have done what you suggested and it WORKS with the wireless off<br><br>lcebaman@mac~/$  mpiexec -iface lo0 -n 4 ./hello<br>Hello world from process 0 of 4<br>Hello world from process 3 of 4<br>Hello world from process 1 of 4<br>Hello world from process 2 of 4<br><br>What is the problem here then?<br><br>Cheers,<br>Luis<br>On 3 Mar 2014, at 14:54, Reuti <<a href="mailto:reuti@staff.uni-marburg.de">reuti@staff.uni-marburg.de</a>> wrote:<br><br><blockquote type="cite">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> <br>Date:01/03/2014  17:38  (GMT+00:00) <br>To: discuss@mpich.org <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) <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> 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> 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>-- <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><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></blockquote></div><br></div></div></body></html>