On Sep 20, 2013, at 1:00 PM, Lloyd Brown <lloyd_br...@byu.edu> wrote:

> It is interesting to me, though, that I need to explicitly exclude
> lo/127.0.0.1 in this case, but when I'm on an Ethernet-only node, and I
> just do the plain "mpirun ./appname", I don't have to exclude anything,
> and it figures out to use em1, and not lo.


This is probably a case of Open MPI being "too helpful" / optimizing for the 
common case: ignoring 127.0.0.1/8.

Specifically:

- btl_tcp_if_include defaults to empty
- btl_tcp_if_exclude defaults to 127.0.0.1/8

Meaning: if you specify nothing, you'll exclude localhost.  If you specify an 
include, it takes precedence over the default exclude.  If you specify an 
exclude, you need to *also* ignore localhost.

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to