Changeset 27325


Ignore:
Timestamp:
10/24/22 10:02:10 (2 years ago)
Author:
jdquinn
Message:

CHG: PETSc version

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  
    22set -eu
    33
     4
    45## Constants
    56#
    6 VER="3.16.0"
     7VER="3.16.6"
    78
    89PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS
     
    2425
    2526# 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#
    2638cd ${PETSC_DIR}
    2739./configure \
    2840        --prefix="${PREFIX}" \
    2941        --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" \
    3144        --with-debugging=0 \
    3245        --with-valgrind=0 \
  • issm/trunk-jpl/externalpackages/petsc/install-3.16-pleiades.sh

    r27202 r27325  
    55## Constants
    66#
    7 VER="3.16.4"
     7VER="3.16.6"
    88
    99PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS
Note: See TracChangeset for help on using the changeset viewer.