"find package.." missing in first attempt

Open
#331 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cmake, fortran
Domain
build-system

Research direction

Start with CMakeLists.txt at line 205 and reproduce the reported command using CMake 3.22.1, GCC/gfortran 11.2.1, and Open MPI 4.1.1 on Fedora 35. Inspect the MPI_Fortran detection failure and compare configuration with MPI=OFF; done means the MPI-enabled configuration completes successfully.

Written by the indexing model from the issue text.

Description

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

Dominant language
Fortran
Stars
358
Forks
138
Avg merge
20h 57m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from opencollab/arpack-ng

All issues in opencollab/arpack-ng

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.