Changeset 27553


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

Location:
issm/trunk-jpl
Files:
12 deleted
13 edited
3 copied
4 moved

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/gmsh/install-4-linux-static.sh

    r27406 r27553  
    5858cmake \
    5959        -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
     60        -DCMAKE_SKIP_RPATH=TRUE \
    6061        -DENABLE_BUILD_LIB=1 \
    6162        -DBLAS_LAPACK_LIBRARIES="-L${LAPACK_ROOT}/lib -lflapack -L${BLAS_ROOT}/lib -lfblas ${LIBGFORTRAN_ROOT}/libgfortran.a ${LIBGFORTRAN_ROOT}/libquadmath.a ${LIBGCC}" \
  • issm/trunk-jpl/externalpackages/gmsh/install-4-linux.sh

    r27406 r27553  
    5757cmake \
    5858        -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
     59        -DCMAKE_SKIP_RPATH=TRUE \
    5960        -DENABLE_BUILD_DYNAMIC=1 \
    6061        -DENABLE_BUILD_SHARED=1 \
  • issm/trunk-jpl/externalpackages/gmsh/install-4-mac-static.sh

    r27541 r27553  
    6969cmake \
    7070        -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
     71        -DCMAKE_SKIP_RPATH=TRUE \
    7172        -DENABLE_BUILD_LIB=1 \
    7273        -DBLAS_LAPACK_LIBRARIES="-L${LAPACK_ROOT}/lib -lflapack -L${BLAS_ROOT}/lib -lfblas ${LIBGFORTRAN_ROOT}/libgfortran.a ${LIBGFORTRAN_ROOT}/libquadmath.a ${LIBGCC}" \
  • issm/trunk-jpl/externalpackages/gmsh/install-4-mac.sh

    r27541 r27553  
    5757cmake \
    5858        -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
     59        -DCMAKE_SKIP_RPATH=TRUE \
    5960        -DENABLE_BUILD_DYNAMIC=1 \
    6061        -DENABLE_BUILD_SHARED=1 \
  • issm/trunk-jpl/externalpackages/petsc/install-3.14-linux-static.sh

    r27552 r27553  
    55## Constants
    66#
    7 VER="3.12.3"
     7VER="3.14.6"
    88
    99PETSC_DIR=${ISSM_DIR}/externalpackages/petsc/src # DO NOT CHANGE THIS
     
    3333#               compiler PIC flag via CFLAGS, CXXXFLAGS, and FCFLAGS
    3434#
    35 # - Added -fallow-argument-mismatch to FFLAGS in order to clear,
    36 #
    37 #               error: The Fortran compiler gfortran will not compile files that call
    38 #               the same routine with arguments of different types.
    39 #
    40 #       for gfortran 10 or later (may need to remove it for earlier versions).
    41 #
    4235cd ${PETSC_DIR}
    4336./config/configure.py \
  • issm/trunk-jpl/externalpackages/petsc/install-3.14-mac-static.sh

    r27552 r27553  
    55## Constants
    66#
    7 VER="3.12.3"
     7VER="3.14.6"
    88
    99PETSC_DIR=${ISSM_DIR}/externalpackages/petsc/src # DO NOT CHANGE THIS
     
    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# - Added -static-libgfortran to all macOS static builds, but this will not
    4438#       work out of the box on Linux.
     
    5145        --CFLAGS="-fPIC -Wno-error=implicit-function-declaration" \
    5246        --CXXFLAGS="-fPIC" \
    53         --FFLAGS="-fPIC -fallow-argument-mismatch -static-libgfortran" \
     47        --FFLAGS="-fPIC -static-libgfortran" \
    5448        --with-debugging=0 \
    5549        --with-valgrind=0 \
  • issm/trunk-jpl/externalpackages/petsc/install-3.14-mac-with-hdf5.sh

    r27548 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 \
  • 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
  • issm/trunk-jpl/externalpackages/petsc/install-3.15-babylon.sh

    r27202 r27553  
    4141        --download-scalapack=1 \
    4242        --download-mumps=1 \
    43         --download-zlib=1 \
    44         --download-hdf5=1
     43        --download-zlib=1
    4544
    4645# Compile and install
  • issm/trunk-jpl/externalpackages/petsc/install-3.16-linux.sh

    r27325 r27553  
    2929# - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12.
    3030#       (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).
    3731#
    3832cd ${PETSC_DIR}
     
    4135        --PETSC_DIR="${PETSC_DIR}" \
    4236        --CFLAGS="-Wno-error=implicit-function-declaration" \
    43         --FFLAGS="-fallow-argument-mismatch" \
    4437        --with-debugging=0 \
    4538        --with-valgrind=0 \
     
    5346        --download-scalapack=1 \
    5447        --download-mumps=1 \
    55         --download-zlib=1 \
    56         --download-hdf5=1
     48        --download-zlib=1
    5749
    5850# Compile and install
  • issm/trunk-jpl/externalpackages/petsc/install-3.16-mac.sh

    r27307 r27553  
    2929# - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12.
    3030#       (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).
    3731#
    3832cd ${PETSC_DIR}
     
    4135        --PETSC_DIR="${PETSC_DIR}" \
    4236        --CFLAGS="-Wno-error=implicit-function-declaration" \
    43         --FFLAGS="-fallow-argument-mismatch" \
    4437        --with-debugging=0 \
    4538        --with-valgrind=0 \
     
    5346        --download-scalapack=1 \
    5447        --download-mumps=1 \
    55         --download-zlib=1 \
    56         --download-hdf5=1
     48        --download-zlib=1
    5749
    5850# Compile and install
  • issm/trunk-jpl/externalpackages/petsc/install-3.17-mac-intel.sh

    r27202 r27553  
    2525
    2626# 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#
    2732cd ${PETSC_DIR}
    2833./configure \
    2934        --prefix="${PREFIX}" \
    3035        --PETSC_DIR="${PETSC_DIR}" \
     36        --CFLAGS="-Wno-error=implicit-function-declaration" \
    3137        --with-debugging=0 \
    3238        --with-valgrind=0 \
     
    4046        --download-scalapack=1 \
    4147        --download-mumps=1 \
    42         --download-zlib=1 \
    43         --download-hdf5=1
     48        --download-zlib=1
    4449
    4550# Compile and install
  • issm/trunk-jpl/externalpackages/petsc/install-3.17-mac-silicon-static.sh

    r27552 r27553  
    3333#               compiler PIC flag via CFLAGS, CXXXFLAGS, and FCFLAGS
    3434#
    35 # - Added -fallow-argument-mismatch to FFLAGS in order to clear,
    36 #
    37 #               error: The Fortran compiler gfortran will not compile files that call
    38 #               the same routine with arguments of different types.
    39 #
    40 #       for gfortran 10 or later (may need to remove it for earlier versions).
    4135cd ${PETSC_DIR}
    4236./configure \
  • issm/trunk-jpl/jenkins/examples_tests.sh

    r27202 r27553  
    66# called from jenkins/jenkins.sh.
    77#
    8 # runme files are modifed as needed to fill in statements that would otherwise
     8# runme files are modified as needed to fill in statements that would otherwise
    99# be added by user.
    1010#
  • issm/trunk-jpl/jenkins/mac-binaries-python

    r27552 r27553  
    1111#
    1212
    13 # ISSM CONFIGURATION
    1413ISSM_CONFIG='\
    1514        --prefix=${ISSM_DIR} \
     
    1817        --enable-standalone-libraries \
    1918        --disable-dependency-tracking \
    20         --with-python-version=3.4 \
    21         --with-python-dir=/Library/Frameworks/Python.framework/Versions/3.4 \
    22         --with-python-numpy-dir=/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy \
    23         --with-fortran-lib="/usr/local/Cellar/gcc/11.3.0/lib/gcc/11/libgfortran.a /usr/local/Cellar/gcc/11.3.0/lib/gcc/11/libquadmath.a /usr/local/Cellar/gcc/11.3.0/lib/gcc/11/gcc/x86_64-apple-darwin15/11/libgcc.a" \
     19        --with-python-version="3.9" \
     20        --with-python-dir=/System/Volumes/Data/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9 \
     21        --with-python-numpy-dir=/Library/Python/3.9/site-packages/numpy/core/include/numpy \
     22        --with-fortran-lib="/usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libgfortran.a /usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libquadmath.a //usr/local/Cellar/gcc/12.2.0/lib/gcc/12/gcc/x86_64-apple-darwin21/12/libgcc.a" \
    2423        --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
    2524        --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
     
    4847        autotools       install-mac.sh
    4948        cmake           install.sh
    50         petsc           install-3.12-mac-static.sh
     49        petsc           install-3.14-mac-static.sh
    5150        gsl                     install-static.sh
    5251        boost           install-1.7-mac-static.sh
  • issm/trunk-jpl/jenkins/mac-intel-binaries-matlab

    r27552 r27553  
    2222        --disable-dependency-tracking \
    2323        --with-matlab-dir=${MATLAB_PATH} \
    24         --with-fortran-lib="/usr/local/Cellar/gcc/11.3.0/lib/gcc/11/libgfortran.a /usr/local/Cellar/gcc/11.3.0/lib/gcc/11/libquadmath.a /usr/local/Cellar/gcc/11.3.0/lib/gcc/11/gcc/x86_64-apple-darwin15/11/libgcc.a" \
     24        --with-fortran-lib="/usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libgfortran.a /usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libquadmath.a //usr/local/Cellar/gcc/12.2.0/lib/gcc/12/gcc/x86_64-apple-darwin21/12/libgcc.a" \
    2525        --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
    2626        --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
     
    4949        autotools       install-mac.sh
    5050        cmake           install.sh
    51         petsc           install-3.12-mac-static.sh
     51        petsc           install-3.14-mac-static.sh
    5252        gsl                     install-static.sh
    5353        boost           install-1.7-mac-static.sh
  • issm/trunk-jpl/jenkins/ross-debian_linux-binaries-matlab

    r27456 r27553  
    4444        autotools       install-linux.sh
    4545        cmake           install.sh
    46         petsc           install-3.12-linux-static.sh
     46        petsc           install-3.14-linux-static.sh
    4747        gsl                     install-static.sh
    4848        boost           install-1.7-linux-static.sh
  • issm/trunk-jpl/jenkins/ross-debian_linux-binaries-python-2

    r27456 r27553  
    4444        autotools       install-linux.sh
    4545        cmake           install.sh
    46         petsc           install-3.12-linux-static.sh
     46        petsc           install-3.14-linux-static.sh
    4747        gsl                     install-static.sh
    4848        boost           install-1.7-linux-static.sh
  • issm/trunk-jpl/jenkins/ross-debian_linux-binaries-python-3

    r27456 r27553  
    4545        autotools       install-linux.sh
    4646        cmake           install.sh
    47         petsc           install-3.12-linux-static.sh
     47        petsc           install-3.14-linux-static.sh
    4848        gsl                     install-static.sh
    4949        boost           install-1.7-linux-static.sh
Note: See TracChangeset for help on using the changeset viewer.