justinquinn
Thanks Justin - that was an easy fix! Libtool is now taken care of.
I'm still having issues with petsc - which version of the install script would you recommend using, and which version of gfortran? I have gfortran version 11.2.0 which appears to be the latest release, but is intended for intel processors. I wonder if this might be my issue. When I try the install-3.14-mac.sh script, it fails with the following error:
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Unknown Fortran name mangling: Are you sure the C and Fortran compilers are compatible?
Perhaps one is 64 bit and one is 32 bit?
See https://www.mcs.anl.gov/petsc/documentation/faq.html#gfortran
*******************************************************************************
I checked the type of compilers I have:
- /usr/local/bin/gfortran: Mach-O 64-bit executable x86_64
- /usr/bin/gcc: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
- /usr/bin/gcc (for architecture x86_64): Mach-O 64-bit executable x86_64
- /usr/bin/gcc (for architecture arm64e): Mach-O 64-bit executable arm64e
Based on this, I tried to force the script to run using the x86_64 architecture, since I don't have an arm64 version of gfortran. I used "arch -x86_64e ./install-3.14-mac.sh" and the install progressed further, but gets hung up on HDF5 (see my first post for that error). When trying the install-3.15-mac-arm.sh script, I get the following error:
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Could not locate a functional C compiler
*******************************************************************************
I'm missing something here, but struggling to figure out exactly what it is!
Thanks for your advice.
Lawrence