Opened 12 months ago

Closed 9 months ago

#68753 closed defect (worksforme)

mpich-default +gcc13+fortran has broken mpicxx

Reported by: FreddieWitherden (Freddie Witherden) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: FreddieWitherden (Freddie Witherden), mascguy (Christopher Nielsen)
Port: mpich

Description

Installing port mpich-default +gcc13+fortran on Apple silicon Sonoma and then doing select --set mpi mpich-mp-fortran leads to a broken mpicxx as:

$ mpicxx
Error: Command line argument is needed!
This script (/opt/local/bin/mpicxx) is being called recursively, check that MPICH_CXX does not refer to mpicxx.

Change History (4)

comment:1 Changed 12 months ago by FreddieWitherden (Freddie Witherden)

Cc: FreddieWitherden added

comment:2 Changed 12 months ago by jmroot (Joshua Root)

Cc: mascguy added
Owner: set to eborisch
Port: mpich added
Status: newassigned

comment:3 Changed 11 months ago by eborisch (Eric A. Borisch)

Note the first line of the output:

Error: Command line argument is needed!

Try compiling something with it. Or even just mpicxx -show:

$ mpicxx
Error: Command line argument is needed!
This script (/opt/local/bin/mpicxx) is being called recursively, check that MPICH_CXX does not refer to mpicxx.

$ mpicxx -show
/usr/bin/clang++ -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/opt/local/include/mpich-mp -L/opt/local/lib/mpich-mp -lmpicxx -lmpi -lpmpi

comment:4 Changed 9 months ago by eborisch (Eric A. Borisch)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.