Opened 5 months ago

#70185 assigned defect

netcdf +mpich fails to find MPI_CXX

Reported by: Schamschula (Marius Schamschula) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: mascguy (Christopher Nielsen)
Port: netcdf mpich-default

Description

When attempting to build netcdf +dap+mpich+netcdf4 against mpich-default @4.1.2_2+gcc13 I get the following error:

-- Found MPI_C: /opt/local/bin/mpicc-mpich-mp (found version "4.0")
-- Checking for module 'mpi-cxx'
--   No package 'mpi-cxx' found
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) 
CMake Error at /opt/local/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find MPI (missing: MPI_CXX_FOUND) (found version "4.0")
Call Stack (most recent call first):
  /opt/local/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /opt/local/share/cmake-3.29/Modules/FindMPI.cmake:1837 (find_package_handle_standard_args)
  CMakeLists.txt:1489 (FIND_PACKAGE)

I have tried any number of cmake arguments, with no luck. See: https://cmake.org/cmake/help/latest/module/FindMPI.html

Change History (0)

Note: See TracTickets for help on using tickets.