Background informationWhat version of Open MPI are you using? (e.g.,
v1.10.3, v2.1.0, git branch name and hash, etc.)

3.1.5 Current stable release from Nov 15, 2019

4.0.2 Current stable release from Oct 07, 2019
Describe how Open MPI was installed (e.g., from a source/distribution
tarball, from a git clone, from an operating system distribution package,
etc.)

source tarball
Please describe the system on which you are running

   - Operating system/version: Centos 7.2, RHEL 7.7
   - Computer hardware: Intel
   - Network type: Cisco USNIC

Resource manager: IBM Spectrum LSF 10.2

*Details of the problem*
If --enable-static and --disable-shared used when configuring Open MPI on
Cisco UCS C240 M4SX machines, mpicc is unable to compile the ring_c (test
program for validating MPI connectivity). The following configuration was
used to build ompi from source code.

$> ./configure --prefix=/gpfs/app/openmpi-4.0.2 CC=gcc CXX=g++
--enable-static --disable-shared
--with-lsf=/gpfs/data/soft/lsf/10.1/linux2.6-glibc2.3-x86_64 --with-usnic
--with-libfabric=/opt/cisco/libfabric --without-memory-manager
--enable-mpirun-prefix-by-default
--enable-mca-no-build=btl-openib,common-verbs,oob-ud LDFLAGS="-Wl,-rpath
-Wl,opt/cisco/libfabric/lib -Wl,--enable-new-dtags"

Installation completed without any errors for both versions of ompi.
Running the following code resulted with error.

$> mpicc ring_c.c -o ring_c

#####/usr/bin/ld:
/gpfs/app/openmpi-402-test/lib/libopen-pal.a(reachable_netlink_utils_common.o):
undefined reference to symbol 'nlmsg_set_proto'
/usr/bin/ld: note: 'nlmsg_set_proto' is defined in DSO
/lib64/libnl-3.so.200 so try adding it to the linker command line
/lib64/libnl-3.so.200: could not read symbols: Invalid operation#####

Error reproduced with same configuration on Centos7.2 and RHEL7.7 nodes.
Also I have tested older versions with same configuration.

Openmpi-2.0.4 -- Could not reproduce error
Openmpi-3.1.0 -- Could not reproduce error
Openmpi-3.1.5 -- Compilation error
Openmpi-4.0.2 -- Compilation error

After building and installing ompi without --enable-static --disable-shared
options, compilation was successful and I could validate the MPI
connectivity with the rinc_c.

NOTE: I could not check mail archive due to connection problem. It seems
that our IP address is blocked. So if it's a duplicate bug report please
ignore it.

Regards.

-- 

*Mehmet OREN*

Istanbul Medipol University

HPC System Administrator



t: +90 216 681 1583

t: +90 216 681 1500 Ext:1583

f: +90 212 521 2377


www.medipol.edu.tr

Reply via email to