Changeset 24637
- Timestamp:
- 03/04/20 16:38:00 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/etc/environment.sh
r24635 r24637 187 187 if [ -d "${MPI_DIR}" ]; then 188 188 export MPI_DIR 189 export MPI_HOME=${MPI_DIR} # Needed by Dakota 189 190 export MPI_INC_DIR="$MPI_DIR/include" 190 191 path_prepend "${MPI_DIR}/bin" … … 202 203 MPI_DIR=${PETSC_DIR} 203 204 export MPI_DIR 205 export MPI_HOME=${MPI_DIR} # Needed by Dakota 204 206 export MPI_INC_DIR="${MPI_DIR}/include" 205 207 path_prepend "${MPI_DIR}/bin" -
issm/trunk-jpl/externalpackages/petsc/install-3.11-linux.sh
r24418 r24637 11 11 12 12 # Unpack source 13 tar -zxvf petsc-$VER.tar.gz13 tar -zxvf petsc-${VER}.tar.gz 14 14 15 15 # Cleanup … … 18 18 19 19 # Move source to 'src' directory 20 mv petsc-$ VER/* src/21 rm -rf petsc-$ VER20 mv petsc-${VER}/* src/ 21 rm -rf petsc-${VER} 22 22 23 23 # Configure … … 26 26 --prefix="${ISSM_DIR}/externalpackages/petsc/install" \ 27 27 --PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" \ 28 --with-mpi-dir="${ISSM_DIR}/externalpackages/mpich/install" \29 --with-blas-lib="-L${ISSM_DIR}/externalpackages/lapack/install/lib -lblas" \30 --with-lapack-lib="-L${ISSM_DIR}/externalpackages/lapack/install/lib -llapack" \31 28 --with-debugging=0 \ 32 29 --with-valgrind=0 \ 33 30 --with-x=0 \ 34 31 --with-ssl=0 \ 35 --with-shared-libraries=1 \ 36 --download-zlib=1 \ 37 --download-hdf5=1 \ 38 --download-netcdf=1 \ 32 --with-pic=1 \ 33 --download-fblaslapack=1 \ 34 --download-mpich=1 \ 39 35 --download-metis=1 \ 40 36 --download-parmetis=1 \ … … 43 39 44 40 # Compile and install 45 if [ $# -eq 0 ]; then 46 make 47 make install 48 else 49 make -j $1 50 make -j $1 install 51 fi 52 53 # Return to initial directory 54 cd .. 41 make 42 make install -
issm/trunk-jpl/externalpackages/petsc/install-3.12-linux-static.sh
r24632 r24637 7 7 VER="3.12.3" 8 8 9 ## Environment10 #11 12 9 # Download source 13 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 14 11 15 12 # Unpack source 16 tar -zxvf 13 tar -zxvf petsc-${VER}.tar.gz 17 14 18 15 # Cleanup … … 40 37 --CXXFLAGS="-fPIC" \ 41 38 --FFLAGS="-fPIC" \ 42 --COPTFLAGS="-O 3" \43 --CXXOPTFLAGS="-O 3" \44 --FOPTFLAGS="-O 3" \39 --COPTFLAGS="-O2" \ 40 --CXXOPTFLAGS="-O2" \ 41 --FOPTFLAGS="-O2" \ 45 42 --with-debugging=0 \ 46 43 --with-valgrind=0 \ 47 44 --with-x=0 \ 48 45 --with-ssl=0 \ 49 --download-f 2cblaslapack=1 \46 --download-fblaslapack=1 \ 50 47 --download-mpich=1 \ 51 48 --download-metis=1 \ … … 55 52 56 53 # Compile and install 57 if [ $# -eq 0 ]; then 58 make 59 make install 60 else 61 make -j $1 62 make -j $1 install 63 fi 54 make 55 make install -
issm/trunk-jpl/externalpackages/petsc/install-3.12-linux.sh
r24632 r24637 7 7 VER="3.12.3" 8 8 9 ## Environment10 #11 12 9 # Download source 13 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 14 11 15 12 # Unpack source 16 tar -zxvf 13 tar -zxvf petsc-${VER}.tar.gz 17 14 18 15 # Cleanup … … 29 26 --prefix="${ISSM_DIR}/externalpackages/petsc/install" \ 30 27 --PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" \ 31 --COPTFLAGS="-O 3" \32 --CXXOPTFLAGS="-O 3" \33 --FOPTFLAGS="-O 3" \28 --COPTFLAGS="-O2" \ 29 --CXXOPTFLAGS="-O2" \ 30 --FOPTFLAGS="-O2" \ 34 31 --with-debugging=0 \ 35 32 --with-valgrind=0 \ … … 37 34 --with-ssl=0 \ 38 35 --with-pic=1 \ 39 --download-f 2cblaslapack=1 \36 --download-fblaslapack=1 \ 40 37 --download-mpich=1 \ 41 38 --download-metis=1 \ … … 45 42 46 43 # Compile and install 47 if [ $# -eq 0 ]; then 48 make 49 make install 50 else 51 make -j $1 52 make -j $1 install 53 fi 44 make 45 make install -
issm/trunk-jpl/jenkins/macosx_pine-island
r24604 r24637 4 4 5 5 # MATLAB path 6 MATLAB_PATH="/Applications/MATLAB_R201 5b.app"6 MATLAB_PATH="/Applications/MATLAB_R2019b.app" 7 7 8 8 # ISSM CONFIGURATION … … 11 11 --disable-static \ 12 12 --with-matlab-dir=$MATLAB_PATH \ 13 --with-mpi-include=$ISSM_DIR/externalpackages/ mpich/install/include \14 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/ mpich/install/lib -lmpi -lmpicxx -lmpifort" \15 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/ lapack/install \13 --with-mpi-include=$ISSM_DIR/externalpackages/petsc/install/include \ 14 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ 15 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \ 16 16 --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \ 17 17 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \ … … 41 41 autotools install.sh 42 42 cmake install.sh 43 mpich install-3.3.sh 44 lapack install-3.8-mac.sh 45 petsc install-3.7-mac.sh 43 petsc install-3.12-mac.sh 46 44 triangle install-mac.sh 47 45 chaco install.sh
Note:
See TracChangeset
for help on using the changeset viewer.