kevinea
kevinea

Reputation: 119

Error when installing MultiNest for MPI - missing Fortran libraries

I am trying to install MultiNest and PyMultiNest on Ubutnu 16.04. I have OpenMPI installed and can successfully run programs with it. However, during the installation of MultiNest, I get this:

kevin@kevin-VirtualBox:~/MultiNest/build$ cmake ..
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Detected gfortran, adding -ffree-line-length-none compiler flag.
CMake Warning at /usr/share/cmake-3.5/Modules/FindMPI.cmake:406 (message):
  Unable to find MPI library mpi_mpifh
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindMPI.cmake:596 (interrogate_mpi_compiler)
  src/CMakeLists.txt:86 (FIND_PACKAGE)


-- Could NOT find MPI_Fortran (missing:  MPI_Fortran_LIBRARIES) 
-- MPI not found, only non-MPI MultiNest libraries will be built.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kevin/MultiNest/build

Any guidance on how to fix this?

Upvotes: 1

Views: 585

Answers (1)

kevinea
kevinea

Reputation: 119

When I installed 'libopenmpi-dev', the cmake process seemed to finish properly.

Upvotes: 2

Related Questions