Skip to content

Commit 1d0e695

Browse files
committed
README: Add note about --with-verbs-usnic
This option isn't needed on modern distros; add a note to README about it. Signed-off-by: Jeff Squyres <[email protected]> (cherry picked from commit 9a8b0d0)
1 parent 3e84234 commit 1d0e695

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

README

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,15 +1020,33 @@ NETWORKING SUPPORT / OPTIONS
10201020
configurations.
10211021

10221022
--with-verbs-usnic
1023+
Note that this option is no longer necessary in recent Linux distro
1024+
versions. If your Linux distro uses the "rdma-core" package (instead
1025+
of a standalone "libibverbs" package), not only do you not need this
1026+
option, you shouldn't use it, either. More below.
1027+
10231028
This option will activate support in Open MPI for disabling a
10241029
dire-sounding warning message from libibverbs that Cisco usNIC
10251030
devices are not supported (because Cisco usNIC devices are supported
10261031
through libfabric, not libibverbs). This libibverbs warning can
10271032
also be suppressed by installing the "no op" libusnic_verbs plugin
10281033
for libibverbs (see https://github.com/cisco/libusnic_verbs, or
1029-
download binaries from cisco.com). This option is disabled by
1030-
default because it causes libopen-pal.so to depend on libibverbs.so,
1031-
which is undesirable to many downstream packagers.
1034+
download binaries from cisco.com).
1035+
1036+
This option is disabled by default for two reasons:
1037+
1038+
1. It causes libopen-pal.so to depend on libibverbs.so, which is
1039+
undesirable to many downstream packagers.
1040+
2. As mentioned above, recent versions of the libibverbs library
1041+
(included in the "rdma-core" package) do not have the bug that
1042+
will emit dire-sounding warnings about usnic devices. Indeed,
1043+
the --with-verbs-usnic option will enable code in Open MPI that
1044+
is actually incompatible with rdma-core (i.e., cause Open MPI to
1045+
fail to compile).
1046+
1047+
If you enable --with-verbs-usnic and your system uses the rdma-core
1048+
package, configure will safely abort with a helpful message telling
1049+
you that you should not use --with-verbs-usnic.
10321050

10331051
--with-usnic
10341052
Abort configure if Cisco usNIC support cannot be built.

0 commit comments

Comments
 (0)