arpack-ng icon indicating copy to clipboard operation
arpack-ng copied to clipboard

"find package.." missing in first attempt

Open tournesol59 opened this issue 3 years ago • 1 comments

Expected behavior

sudo cmake -D EXAMPLES=ON -D MPI=ON -D BUILD_SHARED _LIBS=ON ..

Do this. (should compile)

Actual behavior

Do that. fail at check detection of compiler and compiler flags

Where/how to reproduce the problem

cmake 3.22.1 gcc/gfortran 11.2.1 Package openmpi-4.1.1-3.fc35.x86_64 fedora 35

  • arpack-ng: 3.9.0

Steps to reproduce the problem

run cmake with MPI=ON CMakeLists.txt (205) find_package(MPI REQUIRED COMPONENTS Fortran)

Error message

--Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS CMake Error

Traces

Callstack

Notes, remarks

with MPI=OFF is works

tournesol59 avatar Jan 19 '22 16:01 tournesol59

Looks like a cmake problem, not an arpack-ng problem: check *-devel are installed and your environment is OK.

fghoussen avatar Jan 22 '22 11:01 fghoussen