Changeset 27879


Ignore:
Timestamp:
08/17/23 08:17:34 (19 months ago)
Author:
Mathieu Morlighem
Message:

BUG: do not change MPI_ROOT, it changes env variables on pleiades

File:
1 edited

Legend:

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

    r27706 r27879  
    275275# Libraries / binaries
    276276#############################
    277 MPI_ROOT="${ISSM_EXT_DIR}/mpich/install"
    278 if [ -d "${MPI_ROOT}" ]; then
    279         export MPI_DIR=${MPI_ROOT}
    280         export MPI_HOME=${MPI_ROOT} # Used in installation of Dakota
    281         export MPI_INC_DIR="${MPI_ROOT}/include"
    282         path_prepend "${MPI_ROOT}/bin"
    283         cpath_prepend "${MPI_ROOT}/include"
    284         ld_library_path_append "${MPI_ROOT}/lib"
     277MPI_ROOT_TEMP="${ISSM_EXT_DIR}/mpich/install"
     278if [ -d "${MPI_ROOT_TEMP}" ]; then
     279        export MPI_DIR=${MPI_ROOT_TEMP}
     280        export MPI_HOME=${MPI_ROOT_TEMP} # Used in installation of Dakota
     281        export MPI_INC_DIR="${MPI_ROOT_TEMP}/include"
     282        path_prepend "${MPI_ROOT_TEMP}/bin"
     283        cpath_prepend "${MPI_ROOT_TEMP}/include"
     284        ld_library_path_append "${MPI_ROOT_TEMP}/lib"
    285285fi
    286286
Note: See TracChangeset for help on using the changeset viewer.