The usual xcode/clang + brew/gfortran should work. https://gitlab.com/petsc/petsc/-/jobs/5895519334 https://gitlab.com/petsc/petsc/-/jobs/5895519414
There can be issues - not all CI builds work in M2 - with latest xcode [when I tried this previously] - so some CI jobs are still on Intel/Mac [with older xcode] Satish On Tue, 9 Jan 2024, Sanjay Govindjee via petsc-users wrote: > I was wondering if anyone has build experience with PETSc + FORTRAN on an > M2-based MAC? In particular, I am looking for compiler recommendations. > > -sanjay > >