Changeset 25544


Ignore:
Timestamp:
09/09/20 11:27:56 (5 years ago)
Author:
jdquinn
Message:

CHG: Added configuration for compiling on Amazon Linux (RHEL) and modified LD_LIBRARY_PATH setting to that end.

Location:
issm/trunk-jpl
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/etc/environment.sh

    r25345 r25544  
    197197if [ -d "$PETSC_DIR" ]; then
    198198        export PETSC_DIR
    199         ld_library_path_append "${PETSC_DIR}/lib"
     199        ld_library_path_prepend "${PETSC_DIR}/lib"
    200200
    201201        # In case we have installed MPICH via PETSc
  • issm/trunk-jpl/jenkins/aws-amazon_linux-solid_earth

    r25543 r25544  
    33#--------------------#
    44
    5 MATLAB_PATH="/usr/local/MATLAB/R2019b"
     5MATLAB_PATH="/usr/local/MATLAB/R2020a"
    66ISSM_CONFIG='\
    77        --prefix=${ISSM_DIR} \
     
    1212        --with-matlab-dir=${MATLAB_PATH} \
    1313        --with-python-dir=/usr \
    14         --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
    15         --with-fortran-lib="-L/usr/lib/x86_64-linux-gnu -lgfortran" \
     14        --with-python-numpy-dir=/usr/lib64/python2.7/site-packages/numpy/core/include/numpy \
     15        --with-fortran-lib="-L/usr/lib/gcc/x86_64-redhat-linux/7 -lgfortran" \
    1616        --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
    17         --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
     17        --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpifort -lmpi" \
    1818        --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
    1919        --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
Note: See TracChangeset for help on using the changeset viewer.