[MacPorts] #68795: netcdf configure error with +mpich +gcc12
MacPorts
noreply at macports.org
Sat Apr 13 13:53:54 UTC 2024
#68795: netcdf configure error with +mpich +gcc12
----------------------+--------------------
Reporter: numaryu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: netcdf |
----------------------+--------------------
Comment (by Schamschula):
I see the same error under Ventura 13.6.6 and Xcode 15.2.
However, the problem is with {{{cmake}}} not finding {{{mpicxx-mpich-mp}}}
So I changed the
{{{
if {[mpi_variant_isset]} {
configure.cflags-append -DHDF5_PARALLEL
configure.args-append -DENABLE_PARALLEL_TESTS=ON
}
}}}
block to
{{{
if {[mpi_variant_isset]} {
configure.cflags-append -DHDF5_PARALLEL
configure.args-append -DENABLE_PARALLEL_TESTS=ON \
-DMPI_CXX_COMPILER=${prefix}/bin/mpicxx-mpich-
mp
}
}}}
I'm not expert with the {{{mpi}}} PortGroup. There's probably a cleaner
way that works for all versions of mpi..
--
Ticket URL: <https://trac.macports.org/ticket/68795#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list