Hello, I'm trying to a new install of ISSM on a MacBook Pro running Ventura 13.6, but installing petsc has failed using both install-3.17-mac-intel.sh and install-3.19-mac-intel.sh. I've attached the configure.log from the most recent attempt. Thanks for any help!

configure.txt
1MB

Hi,
Could you please try the install-3.14-mac.sh install script? It may be that if it's an older machine then the newer internal configuration for PETSc won't work.

Ok, just tried the older version, and the install did not complete. The final line of dialogue was "sed: 1: "/Users/issm/trunk-jpl/e ...": command i expects \ followed by text"

    shivani
    Okay, probably because you don't have gsed. Can you edit the two lines in the installs script that start with sed from, for example,

    sed -i'' 's|#!/usr/bin/env python|#!/usr/bin/env python3|g' ${PETSC_DIR}/config/configure.py

    to,

    sed -i'' -e 's|#!/usr/bin/env python|#!/usr/bin/env python3|g' ${PETSC_DIR}/config/configure.py

    Thanks! That definitely helped, but I ran into a new issue during the compilation. The final output was "Cannot use fblaslapack without Fortran, make sure you do NOT have --with-fc=0" but I have gfortran installed- version 8.2.0

    Mathieu suggested that installing home brew might have caused some issues. I attached a screen shot of the end of the new configure.log

      shivani Could you attach the entire configure.log or compil.log (whichever one is in src/)?

      Alright thanks! I will give it a try.