[OMPI users] Weird interaction with modem under OS X

2007-05-21 Thread Tom Clune
Executive summary: mpirun hangs when laptop is connected via cellular modem.Longer description: Under ordinary circumstances mpirun behaves as expected on my OS X (Intel-duo) laptop.  I only want to be using the shared-memory mechanism - i.e. not sending packets across any networks.   When my laptop is connected to the internet via ethernet or wireless (or not connected to the network at all) mpirun works just fine, but if I connect via my nifty new cellular modem (Verizon in case it matters), mpirun hangs at launch.  I.e. my application never even starts, and I have to use  to interrupt to regain a prompt.   I'd like to be able to engage in other activities (mail, cvs, skype) while executing mpi code in the background, so I'm really hoping there is a simple switch to fix this.I am launching with the command:  "mpirun -np 2 ./gx".   I have also tried "mpirun --mca btl self,sm -np 2 ./gx" but that did not seem to improve the situation.I have attached the output from "ompi_info --all".  The output does not seem to depend on whether I am connected via the modem or not.Thanks in advance.- Tom

withModem
Description: Binary data
 BEGIN:VCARD
VERSION:3.0
N:Clune;Thomas;;;
FN:Thomas Clune
ORG:NASA;
EMAIL;type=INTERNET;type=WORK:thomas.l.cl...@nasa.gov
EMAIL;type=INTERNET;type=HOME;type=pref:tom_cl...@mac.com
TEL;type=WORK;type=pref:301-286-4635
TEL;type=CELL:240-274-5487
TEL;type=WORK;type=FAX:340-266-0400
item1.ADR;type=WORK;type=pref:;;NASA GSFC Code 610 B28-W135B;Greenbelt;MD;20771;
item1.X-ABADR:us
X-AIM;type=WORK;type=pref:tom_clune
X-ABUID:EC5048B2-24E7-4C6D-8925-812C87D387DA\:ABPerson
END:VCARD
 

Re: [OMPI users] Weird interaction with modem under OS X

2007-05-22 Thread Tom Clune

Hi Brian,

On May 22, 2007, at 12:00 PM, users-requ...@open-mpi.org wrote:


If you run "mpirun -np 1 uptime" with your cell modem up, does that
work?


Alas, no it produces no output and hangs.


This isn't one of those corner cases we test very often :).
If it doesn't work, could you send the output of 'ifconfig'?


LM000953070:~ tlclune$ ifconfig
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff00
gif0: flags=8010 mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8822 mtu 1500
ether 00:17:f2:d3:bc:bc
media: autoselect (none) status: inactive
	supported media: autoselect 10baseT/UTP  10baseT/UTP  
 10baseT/UTP  10baseT/UTP duplex,flow-control> 100baseTX  100baseTX   
100baseTX  100baseTX control> 1000baseT  1000baseT   
1000baseT  none

en2: flags=8863 mtu 1500
ether 00:19:e3:d8:c3:2f
media: autoselect () status: inactive
supported media: autoselect
wlt2: flags=41 mtu 1500
fw4: flags=8822 mtu 494
lladdr 00:19:e3:ff:fe:77:c6:60
media: autoselect  status: inactive
supported media: autoselect 
ppp0: flags=8051 mtu 1500
inet 70.211.6.153 --> 66.174.14.5 netmask 0xff00



  One
thing to try would be telling Open MPI to not use the network device
for the modem.


Well, the setup for the card is so transparent that I'm not even sure  
what network device it is using.  The card does not use the typical  
OS X interface for networks.



For example, if it is ppp0, try:

   mpirun -np 1 -mca oob_tcp_exclude ppp0 uptime


This seems to at least produce a bit of output before hanging:

LM000953070:~ tlclune$ mpirun -np 1 -mca oob_tcp_exclude ppp0 uptime
[153.sub-70-211-6.myvzw.com:07562] [0,0,0] mca_oob_tcp_init: invalid  
address '' returned for selected oob interfaces.
[153.sub-70-211-6.myvzw.com:07562] [0,0,0] ORTE_ERROR_LOG: Error in  
file oob_tcp.c at line 1216


Perhaps meaningful?

Cheers,

- Tom


BEGIN:VCARD
VERSION:3.0
N:Clune;Thomas;;;
FN:Thomas Clune
ORG:NASA;
EMAIL;type=INTERNET;type=WORK:thomas.l.cl...@nasa.gov
EMAIL;type=INTERNET;type=HOME;type=pref:tom_cl...@mac.com
TEL;type=WORK;type=pref:301-286-4635
TEL;type=CELL:240-274-5487
TEL;type=WORK;type=FAX:340-266-0400
item1.ADR;type=WORK;type=pref:;;NASA GSFC Code 610 B28-W135B;Greenbelt;MD;20771;
item1.X-ABADR:us
X-AIM;type=WORK;type=pref:tom_clune
X-ABUID:EC5048B2-24E7-4C6D-8925-812C87D387DA\:ABPerson
END:VCARD