How to install openmpi modules in Ubuntu 18.04?
Several modules of openmpi
are missing in the repository of Ubuntu 18.04. I need to compile a program with fortra
n and ended up with the errors:
/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacs-openmpi
/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacsCinit-openmpi
/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacsF77init-openmpi
I had no problem in Ubuntu 16.04. How can I install the missing modules?
The missing libraries are provided by the libblacs-mpi-dev package. The solution is to install the package, either via a GUI software manager or via the command line
sudo apt install libblacs-mpi-dev