Skip to content

Fix MPI not found for HDF5 built with CMake #90

@kwabenantim

Description

@kwabenantim
-- No HDF5 found in /home/runner/modules/opt/petsc/3.17.5/linux-gnu: looking for alternative HDF5 instead
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find MPI (missing: MPI_C_FOUND) (found version "3.1")
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.22/Modules/FindMPI.cmake:1830 (find_package_handle_standard_args)
  /home/runner/modules/opt/hdf5/1.14.1/cmake/hdf5-config.cmake:91 (find_package)
  /usr/share/cmake-3.22/Modules/FindHDF5.cmake:504 (find_package)
  CMakeLists.txt:507 (find_package)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions