Discussion:
[OMPI users] How to get rid of OpenMPI warning: unable to find any relevant network interfaces
Susan A. Schwarz
2017-02-09 20:30:37 UTC
Permalink
I am using OpenMPI 1.10.1 built with Intel compilers 16.0.3 on Centos 6.7. Our cluster has some cells where the nodes have infiniband and some cell with 10GB IP. I am hoping that I can build just one version of OpenMPI that can run on both infiniband and IP cells and not get any network-related warnings. I configured and built OpenMPI on a node with infiniband as follows:


./configure CXX=icpc CC=icc FC=ifort --prefix=/opt/openmpi/1.10.1-intel16.0 \

--enable-mpirun-prefix-by-default --with-threads --enable-mpi-thread-multiple \

--with-tm=/opt/torque/active --with-verbs=/usr --with-verbs-libdir=/usr/lib64


We are using OFED 3.2 that is part of the Centos distribution. When I run a program built with this version of OpenMPI and configured as described above on a cell with infiniband, the program runs without any warnings or errors. However, when I run on an IP-based cell, I get the following warning:


----------------------------------------------------------

A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:
Module: OpenFabrics (openib)
Host: k07

Another transport will be used instead, although this may result in
lower performance.
—————————————————————————————————————————
The program runs correctly but I am wondering if there is a way to get rid of the warning. I am aware of the MCA btl arguments that can be used with mpirun to specify ib or ip but I was hoping I didn’t have to burden my users with those details. Is there a way to configure OpenMPI to run on either IB or IP without warnings.

Thank you,
Susan

Susan Schwarz
Research Software Engineer
Research Computing
Dartmouth College
Hanover, NH 03755
Jeff Squyres (jsquyres)
2017-02-09 23:46:13 UTC
Permalink
Susan --

Try setting

--mca btl_base_warn_component_unused 0

That should make the warning go away (shame on us for not putting that in the warning message itself -- doh!).

If that works for you, you can put "btl_base_warn_component_used = 0" in $prefix/etc/openmpi-mca-params.conf (i.e., your side-wide configuration).
Post by Susan A. Schwarz
./configure CXX=icpc CC=icc FC=ifort --prefix=/opt/openmpi/1.10.1-intel16.0 \
--enable-mpirun-prefix-by-default --with-threads --enable-mpi-thread-multiple \
--with-tm=/opt/torque/active --with-verbs=/usr --with-verbs-libdir=/usr/lib64
----------------------------------------------------------
A high-performance Open MPI point-to-point messaging module
Module: OpenFabrics (openib)
Host: k07
Another transport will be used instead, although this may result in
lower performance.
—————————————————————————————————————————
The program runs correctly but I am wondering if there is a way to get rid of the warning. I am aware of the MCA btl arguments that can be used with mpirun to specify ib or ip but I was hoping I didn’t have to burden my users with those details. Is there a way to configure OpenMPI to run on either IB or IP without warnings.
Thank you,
Susan
Susan Schwarz
Research Software Engineer
Research Computing
Dartmouth College
Hanover, NH 03755
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
--
Jeff Squyres
***@cisco.com
Susan A. Schwarz
2017-02-10 15:22:49 UTC
Permalink
Hi Jeff,

Thanks so much. Your suggestion eliminated the warning. I set
btl_base_warn_component_unused = 0 in the configuration file.

Susan

On 2/9/17, 6:46 PM, "users on behalf of Jeff Squyres (jsquyres)"
Post by Jeff Squyres (jsquyres)
Susan --
Try setting
--mca btl_base_warn_component_unused 0
That should make the warning go away (shame on us for not putting that in
the warning message itself -- doh!).
If that works for you, you can put "btl_base_warn_component_used = 0" in
$prefix/etc/openmpi-mca-params.conf (i.e., your side-wide configuration).
On Feb 9, 2017, at 3:30 PM, Susan A. Schwarz
I am using OpenMPI 1.10.1 built with Intel compilers 16.0.3 on Centos
6.7. Our cluster has some cells where the nodes have infiniband and some
cell with 10GB IP. I am hoping that I can build just one version of
OpenMPI that can run on both infiniband and IP cells and not get any
network-related warnings. I configured and built OpenMPI on a node with
./configure CXX=icpc CC=icc FC=ifort
--prefix=/opt/openmpi/1.10.1-intel16.0 \
--enable-mpirun-prefix-by-default --with-threads
--enable-mpi-thread-multiple \
--with-tm=/opt/torque/active --with-verbs=/usr
--with-verbs-libdir=/usr/lib64
We are using OFED 3.2 that is part of the Centos distribution. When I
run a program built with this version of OpenMPI and configured as
described above on a cell with infiniband, the program runs without any
warnings or errors. However, when I run on an IP-based cell, I get the
----------------------------------------------------------
A high-performance Open MPI point-to-point messaging module
Module: OpenFabrics (openib)
Host: k07
Another transport will be used instead, although this may result in
lower performance.
‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹
The program runs correctly but I am wondering if there is a way to get
rid of the warning. I am aware of the MCA btl arguments that can be
used with mpirun to specify ib or ip but I was hoping I didn¹t have to
burden my users with those details. Is there a way to configure OpenMPI
to run on either IB or IP without warnings.
Thank you,
Susan
Susan Schwarz
Research Software Engineer
Research Computing
Dartmouth College
Hanover, NH 03755
_______________________________________________
users mailing list
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frfd.newm
exicoconsortium.org%2Fmailman%2Flistinfo%2Fusers&data=01%7C01%7Csusan.a.s
chwarz%40dartmouth.edu%7Ce2649927d95248d007fd08d45145e1da%7C995b093648d64
0e5a31ebf689ec9446f%7C1&sdata=J72eLMRFgytZLHou0z9DJaROvGtoaKpp%2BphmHJMh1
EE%3D&reserved=0
--
Jeff Squyres
_______________________________________________
users mailing list
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frfd.newme
xicoconsortium.org%2Fmailman%2Flistinfo%2Fusers&data=01%7C01%7Csusan.a.sch
warz%40dartmouth.edu%7Ce2649927d95248d007fd08d45145e1da%7C995b093648d640e5
a31ebf689ec9446f%7C1&sdata=J72eLMRFgytZLHou0z9DJaROvGtoaKpp%2BphmHJMh1EE%3
D&reserved=0
Loading...