- Timestamp:
- 02/06/23 09:31:58 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/externalpackages/petsc/install-3.14-mac.sh ¶
r27544 r27553 25 25 26 26 # Modify source so that Python 3 can be used to compile PETSc 27 sed -i 27 sed -i'' 's|#!/usr/bin/env python|#!/usr/bin/env python3|g' ${PETSC_DIR}/config/configure.py 28 28 29 29 # Modify source so that Python >= 3.9 can be used to compile PETSc 30 sed -i 30 sed -i'' 's|thread.isAlive|thread.is_alive|g' ${PETSC_DIR}/config/BuildSystem/script.py 31 31 32 32 # Configure … … 35 35 # - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12. 36 36 # (may need to remove it for earlier versions not using the C99 standard). 37 # - Added -fallow-argument-mismatch to FFLAGS in order to clear,38 #39 # error: The Fortran compiler gfortran will not compile files that call40 # the same routine with arguments of different types.41 #42 # for gfortran 10 or later (may need to remove it for earlier versions).43 37 # 44 38 cd ${PETSC_DIR} 45 ./config /configure.py\39 ./configure \ 46 40 --prefix="${PREFIX}" \ 47 41 --PETSC_DIR="${PETSC_DIR}" \ 48 42 --CFLAGS="-Wno-error=implicit-function-declaration" \ 49 --FFLAGS="-fallow-argument-mismatch" \50 43 --with-debugging=0 \ 51 44 --with-valgrind=0 \ … … 59 52 --download-scalapack=1 \ 60 53 --download-mumps=1 \ 61 --download-zlib=1 \ 62 --download-hdf5=1 54 --download-zlib=1 63 55 64 56 # Compile and install
Note:
See TracChangeset
for help on using the changeset viewer.