Changes between Initial Version and Version 1 of Ticket #69131


Ignore:
Timestamp:
Jan 19, 2024, 12:59:18 AM (9 months ago)
Author:
floquet-cxx
Comment:

I find that if I force the use of Macports gcc and g++ compilers on the command line, like so:

cmake -DCMAKE_C_COMPILER=/opt/local/bin/gcc -DCMAKE_CXX_COMPILER=/opt/local/bin/g++ ..

then the cmake errors go away, and compilation completes (instead, mpirun now fails!). However, the original code (both with/without Apple C and C++ compilers) still works fine on pre-Sonoma OS X versions.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #69131 – Description

    initial v1  
    6565}}}
    6666
    67 Perhaps related: you can see that Apple's C and C++ compilers are selected, but GNU's Fortran compiler gets selected.  However, this combination has worked in  the past.
     67Perhaps related: you can see that Apple's C and C++ compilers are selected, but GNU's Fortran compiler gets selected.  However, this combination has worked in the past.
    6868
    6969I looks like the cmake MPI package resolver has a conflict with the version numbers of libmpicxx and libmpi although they are apparently consistent with libmpifort (all 4.0).