arpack-ng
arpack-ng copied to clipboard
"find package.." missing in first attempt
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
Looks like a cmake problem, not an arpack-ng problem: check *-devel are installed and your environment is OK.