This may have something to do with it:

  root@ef11adb9da1c:/# pkg-config --libs ompi
  -L/usr/lib/x86_64-linux-gnu/openmpi/lib -L/usr//lib -lmpi
  root@ef11adb9da1c:/#

This is what we use at build-time.  Yet:

  root@ef11adb9da1c:/# ls -l /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.*
  lrwxrwxrwx 1 root root     16 Feb 10 05:43 
/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so -> libmpi.so.20.0.2
  -rw-r--r-- 1 root root 919704 Feb 10 05:43 
/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so.20.0.2
  root@ef11adb9da1c:/#
  root@ef11adb9da1c:/# ldconfig -p|grep libmpi.so
          libmpi.so.20 (libc6,x86-64) => /lib/x86_64-linux-gnu/libmpi.so.20
  root@ef11adb9da1c:/# 

Looks like ldconfig is unaware of libmpi.so.  But why? Maybe this?

  root@ef11adb9da1c:/# ls -l /etc/alternatives/libmpi*
  lrwxrwxrwx 1 root root 47 May  3 14:26 /etc/alternatives/libmpi.so -> 
/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
  lrwxrwxrwx 1 root root 51 May  3 14:26 /etc/alternatives/libmpi++.so -> 
/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so
  root@ef11adb9da1c:/#

Weirder still, now that I ran `ldconfig` a few times it loads (but dies over
an OpenMPI config wart in the Docker container I am in right now).

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Reply via email to