2

I have installed openmpi-bin and openmpi-common, and I get the following error when I run either mpirun or mpiexec:

mpirun: error while loading shared libraries: libopen-rte.so.12

As I checked, this library should be a part of the openmpi-bin (or common), but no matter how many times I try to reinstall it i get the same error.

Also no libraries like lib*-rte.* can be found at /usr/lib, and i cant find anything similar in other lib folders neither.

What should I do?

galoget
  • 3,023

2 Answers2

9

You may just need to run this command to link the appropriate libraries:

sudo ldconfig
Zanna
  • 72,312
Compiii
  • 91
2

My system says that this library comes from the package libopenmpi1.10. So you will need to install this.

$ find /usr/lib -name *libopen-rte*
/usr/lib/libopen-rte.so
/usr/lib/openmpi/lib/libopen-rte.so
/usr/lib/openmpi/lib/libopen-rte.so.12.0.2
/usr/lib/libopen-rte.so.12.0.2
/usr/lib/libopen-rte.so.12
$ dpkg -S /usr/lib/libopen-rte.so.12
libopenmpi1.10: /usr/lib/libopen-rte.so.12
Sethos II
  • 541