Changeset 24331
- Timestamp:
- 11/14/19 12:36:05 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/mpich/install-3.2-linux64.sh
r23435 r24331 2 2 set -eu 3 3 4 #Some cleanup 5 rm -rf src install mpich-3.2 4 5 ## Constants 6 # 7 VER="3.2" 8 9 # Download source 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/mpich-${VER}.tar.gz" "mpich-${VER}.tar.gz" 11 12 # Unpack source 13 tar -zxvf mpich-$VER.tar.gz 14 15 # Cleanup 16 rm -rf src install 6 17 mkdir src install 7 18 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/mpich-3.2.tar.gz' 'mpich-3.2.tar.gz' 19 # Move source into 'src' directory 20 mv mpich-$VER/* src 21 rm -rf mpich-$VER 10 22 11 #Untar 12 tar -zxvf mpich-3.2.tar.gz 13 14 #Move mpich into src directory 15 mv mpich-3.2/* src 16 rm -rf mpich-3.2 17 18 #Configure mpich 23 # Configure 19 24 cd src 20 25 ./configure \ 21 --prefix="$ ISSM_DIR/externalpackages/mpich/install" \26 --prefix="${ISSM_DIR}/externalpackages/mpich/install" \ 22 27 --enable-shared 23 28 24 # Compile mpich (this new version supports parallel make)29 # Compile and install 25 30 if [ $# -eq 0 ]; then 26 31 make 32 make install 27 33 else 28 34 make -j $1 35 make -j $1 install 29 36 fi 30 make install 37 38 # Return to initial directory 39 cd .. -
issm/trunk-jpl/externalpackages/petsc/install-3.7-linux64.sh
r23435 r24331 2 2 set -eu 3 3 4 #Some cleanup 5 rm -rf install petsc-3.7.6 src 4 5 ## Constants 6 # 7 VER="3.7.6" 8 9 # Download source 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 11 12 # Unpack source 13 tar -zxvf petsc-$VER.tar.gz 14 15 # Cleanup 16 rm -rf install src 6 17 mkdir install src 7 18 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/petsc-lite-3.7.6.tar.gz' 'petsc-3.7.6.tar.gz' 19 # Move source to 'src' directory 20 mv petsc-$VER/* src/ 21 rm -rf petsc-$VER 10 22 11 #Untar and move petsc to install directory 12 tar -zxvf petsc-3.7.6.tar.gz 13 mv petsc-3.7.6/* src/ 14 rm -rf petsc-3.7.6 15 16 #configure 23 # Configure 17 24 cd src 18 25 ./config/configure.py \ 19 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 20 --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \ 21 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 26 --prefix="${ISSM_DIR}/externalpackages/petsc/install" \ 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" \ 22 31 --with-debugging=0 \ 23 32 --with-valgrind=0 \ … … 25 34 --with-ssl=0 \ 26 35 --with-shared-libraries=1 \ 36 --download-zlib=1\ 37 --download-hdf5=1 \ 38 --download-netcdf=1 \ 27 39 --download-metis=1 \ 28 40 --download-parmetis=1 \ 29 --download-mumps=1 \30 41 --download-scalapack=1 \ 31 --download-fblaslapack=1 \ 32 --with-pic=1 42 --download-mumps=1 33 43 34 #Compile and intall 35 make 36 make install 44 # 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 .. -
issm/trunk-jpl/jenkins/linux64_ross
r24330 r24331 3 3 #-------------------------------# 4 4 5 # MATLAB path5 # MATLAB path 6 6 MATLAB_PATH="/usr/local/MATLAB/R2015a" 7 7 8 #ISSM CONFIGURATION 9 ISSM_CONFIG='--prefix=$ISSM_DIR \ 8 # ISSM CONFIGURATION 9 ISSM_CONFIG='\ 10 --prefix=$ISSM_DIR \ 10 11 --disable-static \ 11 12 --with-matlab-dir=$MATLAB_PATH \ 12 13 --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \ 13 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include 14 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \ 14 15 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \ 15 16 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \ … … 37 38 #-----------------------------------# 38 39 39 # List of external packages to be installed and their installation scripts40 # List of external packages to be installed and their installation scripts 40 41 EXTERNALPACKAGES=" 41 42 autotools install.sh 42 43 cmake install.sh 43 mpich install-3. 3.sh44 mpich install-3.2-linux64.sh 44 45 lapack install-3.8-linux.sh 45 petsc install-3. 11-linux.sh46 petsc install-3.7-linux64.sh 46 47 triangle install-linux64.sh 47 48 chaco install.sh -
issm/trunk-jpl/jenkins/linux64_ross_python
r24237 r24331 1 2 1 #-------------------------------# 3 2 # 1: ISSM general configuration # … … 10 9 --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \ 11 10 --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \ 12 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \ 13 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \ 11 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \ 12 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \ 13 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \ 14 14 --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \ 15 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \16 15 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \ 17 16 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \ 18 17 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 19 18 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \ 20 --with-chaco-dir= "$ISSM_DIR/externalpackages/chaco/install"\19 --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \ 21 20 --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \ 21 --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \ 22 22 --with-numthreads=4 \ 23 23 --enable-development \ 24 --enable-debugging ' 24 --enable-debugging \ 25 ' 25 26 26 # PYTHON and MATLAB testing27 # Test suites 27 28 MATLAB_TEST=0 28 29 PYTHON_TEST=1 30 JAVASCRIPT_TEST=0 31 EXAMPLES_TEST=0 29 32 30 33 #-----------------------------------# … … 32 35 #-----------------------------------# 33 36 34 #List of external packages to be installed and their installation scripts 35 EXTERNALPACKAGES="autotools install.sh 36 cmake install.sh 37 mpich install-3.2-linux64.sh 38 petsc install-3.7-linux64.sh 39 triangle install-linux64.sh 40 chaco install.sh 41 m1qn3 install.sh 42 shell2junit install.sh" 37 # List of external packages to be installed and their installation scripts 38 EXTERNALPACKAGES=" 39 autotools install.sh 40 cmake install.sh 41 mpich install-3.2-linux64.sh 42 lapack install-3.8-linux.sh 43 petsc install-3.7-linux64.sh 44 triangle install-linux64.sh 45 chaco install.sh 46 m1qn3 install.sh 47 semic install.sh 48 shell2junit install.sh 49 " 43 50 44 51 #-----------------# … … 48 55 #number of cpus used in ISSM installation and compilation (one is usually 49 56 #safer as some packages are very sensitive to parallel compilation) 50 NUMCPUS_INSTALL= 1057 NUMCPUS_INSTALL=8 51 58 52 59 #number of cpus used in the nightly runs. 53 NUMCPUS_RUN= 560 NUMCPUS_RUN=8 54 61 55 62 #Nightly run options. The matlab routine runme.m will be called -
issm/trunk-jpl/jenkins/linux64_ross_se
r24330 r24331 42 42 autotools install.sh 43 43 cmake install.sh 44 mpich install-3. 3.sh44 mpich install-3.2-linux64.sh 45 45 lapack install-3.8-linux.sh 46 petsc install-3. 11-linux.sh46 petsc install-3.7-linux64.sh 47 47 triangle install-linux64.sh 48 48 chaco install.sh
Note:
See TracChangeset
for help on using the changeset viewer.