[Pkg-openmpi-maintainers] Bug#865471: libopenmpi2: Missing Symlinks to Open MPI Libraries

Ron Lovell ron163264 at gmail.com
Wed Jun 21 19:14:40 UTC 2017


Package: libopenmpi2
Version: 2.1.1-4
Severity: important
Tags: newcomer

Dear Maintainer,

After upgrade to libopenmpi2_2.1.1-4_amd64, libopenmpi-dev_2.1.1-4_amd64
etc. my programs failed to compile because the compiler and linker
(using mpicc and mpifort provided by libopenmpi-dev)
could not locate MPI libraries. I found that several symlinks in
/usr/lib/x86_64-linx-gnu were dead links:
libmca_common_sm.so.20
libmpi_mpifh.so.20
libopen-pal.so.20
libopen-rte.so.20

By following the example of working links, I was able to manually
set up the needed links pointing to /usr/lib/x86_64-linux-gnu/openmpi/lib/
and then link lib*.so.20 to those links. The commands (as root) were:

ln -s openmpi/lib/libopen-pal.so.20.10.1 /usr/lib/x86_64-linux-gnu/libopen-pal.so.20.10.1
ln -s libopen-pal.so.20.10.1 /usr/lib/x86_64-linux-gnu/libopen-pal.so.20
ln -s openmpi/lib/libopen-rte.so.20.10.1 /usr/lib/x86_64-linux-gnu/libopen-rte.so.20.10.1
ln -s libopen-rte.so.20.10.1 /usr/lib/x86_64-linux-gnu/libopen-rte.so.20
ln -s openmpi/lib/libmca_common_sm.so.20.10.1 /usr/lib/x86_64-linux-gnu/libmca_common_sm.so.20.10.1
ln -s libmca_common_sm.so.20.10.1 /usr/lib/x86_64-linux-gnu/libmca_common_sm.so.20
ln -s openmpi/lib/libmpi_mpifh.so.20.11.0 /usr/lib/x86_64-linux-gnu/libmpi_mpifh.so.20.11.0
ln -s libmpi_mpifh.so.20.11.0 /usr/lib/x86_64-linux-gnu/libmpi_mpifh.so.20

After making those changes, my MPI programs compile, link, and execute
normally.

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.11.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libopenmpi2 depends on:
ii  libc6               2.24-12
ii  libfabric1          1.4.0-1
ii  libgcc1             1:7.1.0-7
ii  libgfortran3        6.3.0-19
ii  libhwloc-plugins    1.11.5-1
ii  libhwloc5           1.11.5-1
ii  libibverbs1         1.2.1-2
ii  libpsm-infinipath1  3.3+19.g67c0807.open-3
ii  libquadmath0        7.1.0-7
ii  libstdc++6          7.1.0-7

Versions of packages libopenmpi2 recommends:
ii  openmpi-bin  2.1.1-4

libopenmpi2 suggests no packages.

-- no debconf information




More information about the Pkg-openmpi-maintainers mailing list