Changeset 24635
- Timestamp:
 - 03/04/20 09:11:43 (6 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  issm/trunk-jpl/etc/environment.sh (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/etc/environment.sh
r24634 r24635 185 185 186 186 MPI_DIR="${ISSM_DIR}/externalpackages/mpich/install" 187 if [ -d "$MPI_DIR" ]; then 188 echo "HERE" 187 if [ -d "${MPI_DIR}" ]; then 189 188 export MPI_DIR 190 189 export MPI_INC_DIR="$MPI_DIR/include" … … 197 196 if [ -d "$PETSC_DIR" ]; then 198 197 export PETSC_DIR 199 path_prepend "${PETSC_DIR}/bin" # In case we have installed MPICH via PETSc200 198 ld_library_path_append "${PETSC_DIR}/lib" 201 if [ -f "$PETSC_DIR/bin/mpiexec" ]; then 202 MPI_DIR=$PETSC_DIR 199 200 # In case we have installed MPICH via PETSc 201 if [ -f "${PETSC_DIR}/bin/mpiexec" ]; then 202 MPI_DIR=${PETSC_DIR} 203 203 export MPI_DIR 204 export MPI_INC_DIR="$MPI_DIR/include" 204 export MPI_INC_DIR="${MPI_DIR}/include" 205 path_prepend "${MPI_DIR}/bin" 206 cpath_prepend "${MPI_DIR}/include" 205 207 fi 206 208 fi  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)