Opened 12 months ago
Last modified 7 months ago
#68795 new defect
netcdf configure error with +mpich +gcc12
Reported by: | numaryu | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | tenomoto (Takeshi Enomoto), Dave-Allured (Dave Allured), Schamschula (Marius Schamschula) | |
Port: | netcdf |
Description
configuration fails with +mpich +gcc12 as shown in the attached log. The error is caused by adding incompatible stdlib to c++ compiler, which must be mpicxx (g++).
I guess cxx must be added to compilers.choose.
Attachments (1)
Change History (4)
Changed 12 months ago by numaryu
Attachment: | netcdf+mpich+gcc12_fail.log added |
---|
comment:1 Changed 10 months ago by Dave-Allured (Dave Allured)
Cc: | Dave-Allured added |
---|
comment:2 Changed 7 months ago by Schamschula (Marius Schamschula)
Cc: | Schamschula added |
---|
comment:3 Changed 7 months ago by Schamschula (Marius Schamschula)
Note: See
TracTickets for help on using
tickets.
I see the same error under Ventura 13.6.6 and Xcode 15.2.
However, the problem is with
cmake
not findingmpicxx-mpich-mp
So I changed the
block to
I'm not expert with the
mpi
PortGroup. There's probably a cleaner way that works for all versions of mpi..