Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"find package.." missing in first attempt #331

Open
tournesol59 opened this issue Jan 19, 2022 · 1 comment
Open

"find package.." missing in first attempt #331

tournesol59 opened this issue Jan 19, 2022 · 1 comment

Comments

@tournesol59
Copy link

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

@fghoussen
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants