mpirun: error while loading shared libraries: libopen-rte.so.12:
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.12As 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?
22 Answers
You may just need to run this command to link the appropriate libraries:
sudo ldconfig 3 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 1