Changeset 27325
- Timestamp:
- 10/24/22 10:02:10 (2 years ago)
- Location:
- issm/trunk-jpl/externalpackages/petsc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.16-linux.sh
r27307 r27325 2 2 set -eu 3 3 4 4 5 ## Constants 5 6 # 6 VER="3.16. 0"7 VER="3.16.6" 7 8 8 9 PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS … … 24 25 25 26 # Configure 27 # 28 # NOTE: 29 # - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12. 30 # (may need to remove it for earlier versions not using the C99 standard). 31 # - Added -fallow-argument-mismatch to FFLAGS in order to clear, 32 # 33 # error: The Fortran compiler gfortran will not compile files that call 34 # the same routine with arguments of different types. 35 # 36 # for gfortran 10 or later (may need to remove it for earlier versions). 37 # 26 38 cd ${PETSC_DIR} 27 39 ./configure \ 28 40 --prefix="${PREFIX}" \ 29 41 --PETSC_DIR="${PETSC_DIR}" \ 30 -COPTFLAGS="-g -O2" -CXXOPTFLAGS="-g -O2" -FOPTFLAGS="-g -O2" \ 42 --CFLAGS="-Wno-error=implicit-function-declaration" \ 43 --FFLAGS="-fallow-argument-mismatch" \ 31 44 --with-debugging=0 \ 32 45 --with-valgrind=0 \ -
issm/trunk-jpl/externalpackages/petsc/install-3.16-pleiades.sh
r27202 r27325 5 5 ## Constants 6 6 # 7 VER="3.16. 4"7 VER="3.16.6" 8 8 9 9 PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS
Note:
See TracChangeset
for help on using the changeset viewer.