please send the correspond configure.log for this failure - perhaps to petsc-maint [to avoid sending large files to petsc-users mailing list]
BTW: We normally use xcode clang/clang++ with brew gfortran (with system blas/lapack) for MacOS builds Satish On Fri, 1 Sep 2023, Giselle Sosa Jones wrote: > Hello, > > I am trying to install PETSc on my M1 Mac and I keep encountering the > following error when configuring: > > Unknown Fortran name mangling: Are you sure the C and Fortran compilers are > compatible? > > Perhaps one is 64 bit and one is 32 bit? > > > Any ideas on how to fix this? All my compilers are 64 bit. I am using > gfortran and gcc (installed with brew). > > Thank you in advance. >