Changeset 24649
- Timestamp:
- 03/10/20 10:23:37 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 33 added
- 10 deleted
- 13 edited
- 2 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/autotools/install-debian-linux.sh
r24596 r24649 2 2 set -eu 3 3 4 #Version numbers 5 M4_VER="1.4.18" 4 5 ## Constants 6 # 6 7 AUTOCONF_VER="2.69" 7 8 AUTOMAKE_VER="1.16.1" 8 9 LIBTOOL_VER="2.4.2" 10 M4_VER="1.4.18" 9 11 10 # Clean up existing directories 12 ## Environment 13 # 14 export PATH="${ISSM_DIR}/externalpackages/autotools/install/bin:$PATH" 15 16 # Cleanup 11 17 rm -rf install src 12 13 # Set up for installation14 18 mkdir install 15 export PATH="$ISSM_DIR/externalpackages/autotools/install/bin:$PATH"16 19 17 20 # Install m4 18 21 echo " === INSTALLING M4 ==" 19 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/m4-$M4_VER.tar.gz" "m4-$M4_VER.tar.gz"20 tar -zxvf m4-$ M4_VER.tar.gz21 mv m4-$ M4_VERsrc22 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/m4-${M4_VER}.tar.gz" "m4-${M4_VER}.tar.gz" 23 tar -zxvf m4-${M4_VER}.tar.gz 24 mv m4-${M4_VER} src 22 25 cd src 23 26 … … 29 32 echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h 30 33 31 ./configure --prefix="$ ISSM_DIR/externalpackages/autotools/install"34 ./configure --prefix="${ISSM_DIR}/externalpackages/autotools/install" 32 35 make 33 36 make install 34 37 cd .. 35 38 36 # Install autoconf39 # Install Autoconf 37 40 echo " === INSTALLING AUTOCONF ==" 38 41 rm -rf src 39 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/autoconf-$AUTOCONF_VER.tar.gz" "autoconf-$AUTOCONF_VER.tar.gz"40 tar -zxvf autoconf-$ AUTOCONF_VER.tar.gz41 mv autoconf-$ AUTOCONF_VERsrc42 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/autoconf-${AUTOCONF_VER}.tar.gz" "autoconf-${AUTOCONF_VER}.tar.gz" 43 tar -zxvf autoconf-${AUTOCONF_VER}.tar.gz 44 mv autoconf-${AUTOCONF_VER} src 42 45 cd src 43 ./configure --prefix="$ ISSM_DIR/externalpackages/autotools/install"46 ./configure --prefix="${ISSM_DIR}/externalpackages/autotools/install" 44 47 make 45 48 make install 46 49 cd .. 47 50 48 # install automake51 # Install Automake 49 52 echo " === INSTALLING AUTOMAKE ==" 50 53 rm -rf src 51 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/automake-$AUTOMAKE_VER.tar.gz" "automake-$AUTOMAKE_VER.tar.gz"52 tar -zxvf automake-$AUTOMAKE_VER.tar.gz53 mv automake-$ AUTOMAKE_VERsrc54 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/automake-${AUTOMAKE_VER}.tar.gz" "automake-${AUTOMAKE_VER}.tar.gz" 55 tar -zxvf automake-${AUTOMAKE_VER}.tar.gz 56 mv automake-${AUTOMAKE_VER} src 54 57 cd src 55 ./configure --prefix="$ ISSM_DIR/externalpackages/autotools/install"58 ./configure --prefix="${ISSM_DIR}/externalpackages/autotools/install" 56 59 make 57 60 make install … … 61 64 echo " === INSTALLING LIBTOOL ==" 62 65 rm -rf src 63 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/libtool-$LIBTOOL_VER.tar.gz" "libtool-$LIBTOOL_VER.tar.gz"64 tar -zxvf libtool-$LIBTOOL_VER.tar.gz65 rm libtool-$ LIBTOOL_VER.tar.gz66 mv libtool-$ LIBTOOL_VERsrc66 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/libtool-${LIBTOOL_VER}.tar.gz" "libtool-${LIBTOOL_VER}.tar.gz" 67 tar -zxvf libtool-${LIBTOOL_VER}.tar.gz 68 rm libtool-${LIBTOOL_VER}.tar.gz 69 mv libtool-${LIBTOOL_VER} src 67 70 cd src 68 ./configure --prefix="$ ISSM_DIR/externalpackages/autotools/install"71 ./configure --prefix="${ISSM_DIR}/externalpackages/autotools/install" 69 72 make 70 73 make install -
issm/trunk-jpl/externalpackages/autotools/install.sh
r24409 r24649 2 2 set -eu 3 3 4 #Version numbers 5 M4_VER="1.4.18" 4 5 ## Constants 6 # 6 7 AUTOCONF_VER="2.69" 7 8 AUTOMAKE_VER="1.16.1" 8 9 LIBTOOL_VER="2.4.2" 10 M4_VER="1.4.18" 9 11 10 # Clean up existing directories 12 ## Environment 13 # 14 export PATH="${ISSM_DIR}/externalpackages/autotools/install/bin:$PATH" 15 16 # Cleanup 11 17 rm -rf install src 12 13 # Set up for installation14 18 mkdir install 15 export PATH="$ISSM_DIR/externalpackages/autotools/install/bin:$PATH"16 19 17 20 # Install m4 18 21 echo " === INSTALLING M4 ==" 19 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/m4-$M4_VER.tar.gz" "m4-$M4_VER.tar.gz"20 tar -zxvf m4-$ M4_VER.tar.gz21 mv m4-$ M4_VERsrc22 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/m4-${M4_VER}.tar.gz" "m4-${M4_VER}.tar.gz" 23 tar -zxvf m4-${M4_VER}.tar.gz 24 mv m4-${M4_VER} src 22 25 cd src 23 ./configure --prefix="$ISSM_DIR/externalpackages/autotools/install" 26 27 ./configure --prefix="${ISSM_DIR}/externalpackages/autotools/install" 24 28 make 25 29 make install 26 30 cd .. 27 31 28 # install autoconf32 # Install Autoconf 29 33 echo " === INSTALLING AUTOCONF ==" 30 34 rm -rf src 31 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/autoconf-$AUTOCONF_VER.tar.gz" "autoconf-$AUTOCONF_VER.tar.gz"32 tar -zxvf autoconf-$ AUTOCONF_VER.tar.gz33 mv autoconf-$ AUTOCONF_VERsrc35 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/autoconf-${AUTOCONF_VER}.tar.gz" "autoconf-${AUTOCONF_VER}.tar.gz" 36 tar -zxvf autoconf-${AUTOCONF_VER}.tar.gz 37 mv autoconf-${AUTOCONF_VER} src 34 38 cd src 35 ./configure --prefix="$ ISSM_DIR/externalpackages/autotools/install"39 ./configure --prefix="${ISSM_DIR}/externalpackages/autotools/install" 36 40 make 37 41 make install 38 42 cd .. 39 43 40 # install automake44 # Install Automake 41 45 echo " === INSTALLING AUTOMAKE ==" 42 46 rm -rf src 43 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/automake-$AUTOMAKE_VER.tar.gz" "automake-$AUTOMAKE_VER.tar.gz"44 tar -zxvf automake-$AUTOMAKE_VER.tar.gz45 mv automake-$ AUTOMAKE_VERsrc47 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/automake-${AUTOMAKE_VER}.tar.gz" "automake-${AUTOMAKE_VER}.tar.gz" 48 tar -zxvf automake-${AUTOMAKE_VER}.tar.gz 49 mv automake-${AUTOMAKE_VER} src 46 50 cd src 47 ./configure --prefix="$ ISSM_DIR/externalpackages/autotools/install"51 ./configure --prefix="${ISSM_DIR}/externalpackages/autotools/install" 48 52 make 49 53 make install 50 54 cd .. 51 55 52 # install libtool56 # Install libtool 53 57 echo " === INSTALLING LIBTOOL ==" 54 58 rm -rf src 55 $ ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/libtool-$LIBTOOL_VER.tar.gz" "libtool-$LIBTOOL_VER.tar.gz"56 tar -zxvf libtool-$LIBTOOL_VER.tar.gz57 rm libtool-$ LIBTOOL_VER.tar.gz58 mv libtool-$ LIBTOOL_VERsrc59 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/libtool-${LIBTOOL_VER}.tar.gz" "libtool-${LIBTOOL_VER}.tar.gz" 60 tar -zxvf libtool-${LIBTOOL_VER}.tar.gz 61 rm libtool-${LIBTOOL_VER}.tar.gz 62 mv libtool-${LIBTOOL_VER} src 59 63 cd src 60 ./configure --prefix="$ ISSM_DIR/externalpackages/autotools/install"64 ./configure --prefix="${ISSM_DIR}/externalpackages/autotools/install" 61 65 make 62 66 make install -
issm/trunk-jpl/externalpackages/boost/install-1.55-linux-static.sh
r24593 r24649 16 16 VER="1_55_0" 17 17 18 ## E vnrionment18 ## Environment 19 19 # 20 20 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost … … 34 34 rm -rf boost_${VER} 35 35 36 # Copy customized source and configuration files to 'src' d riectory37 cp configs/1.55/ linux/boost/multi_index/ordered_index.hpp src/boost/multi_index36 # Copy customized source and configuration files to 'src' directory 37 cp configs/1.55/boost/multi_index/ordered_index.hpp src/boost/multi_index 38 38 39 39 # Configure … … 41 41 ./bootstrap.sh \ 42 42 --prefix="${ISSM_DIR}/externalpackages/boost/install" \ 43 --with-python=python2.7 \ 44 --with-python-root="${ISSM_DIR}/externalpackages/python/install" 43 --with-python=python2.7 45 44 46 45 # Modify project config to enable MPI -
issm/trunk-jpl/externalpackages/boost/install-1.55-linux.sh
r24593 r24649 34 34 rm -rf boost_${VER} 35 35 36 # Copy customized source and configuration files to 'src' d riectory37 cp configs/1.55/ linux/boost/multi_index/ordered_index.hpp src/boost/multi_index36 # Copy customized source and configuration files to 'src' directory 37 cp configs/1.55/boost/multi_index/ordered_index.hpp src/boost/multi_index 38 38 39 39 # Configure … … 41 41 ./bootstrap.sh \ 42 42 --prefix="${ISSM_DIR}/externalpackages/boost/install" \ 43 --with-python=python2.7 \ 44 --with-python-root="${ISSM_DIR}/externalpackages/python/install" 43 --with-python=python2.7 45 44 46 45 # Modify project config to enable MPI -
issm/trunk-jpl/externalpackages/dakota/install-6.2-linux-static.sh
r24639 r24649 10 10 ## Environment 11 11 # 12 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas -L ${ISSM_DIR}/lib-lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it12 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas -L/usr/lib/x86_64-linux-gnu -lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 13 13 export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install 14 14 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost (absolutely necessary for this version) … … 17 17 export DAK_INSTALL=${DAK_ROOT}/install 18 18 export DAK_SRC=${DAK_ROOT}/src 19 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack -L ${ISSM_DIR}/lib-lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it19 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack -L/usr/lib/x86_64-linux-gnu -lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 20 20 21 21 # Cleanup … … 33 33 rm -rf dakota-${VER}.0.src 34 34 35 # Copy customized source and configuration files to 'src' driectory 35 # Copy customized source and configuration files to 'src' directory 36 cp configs/${VER}/packages/DDACE/src/Analyzer/MainEffectsExcelOutput.cpp ${DAK_SRC}/packages/DDACE/src/Analyzer 37 cp configs/${VER}/packages/surfpack/src/surfaces/nkm/NKM_KrigingModel.cpp ${DAK_SRC}/packages/surfpack/src/surfaces/nkm 38 cp configs/${VER}/src/DakotaInterface.cpp ${DAK_SRC}/src 39 cp configs/${VER}/src/NonDLocalReliability.cpp ${DAK_SRC}/src 40 cp configs/${VER}/src/NonDSampling.cpp ${DAK_SRC}/src 41 42 # Copy customized source and configuration files specific to Linux to 'src' directory 36 43 cp configs/${VER}/linux/cmake/BuildDakotaCustom.cmake ${DAK_SRC}/cmake 37 44 cp configs/${VER}/linux/cmake/DakotaDev.cmake ${DAK_SRC}/cmake 38 cp configs/${VER}/linux/packages/DDACE/src/Analyzer/MainEffectsExcelOutput.cpp ${DAK_SRC}/packages/DDACE/src/Analyzer39 cp configs/${VER}/linux/packages/surfpack/src/surfaces/nkm/NKM_KrigingModel.cpp ${DAK_SRC}/packages/surfpack/src/surfaces/nkm40 cp configs/${VER}/linux/src/DakotaInterface.cpp ${DAK_SRC}/src41 cp configs/${VER}/linux/src/NonDLocalReliability.cpp ${DAK_SRC}/src42 cp configs/${VER}/linux/src/NonDSampling.cpp ${DAK_SRC}/src43 45 44 46 # Configure -
issm/trunk-jpl/externalpackages/dakota/install-6.2-linux.sh
r24639 r24649 33 33 rm -rf dakota-${VER}.0.src 34 34 35 # Copy customized source and configuration files to 'src' driectory 35 # Copy customized source and configuration files to 'src' directory 36 cp configs/${VER}/packages/DDACE/src/Analyzer/MainEffectsExcelOutput.cpp ${DAK_SRC}/packages/DDACE/src/Analyzer 37 cp configs/${VER}/packages/surfpack/src/surfaces/nkm/NKM_KrigingModel.cpp ${DAK_SRC}/packages/surfpack/src/surfaces/nkm 38 cp configs/${VER}/src/DakotaInterface.cpp ${DAK_SRC}/src 39 cp configs/${VER}/src/NonDLocalReliability.cpp ${DAK_SRC}/src 40 cp configs/${VER}/src/NonDSampling.cpp ${DAK_SRC}/src 41 42 # Copy customized source and configuration files specific to Linux to 'src' directory 36 43 cp configs/${VER}/linux/cmake/BuildDakotaCustom.cmake ${DAK_SRC}/cmake 37 44 cp configs/${VER}/linux/cmake/DakotaDev.cmake ${DAK_SRC}/cmake 38 cp configs/${VER}/linux/packages/DDACE/src/Analyzer/MainEffectsExcelOutput.cpp ${DAK_SRC}/packages/DDACE/src/Analyzer39 cp configs/${VER}/linux/packages/surfpack/src/surfaces/nkm/NKM_KrigingModel.cpp ${DAK_SRC}/packages/surfpack/src/surfaces/nkm40 cp configs/${VER}/linux/src/DakotaInterface.cpp ${DAK_SRC}/src41 cp configs/${VER}/linux/src/NonDLocalReliability.cpp ${DAK_SRC}/src42 cp configs/${VER}/linux/src/NonDSampling.cpp ${DAK_SRC}/src43 45 44 46 # Configure -
issm/trunk-jpl/externalpackages/petsc/install-3.7-mac.sh
r24427 r24649 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 … … 45 45 make -j $1 install 46 46 fi 47 48 # Return to initial directory49 cd .. -
issm/trunk-jpl/jenkins/jenkins.sh
r24647 r24649 547 547 548 548 # Check that MATLAB did not exit in error 549 matlabExitedInError=`grep -E " Activation cannot proceed|license" matlab_log.log | wc -l`549 matlabExitedInError=`grep -E "Error|Activation cannot proceed|license" matlab_log.log | wc -l` 550 550 551 551 if [ $matlabExitedInError -ne 0 ] -
issm/trunk-jpl/jenkins/pine-island-mac-dakota
r24642 r24649 1 #-------------------- -----------#2 # 1: ISSM general configuration #3 #-------------------- -----------#1 #--------------------# 2 # ISSM Configuration # 3 #--------------------# 4 4 5 5 # MATLAB path … … 8 8 # ISSM CONFIGURATION 9 9 ISSM_CONFIG='\ 10 --prefix=$ISSM_DIR \ 11 --with-matlab-dir=$MATLAB_PATH \ 10 --prefix=${ISSM_DIR} \ 11 --disable-static \ 12 --enable-development \ 13 --enable-debugging \ 14 --with-numthreads=4 \ 15 --with-matlab-dir=${MATLAB_PATH} \ 12 16 --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \ 13 17 --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \ 14 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \ 15 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \ 16 --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \ 17 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \ 18 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \ 19 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 20 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \ 21 --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \ 22 --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \ 23 --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \ 24 --with-boost-dir=$ISSM_DIR/externalpackages/boost/install \ 25 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \ 26 --with-cxxoptflags="-std=c++11" \ 27 --with-numthreads=4 \ 28 --enable-debugging \ 29 --enable-development' 18 --with-fortran-lib="-L/usr/local/gfortran/lib -lgfortran" \ 19 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 20 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ 21 --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 22 --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \ 23 --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 24 --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \ 25 --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \ 26 --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \ 27 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \ 28 --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \ 29 --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \ 30 --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \ 31 --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \ 32 ' 30 33 31 34 # Test suites … … 43 46 autotools install.sh 44 47 cmake install.sh 45 mpich install-3.3.sh 46 petsc install-3.7-mac.sh 48 petsc install-3.12-mac.sh 49 boost install-1.55-mac.sh 50 dakota install-6.2-mac.sh 47 51 triangle install-mac.sh 48 52 chaco install.sh 49 53 m1qn3 install.sh 50 54 semic install.sh 51 boost install-1.55-macosx-el_capitan.sh52 dakota install-6.2-macosx64.sh53 55 shell2junit install.sh 54 56 " -
issm/trunk-jpl/jenkins/pine_island-mac
r24642 r24649 1 #-------------------- -----------#2 # 1: ISSM general configuration #3 #-------------------- -----------#1 #--------------------# 2 # ISSM Configuration # 3 #--------------------# 4 4 5 5 # MATLAB path … … 8 8 # ISSM CONFIGURATION 9 9 ISSM_CONFIG='\ 10 --prefix=$ ISSM_DIR\10 --prefix=${ISSM_DIR} \ 11 11 --disable-static \ 12 --with-matlab-dir=$MATLAB_PATH \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 --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \17 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \18 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \19 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \20 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \21 --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \22 --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \23 --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \24 --with-numthreads=4 \25 12 --enable-development \ 26 13 --enable-debugging \ 14 --with-numthreads=4 \ 15 --with-matlab-dir=${MATLAB_PATH} \ 16 --with-fortran-lib="-L/usr/local/gfortran/lib -lgfortran" \ 17 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 18 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ 19 --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 20 --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \ 21 --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 22 --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \ 23 --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \ 24 --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \ 25 --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \ 26 --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \ 27 --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \ 27 28 ' 28 29 … … 33 34 EXAMPLES_TEST=0 34 35 35 #------------------- ----------------#36 # 3: External packages installation#37 #------------------- ----------------#36 #-------------------# 37 # External Packages # 38 #-------------------# 38 39 39 40 # List of external pakages to be installed and their installation scripts … … 41 42 autotools install.sh 42 43 cmake install.sh 43 petsc install-3.1 1-mac.sh44 petsc install-3.12-mac.sh 44 45 triangle install-mac.sh 45 46 chaco install.sh … … 49 50 " 50 51 51 #--------- --------#52 # 4: test options#53 #--------- --------#52 #---------# 53 # Testing # 54 #---------# 54 55 55 56 # Number of CPUs used in ISSM compilation -
issm/trunk-jpl/jenkins/pine_island-mac-binaries
r24642 r24649 1 #-------------------- -----------#2 # 1: ISSM general configuration #3 #-------------------- -----------#1 #--------------------# 2 # ISSM Configuration # 3 #--------------------# 4 4 5 5 # MATLAB path 6 6 MATLAB_PATH="/Applications/MATLAB_R2015b.app" 7 7 8 # NOTE: 9 # - We can disable dependency tracking in the Autotools because the binaries 10 # should always be a one-time build. 11 # - libgfortran is copied to $ISSM_DIR/lib by packaging script. 12 # 8 13 # ISSM CONFIGURATION 9 14 ISSM_CONFIG='\ 10 --prefix=$ ISSM_DIR\15 --prefix=${ISSM_DIR} \ 11 16 --disable-static \ 12 17 --enable-standalone-executables \ 18 --enable-standalone-modules \ 13 19 --enable-standalone-libraries \ 14 --with-fortran-lib="/usr/local/gfortran/lib/libgfortran.a /usr/local/gfortran/lib/libquadmath.a /usr/local/gfortran/lib/gcc/x86_64-apple-darwin14/5.2.0/libgcc.a" \ 15 --with-matlab-dir=$MATLAB_PATH \ 16 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \ 17 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi -lpmpi -lmpifort -lmpicxx" \ 18 --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \ 19 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \ 20 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \ 21 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 22 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \ 23 --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \ 24 --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \ 25 --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \ 26 --with-math77-dir=$ISSM_DIR/externalpackages/math77/install \ 20 --disable-dependency-tracking \ 21 --with-matlab-dir=${MATLAB_PATH} \ 22 --with-fortran-lib="-L/usr/local/gfortran/lib -lgfortran" \ 23 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 24 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ 25 --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 26 --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \ 27 --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 28 --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \ 29 --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \ 30 --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \ 31 --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \ 32 --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \ 33 --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \ 27 34 ' 28 35 … … 33 40 EXAMPLES_TEST=0 34 41 35 #------------------- ----------------#36 # 3: External packages installation#37 #------------------- ----------------#42 #-------------------# 43 # External Packages # 44 #-------------------# 38 45 39 # List of external pakages to be installed and their installation scripts40 #41 # NOTE:42 # - For SLR capabilities, we need gmsh, math77, and gmt43 # - GMT depends on GDAL and NetCDF44 #45 46 EXTERNALPACKAGES=" 46 47 autotools install.sh 47 48 cmake install.sh 48 mpich install-3.2-mac-static.sh 49 petsc install-3.7-mac-static.sh 49 petsc install-3.12-mac-static.sh 50 50 triangle install-mac-static.sh 51 51 chaco install.sh 52 52 m1qn3 install.sh 53 53 semic install.sh 54 math77 install.sh55 gmt install-mac-precompiled.sh56 gmsh install-mac-precompiled.sh57 54 shell2junit install.sh 58 55 " 59 56 60 #--------- --------#61 # 4: test options#62 #--------- --------#57 #---------# 58 # Testing # 59 #---------# 63 60 64 61 # Number of CPUs used in ISSM compilation … … 67 64 # compilation 68 65 # 69 NUMCPUS_INSTALL= 466 NUMCPUS_INSTALL=1 70 67 71 68 # Number of CPUs used in the nightly runs 72 NUMCPUS_RUN= 269 NUMCPUS_RUN=1 73 70 74 71 # Nightly run options -
issm/trunk-jpl/jenkins/pine_island-mac-binaries-with_dakota
r24642 r24649 1 #-------------------- -----------#2 # 1: ISSM general configuration #3 #-------------------- -----------#1 #--------------------# 2 # ISSM Configuration # 3 #--------------------# 4 4 5 5 # MATLAB path 6 6 MATLAB_PATH="/Applications/MATLAB_R2015b.app" 7 7 8 # NOTE: 9 # - We can disable dependency tracking in the Autotools because the binaries 10 # should always be a one-time build. 11 # - libgfortran is copied to $ISSM_DIR/lib by packaging script. 12 # 8 13 # ISSM CONFIGURATION 9 14 ISSM_CONFIG='\ 10 --prefix=$ ISSM_DIR\15 --prefix=${ISSM_DIR} \ 11 16 --disable-static \ 12 --with-matlab-dir=$MATLAB_PATH \ 13 --with-mpi-include=$ISSM_DIR/externalpackages/petsc/install/include \ 17 --enable-standalone-executables \ 18 --enable-standalone-modules \ 19 --enable-standalone-libraries \ 20 --disable-dependency-tracking \ 21 --with-matlab-dir=${MATLAB_PATH} \ 22 --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \ 23 --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \ 24 --with-fortran-lib="-L/usr/local/gfortran/lib -lgfortran" \ 25 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 14 26 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ 15 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \ 16 --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \ 17 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \ 18 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \ 19 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 20 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \ 21 --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \ 22 --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \ 23 --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \ 24 --with-numthreads=4 \ 25 --enable-development \ 26 --enable-debugging \ 27 --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 28 --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \ 29 --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 30 --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \ 31 --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \ 32 --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \ 33 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \ 34 --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \ 35 --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \ 36 --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \ 37 --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \ 27 38 ' 28 39 29 40 # Test suites 30 MATLAB_TEST= 141 MATLAB_TEST=0 31 42 PYTHON_TEST=0 32 43 JAVASCRIPT_TEST=0 33 44 EXAMPLES_TEST=0 34 45 35 #------------------- ----------------#36 # 3: External packages installation#37 #------------------- ----------------#46 #-------------------# 47 # External Packages # 48 #-------------------# 38 49 39 # List of external pakages to be installed and their installation scripts40 50 EXTERNALPACKAGES=" 41 51 autotools install.sh 42 52 cmake install.sh 43 petsc install-3.11-mac.sh 44 triangle install-mac.sh 53 petsc install-3.12-mac-static.sh 54 boost install-1.55-mac-static.sh 55 dakota install-6.2-mac-static.sh 56 triangle install-mac-static.sh 45 57 chaco install.sh 46 58 m1qn3 install.sh … … 49 61 " 50 62 51 #--------- --------#52 # 4: test options#53 #--------- --------#63 #---------# 64 # Testing # 65 #---------# 54 66 55 67 # Number of CPUs used in ISSM compilation … … 58 70 # compilation 59 71 # 60 NUMCPUS_INSTALL= 472 NUMCPUS_INSTALL=1 61 73 62 74 # Number of CPUs used in the nightly runs 63 NUMCPUS_RUN= 275 NUMCPUS_RUN=1 64 76 65 77 # Nightly run options 66 78 # 67 # See documentation in test/NightlyRun/runme.* for more information 79 # See documentation in test/NightlyRun/runme.* for more information. 68 80 # 69 # NOTE: 70 # - test701.m is skipped because it uses full Stokes equations 71 # 72 MATLAB_NROPTIONS="'exclude',[701,702,703,435,IdFromString('Dakota')]" 73 PYTHON_NROPTIONS="--exclude_name 'Dakota'" 81 PYTHON_NROPTIONS="" 82 MATLAB_NROPTIONS="" -
issm/trunk-jpl/jenkins/ross-debian_linux-binaries
r24648 r24649 5 5 MATLAB_PATH="/usr/local/MATLAB/R2019b" 6 6 7 # NOTE: We can disable dependency tracking in the Autotools because the 8 # binaries should always be a one-time build. 7 # NOTE: 8 # - We can disable dependency tracking in the Autotools because the binaries 9 # should always be a one-time build. 10 # - libgfortran will not be available in $ISSM_DIR/lib at compile time: it is 11 # copied by packaging script. 9 12 # 10 13 ISSM_CONFIG='\ -
issm/trunk-jpl/jenkins/ross-debian_linux-binaries-with_dakota
r24648 r24649 5 5 MATLAB_PATH="/usr/local/MATLAB/R2019b" 6 6 7 # NOTE: We can disable dependency tracking in the Autotools because the 8 # binaries should always be a one-time build. 7 # NOTE: 8 # - We can disable dependency tracking in the Autotools because the binaries 9 # should always be a one-time build. 10 # - libgfortran will not be available in $ISSM_DIR/lib at compile time: it is 11 # copied by packaging script. 9 12 # 10 13 ISSM_CONFIG='\ -
issm/trunk-jpl/m4/issm_options.m4
r24632 r24649 190 190 [VENDOR=""] dnl action if not given 191 191 ) 192 dnl defaults for host OS related variables 193 IS_MAC=no 194 IS_WINDOWS=no 192 195 AC_MSG_CHECKING([for vendor compilers]) 193 196 if test -n "${VENDOR}"; then … … 282 285 AC_SUBST([OSLIBS]) 283 286 AC_MSG_RESULT([done]) 287 288 AC_MSG_CHECKING([if this is a Mac build]) 289 dnl TODO: The following test is a POSIX-compliant way of testing for a 290 dnl substring, but is not very readable. Perhaps there is a more 291 dnl readable method of achieving the same? 292 if test "${host_os#*\"darwin\"}" == "$host_os"; then 293 IS_MAC=yes 294 fi 295 AM_CONDITIONAL([MAC], [test "${IS_MAC}" == "yes"]) 296 AC_MSG_RESULT([${IS_MAC}]) 297 298 AC_MSG_CHECKING([if this is a Windows build]) 299 AM_CONDITIONAL([WINDOWS], [test "x${IS_WINDOWS}" == "xyes"]) 300 AC_MSG_RESULT([${IS_WINDOWS}]) 284 301 dnl }}} 285 302 dnl MATLAB{{{ … … 368 385 AC_SUBST([MEXLINK]) 369 386 fi 370 dnl }}}371 dnl Windows {{{372 AC_MSG_CHECKING([Checking if this is a Windows build... ])373 AM_CONDITIONAL([WINDOWS], [test "x${IS_WINDOWS}" == "xyes"])374 AC_MSG_RESULT([done])375 387 dnl }}} 376 388 dnl JavaScript{{{ -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-with_dakota.sh
r24632 r24649 6 6 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself 7 7 LIBGFORTRAN_DIST="${ISSM_DIR}/lib/libgfortran.so.5" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 8 MATLAB_NROPTIONS="'id',[IdFromString('Dakota')],'exclude',[234,244,250,417,444,445]" 9 MATLAB_PATH="/usr/local/MATLAB/R2019b" # Exclude any tests with transient solutions that require a restart8 MATLAB_NROPTIONS="'id',[IdFromString('Dakota')],'exclude',[234,244,250,417,444,445]" # Exclude any tests with transient solutions that require a restart 9 MATLAB_PATH="/usr/local/MATLAB/R2019b" 10 10 PACKAGE="ISSM" # Name of directory to copy distributable files to 11 11 … … 47 47 # Add/modify required libraries 48 48 echo "Moving libgfortran to lib/" 49 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 49 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null 50 50 51 51 # Run tests … … 63 63 # Check that MATLAB did not exit in error 64 64 matlabExitCode=`echo $?` 65 matlabExitedInError=`grep -E " Activation cannot proceed|license|Error" matlab.log | wc -l`65 matlabExitedInError=`grep -E "Error|Activation cannot proceed|license" matlab.log | wc -l` 66 66 67 67 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then … … 99 99 # Check that Python did not exit in error 100 100 pythonExitCode=`echo $?` 101 pythonExitedInError=`grep -E " runme.py: error" python.log | wc -l`101 pythonExitedInError=`grep -E "Error|Traceback|bad interpreter" python.log | wc -l` 102 102 103 103 if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries.sh
r24632 r24649 37 37 38 38 echo "Moving libgfortran to lib/" 39 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 39 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null 40 40 41 41 # Run tests … … 53 53 # Check that MATLAB did not exit in error 54 54 matlabExitCode=`echo $?` 55 matlabExitedInError=`grep -E " Activation cannot proceed|license|Error" matlab.log | wc -l`55 matlabExitedInError=`grep -E "Error|Activation cannot proceed|license" matlab.log | wc -l` 56 56 57 57 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then
Note:
See TracChangeset
for help on using the changeset viewer.