Ignore:
Timestamp:
02/06/23 09:31:58 (2 years ago)
Author:
jdquinn
Message:

CHG: More changes for new Mac Intel build node; clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/externalpackages/petsc/install-3.14-mac.sh

    r27544 r27553  
    2525
    2626# Modify source so that Python 3 can be used to compile PETSc
    27 sed -i '' 's|#!/usr/bin/env python|#!/usr/bin/env python3|g' ${PETSC_DIR}/config/configure.py
     27sed -i'' 's|#!/usr/bin/env python|#!/usr/bin/env python3|g' ${PETSC_DIR}/config/configure.py
    2828
    2929# Modify source so that Python >= 3.9 can be used to compile PETSc
    30 sed -i '' 's|thread.isAlive|thread.is_alive|g' ${PETSC_DIR}/config/BuildSystem/script.py
     30sed -i'' 's|thread.isAlive|thread.is_alive|g' ${PETSC_DIR}/config/BuildSystem/script.py
    3131
    3232# Configure
     
    3535# - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12.
    3636#       (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 call
    40 #               the same routine with arguments of different types.
    41 #
    42 #       for gfortran 10 or later (may need to remove it for earlier versions).
    4337#
    4438cd ${PETSC_DIR}
    45 ./config/configure.py \
     39./configure \
    4640        --prefix="${PREFIX}" \
    4741        --PETSC_DIR="${PETSC_DIR}" \
    4842        --CFLAGS="-Wno-error=implicit-function-declaration" \
    49         --FFLAGS="-fallow-argument-mismatch" \
    5043        --with-debugging=0 \
    5144        --with-valgrind=0 \
     
    5952        --download-scalapack=1 \
    6053        --download-mumps=1 \
    61         --download-zlib=1 \
    62         --download-hdf5=1
     54        --download-zlib=1
    6355
    6456# Compile and install
Note: See TracChangeset for help on using the changeset viewer.