Celeb Glow
general | March 18, 2026

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.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?

2

2 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy