[MacPorts] #70185: netcdf +mpich fails to find MPI_CXX
MacPorts
noreply at macports.org
Fri Jun 7 16:18:16 UTC 2024
#70185: netcdf +mpich fails to find MPI_CXX
-------------------------+----------------------------------
Reporter: Schamschula | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: netcdf mpich-default
-------------------------+----------------------------------
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
--
Ticket URL: <https://trac.macports.org/ticket/70185>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list