Changeset 26950
- Timestamp:
- 04/10/22 13:17:30 (3 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 1 added
- 1 deleted
- 12 edited
- 2 copied
- 10 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/etc/environment.sh
r26885 r26950 507 507 SQLITE_ROOT="${ISSM_EXT_DIR}/sqlite/install" 508 508 if [ -d "${SQLITE_ROOT}" ]; then 509 path_append "${SQLITE_ROOT}/bin" 510 library_path_append "${SQLITE_ROOT}/lib" 511 ld_library_path_append "${SQLITE_ROOT}/lib" 509 path_prepend "${SQLITE_ROOT}/bin" 510 cpath_prepend "${SQLITE_ROOT}/include" 511 library_path_prepend "${SQLITE_ROOT}/lib" 512 ld_library_path_prepend "${SQLITE_ROOT}/lib" 512 513 fi 513 514 -
issm/trunk-jpl/externalpackages/dakota/install-6.2-pleiades.sh
r26775 r26950 2 2 set -eu 3 3 4 #Some cleanup5 rm -rf Dakota6 rm -rf src7 rm -rf build8 rm -rf install9 mkdir src build install10 4 11 #Download from ISSM server 12 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/dakota-6.2-public.src.tar.gz' 'dakota-6.2-public-src.tar.gz' 5 ## Constants 6 # 7 VER="6.2" 13 8 14 #Untar 15 tar -zxvf dakota-6.2-public-src.tar.gz 9 PREFIX="${ISSM_DIR}/externalpackages/dakota/install" # Set to location where external package should be installed 16 10 17 #Move Dakota to src directory 18 mv dakota-6.2.0.src/* src 19 rm -rf dakota-6.2.0.src 11 ## Environment 12 # 13 export BLAS_LIBS="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64/ -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it; should upate to /nasa/intel/Compiler/2021.4.0/mkl/2021.4.0/lib/intel64 14 export CXXFLAGS='-std=c++11' 15 export DAK_BUILD=${ISSM_DIR}/externalpackages/dakota/build # DO NOT CHANGE THIS 16 export DAK_INSTALL=${PREFIX} # DO NOT CHANGE THIS 17 export DAK_SRC=${ISSM_DIR}/externalpackages/dakota/src # DO NOT CHANGE THIS 18 export LAPACK_LIBS="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64/lib/intel64/ -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it; should upate to /nasa/intel/Compiler/2021.4.0/mkl/2021.4.0/lib/intel64 20 19 21 #Set up Dakota cmake variables and config 22 export DAK_SRC=$ISSM_DIR/externalpackages/dakota/src 23 export DAK_BUILD=$ISSM_DIR/externalpackages/dakota/build 24 export BOOST_ROOT=$ISSM_DIR/externalpackages/boost/install 20 # Cleanup 21 rm -rf ${DAK_BUILD} ${DAK_INSTALL} ${DAK_SRC} 22 mkdir -p ${DAK_BUILD} ${DAK_INSTALL} ${DAK_SRC} 25 23 26 export CXXFLAGS='-std=c++11' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost (absolutely necessary for this version) 24 # Download source 25 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/dakota-${VER}-public.src.tar.gz" "dakota-${VER}-public-src.tar.gz" 27 26 28 cp $DAK_SRC/cmake/BuildDakotaTemplate.cmake $DAK_SRC/cmake/BuildDakotaCustom.cmake 29 patch $DAK_SRC/cmake/BuildDakotaCustom.cmake configs/6.2/BuildDakotaCustom.cmake.pfe.patch 30 patch $DAK_SRC/cmake/DakotaDev.cmake configs/6.2/DakotaDev.cmake.patch 31 patch $DAK_SRC/CMakeLists.txt configs/6.2/CMakeLists.txt.pfe.patch 27 # Unpack source 28 tar -zxvf dakota-${VER}-public-src.tar.gz 32 29 33 #Apply patches 34 patch src/src/NonDSampling.cpp configs/6.2/NonDSampling.cpp.patch 35 patch src/src/NonDLocalReliability.cpp configs/6.2/NonDLocalReliability.cpp.patch 36 patch src/packages/pecos/src/pecos_global_defs.hpp configs/6.2/pecos_global_defs.hpp.patch 30 # Move source to 'src' directory 31 mv dakota-${VER}.0.src/* ${DAK_SRC} 32 rm -rf dakota-${VER}.0.src 37 33 38 #Configure dakota 39 cd $DAK_BUILD 34 # Copy customized source and configuration files to 'src' directory 35 cp configs/${VER}/packages/DDACE/src/Analyzer/MainEffectsExcelOutput.cpp ${DAK_SRC}/packages/DDACE/src/Analyzer 36 cp configs/${VER}/packages/queso/src/misc/src/1DQuadrature.C ${DAK_SRC}/packages/queso/src/misc/src 37 cp configs/${VER}/packages/surfpack/src/surfaces/nkm/NKM_KrigingModel.cpp ${DAK_SRC}/packages/surfpack/src/surfaces/nkm 38 cp configs/${VER}/packages/VPISparseGrid/src/sandia_rules.cpp ${DAK_SRC}/packages/VPISparseGrid/src 39 cp configs/${VER}/src/DakotaInterface.cpp ${DAK_SRC}/src 40 cp configs/${VER}/src/NonDLocalReliability.cpp ${DAK_SRC}/src 41 cp configs/${VER}/src/NonDSampling.cpp ${DAK_SRC}/src 40 42 43 # Copy customized source and configuration files specific to Linux to 'src' directory 44 cp configs/${VER}/linux/cmake/BuildDakotaCustom.pleiades.cmake ${DAK_SRC}/cmake/BuildDakotaCustom.cmake 45 cp configs/${VER}/linux/cmake/DakotaDev.cmake ${DAK_SRC}/cmake 46 47 # Configure 48 cd ${DAK_BUILD} 41 49 cmake \ 42 -DBOOST_ROOT:PATHNAME=$BOOST_ROOT \43 -DBoost_LIBRARY_DIRS:FILEPATH=${BOOST_ROOT}/lib \44 -DBoost_INCLUDE_DIR:FILEPATH=${BOOST_ROOT}/include \45 -DBoost_NO_BOOST_CMAKE=TRUE \46 -DBoost_NO_SYSTEM_PATHS=TRUE \47 50 -DBUILD_SHARED_LIBS=ON \ 48 51 -DBUILD_STATIC_LIBS=OFF \ … … 50 53 -DCMAKE_C_FLAGS="-Wno-error=implicit-function-declaration" \ 51 54 -DCMAKE_CXX_COMPILER=mpicxx \ 52 -DCMAKE_CXX_FLAGS="-lstdc++" \53 55 -DCMAKE_Fortran_COMPILER=/usr/bin/gfortran \ 56 -DBoost_NO_BOOST_CMAKE=TRUE \ 54 57 -DHAVE_ACRO=OFF \ 55 58 -DHAVE_JEGA=OFF \ … … 60 63 ${DAK_SRC} 61 64 62 cd .. 63 64 #Compile and install dakota 65 cd $DAK_BUILD 66 if [ $# -eq 0 ]; 67 then 65 # Compile and install 66 if [ $# -eq 0 ]; then 68 67 make 69 68 make install … … 72 71 make -j $1 install 73 72 fi 74 cd .. 73 74 cd ${DAK_INSTALL} 75 76 # Comment out definition of HAVE_MPI in Teuchos config header file in order to 77 # avoid conflict with our definition 78 sed -i -e "s/#define HAVE_MPI/\/* #define HAVE_MPI *\//g" include/Teuchos_config.h -
issm/trunk-jpl/externalpackages/hdf5/install-1-parallel-with_tests.sh
r26949 r26950 6 6 # 7 7 VER="1.10.5" 8 ZLIB_ROOT="${ISSM_DIR}/externalpackages/zlib/install" 8 9 PREFIX="${ISSM_DIR}/externalpackages/hdf5/install" # Set to location where external package should be installed 9 10 10 11 ## Environnment … … 16 17 17 18 # Untar source 18 tar -zxvf hdf5-$ VER.tar.gz19 tar -zxvf hdf5-${VER}.tar.gz 19 20 20 21 # Cleanup … … 23 24 24 25 # Move source to 'src' directory 25 mv hdf5-$ VER/* src/26 rm -rf hdf5-$ VER26 mv hdf5-${VER}/* src/ 27 rm -rf hdf5-${VER} 27 28 28 29 # Configure 29 30 cd src 30 31 ./configure \ 31 --prefix="${ ISSM_DIR}/externalpackages/hdf5/install" \32 --prefix="${PREFIX}" \ 32 33 --enable-parallel \ 33 --with-zlib= ${ZLIB_ROOT}\34 --with-zlib="${ZLIB_ROOT}" \ 34 35 --enable-hl 35 36 … … 45 46 make -j $1 install 46 47 fi 47 48 # Return to initial directory49 cd .. -
issm/trunk-jpl/externalpackages/hdf5/install-1-parallel.sh
r26949 r26950 6 6 # 7 7 VER="1.10.5" 8 ZLIB_ROOT="${ISSM_DIR}/externalpackages/zlib/install" 8 9 PREFIX="${ISSM_DIR}/externalpackages/hdf5/install" # Set to location where external package should be installed 9 10 10 11 ## Environnment … … 16 17 17 18 # Untar source 18 tar -zxvf hdf5-$ VER.tar.gz19 tar -zxvf hdf5-${VER}.tar.gz 19 20 20 21 # Cleanup … … 23 24 24 25 # Move source to 'src' directory 25 mv hdf5-$ VER/* src/26 rm -rf hdf5-$ VER26 mv hdf5-${VER}/* src/ 27 rm -rf hdf5-${VER} 27 28 28 29 # Configure 29 30 cd src 30 31 ./configure \ 31 --prefix="${ ISSM_DIR}/externalpackages/hdf5/install" \32 --prefix="${PREFIX}" \ 32 33 --enable-parallel \ 33 --with-zlib= ${ZLIB_ROOT}\34 --with-zlib="${ZLIB_ROOT}" \ 34 35 --enable-hl 35 36 … … 43 44 make -j $1 install 44 45 fi 45 46 # Return to initial directory47 cd .. -
issm/trunk-jpl/externalpackages/hdf5/install-1-with_tests.sh
r26949 r26950 6 6 # 7 7 VER="1.10.5" 8 ZLIB_ROOT="${ISSM_DIR}/externalpackages/zlib/install" 8 9 PREFIX="${ISSM_DIR}/externalpackages/hdf5/install" # Set to location where external package should be installed 9 10 10 11 # Download source … … 12 13 13 14 # Untar source 14 tar -zxvf hdf5-$ VER.tar.gz15 tar -zxvf hdf5-${VER}.tar.gz 15 16 16 17 # Cleanup … … 19 20 20 21 # Move source to 'src' directory 21 mv hdf5-$ VER/* src/22 rm -rf hdf5-$ VER22 mv hdf5-${VER}/* src/ 23 rm -rf hdf5-${VER} 23 24 24 25 # Configure 25 26 cd src 26 27 ./configure \ 27 --prefix="${ ISSM_DIR}/externalpackages/hdf5/install" \28 --with-zlib= ${ZLIB_ROOT}\28 --prefix="${PREFIX}" \ 29 --with-zlib="${ZLIB_ROOT}" \ 29 30 --enable-hl 30 31 … … 40 41 make -j $1 install 41 42 fi 42 43 # Return to initial directory44 cd .. -
issm/trunk-jpl/externalpackages/hdf5/install-1.sh
r26949 r26950 6 6 # 7 7 VER="1.10.5" 8 ZLIB_ROOT="${ISSM_DIR}/externalpackages/zlib/install" 8 9 PREFIX="${ISSM_DIR}/externalpackages/hdf5/install" # Set to location where external package should be installed 9 10 10 11 # Download source … … 12 13 13 14 # Untar source 14 tar -zxvf hdf5-$ VER.tar.gz15 tar -zxvf hdf5-${VER}.tar.gz 15 16 16 17 # Cleanup … … 19 20 20 21 # Move source to 'src' directory 21 mv hdf5-$ VER/* src/22 rm -rf hdf5-$ VER22 mv hdf5-${VER}/* src/ 23 rm -rf hdf5-${VER} 23 24 24 25 # Configure 25 26 cd src 26 27 ./configure \ 27 --prefix="${ ISSM_DIR}/externalpackages/hdf5/install" \28 --with-zlib= ${ZLIB_ROOT}\28 --prefix="${PREFIX}" \ 29 --with-zlib="${ZLIB_ROOT}" \ 29 30 --enable-hl 30 31 … … 38 39 make -j $1 install 39 40 fi 40 41 # Return to initial directory42 cd .. -
issm/trunk-jpl/externalpackages/petsc/install-3.14-linux.sh
r26239 r26950 11 11 12 12 # Download source 13 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https:// ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz"13 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 14 14 15 15 # Unpack source -
issm/trunk-jpl/externalpackages/petsc/install-3.14-mac.sh
r25800 r26950 4 4 5 5 ## Constants 6 # 6 7 VER="3.14.0" 7 8 9 PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS 10 PREFIX="${ISSM_DIR}/externalpackages/petsc/install" # Set to location where external package should be installed 11 8 12 # Download source 9 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https:// ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz"13 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 10 14 11 15 # Unpack source … … 13 17 14 18 # Cleanup 15 rm -rf install src16 mkdir install src19 rm -rf ${PREFIX} ${PETSC_DIR} 20 mkdir ${PETSC_DIR} 17 21 18 # Move source to 'src' directory19 mv petsc-${VER}/* src/22 # Move source to $PETSC_DIR 23 mv petsc-${VER}/* ${PETSC_DIR} 20 24 rm -rf petsc-${VER} 21 25 … … 23 27 # 24 28 # NOTE: 29 # - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12. 30 # (may need to remove it for earlier versions not using the C99 standard). 25 31 # - Added -fallow-argument-mismatch to FFLAGS in order to clear, 26 32 # … … 29 35 # 30 36 # for gfortran 10 or later (may need to remove it for earlier versions). 31 # - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12.32 # (may need to remove it for earlier versions not using the C99 standard).33 37 # 34 cd src38 cd ${PETSC_DIR} 35 39 ./config/configure.py \ 36 --prefix="${ ISSM_DIR}/externalpackages/petsc/install" \37 --PETSC_DIR="${ ISSM_DIR}/externalpackages/petsc/src" \40 --prefix="${PREFIX}" \ 41 --PETSC_DIR="${PETSC_DIR}" \ 38 42 --CFLAGS="-Wno-error=implicit-function-declaration" \ 39 43 --FFLAGS="-fallow-argument-mismatch" \ -
issm/trunk-jpl/externalpackages/petsc/install-3.14-pleiades.sh
r26771 r26950 3 3 4 4 5 # NOTE: There is a single difference between the Linux and macOS 6 # configurations, which is the addition of the -static-libgfortran 7 # option to FFLAGS on the macOS static configurations. For the sake of 8 # consistency, we maintain separate files for each, respective Linux and 9 # macOS configuration. 10 11 # Constants 5 ## Constants 6 # 12 7 VER="3.14.0" 13 8 9 PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS 10 PREFIX="${ISSM_DIR}/externalpackages/petsc/install" # Set to location where external package should be installed 11 14 12 # Download source 15 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https:// ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz"13 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 16 14 17 15 # Unpack source … … 19 17 20 18 # Cleanup 21 rm -rf install src22 mkdir install src19 rm -rf ${PREFIX} ${PETSC_DIR} 20 mkdir ${PETSC_DIR} 23 21 24 # Move source to 'src' directory25 mv petsc-${VER}/* src/22 # Move source to $PETSC_DIR 23 mv petsc-${VER}/* ${PETSC_DIR} 26 24 rm -rf petsc-${VER} 27 25 28 26 # Configure 29 cd src27 cd ${PETSC_DIR} 30 28 ./config/configure.py \ 31 COPTFLAGS="-g -O3" CXXOPTFLAGS="-g -O3" FOPTFLAGS="-g -O3" \ 32 --prefix="${ISSM_DIR}/externalpackages/petsc/install" \ 33 --PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" \ 29 --prefix="${PREFIX}" \ 30 --PETSC_DIR="${PETSC_DIR}" \ 31 --CFLAGS="-g -O3" \ 32 --CXXFLAGS="-g -O3" \ 33 --FFLAGS="-g -O3" \ 34 34 --with-debugging=0 \ 35 35 --with-valgrind=0 \ … … 41 41 --with-scalapack-include=/nasa/intel/Compiler/2018.3.222/mkl/include \ 42 42 --with-scalapack-lib="/nasa/intel/Compiler/2018.3.222/mkl/lib/intel64/libmkl_scalapack_lp64.so /nasa/intel/Compiler/2018.3.222/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so" \ 43 --with-shared-libraries=1 \44 43 --download-metis=1 \ 45 44 --download-parmetis=1 \ 46 --download-scalapack=0 \ 47 --download-mumps=1 45 --download-scalapack=0 48 46 49 47 # Compile and install -
issm/trunk-jpl/externalpackages/petsc/install-3.15-pleiades.sh
r26803 r26950 7 7 VER="3.15.0" 8 8 9 PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS 10 PREFIX="${ISSM_DIR}/externalpackages/petsc/install" # Set to location where external package should be installed 11 9 12 # Download source 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.15.0.tar.gz' 'petsc-3.15.0.tar.gz'13 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 11 14 12 15 # Unpack source … … 28 31 cd src 29 32 ./config/configure.py \ 30 --prefix="${ ISSM_DIR}/externalpackages/petsc/install" \31 --PETSC_DIR="${ ISSM_DIR}/externalpackages/petsc/src" \33 --prefix="${PREFIX}" \ 34 --PETSC_DIR="${PETSC_DIR}" \ 32 35 --with-blas-lapack-dir="/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl" \ 33 36 --with-scalapack-include=/nasa/intel/Compiler/2018.3.222/mkl/include \ -
issm/trunk-jpl/externalpackages/petsc/install-3.16-pleiades.sh
r26949 r26950 5 5 ## Constants 6 6 # 7 VER="3.15.0" 7 VER="3.16.4" 8 9 PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS 10 PREFIX="${ISSM_DIR}/externalpackages/petsc/install" # Set to location where external package should be installed 8 11 9 12 # Download source 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.15.0.tar.gz' 'petsc-3.15.0.tar.gz'13 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 11 14 12 15 # Unpack source 13 tar -zxvf petsc- 3.15.0.tar.gz16 tar -zxvf petsc-${VER}.tar.gz 14 17 15 18 # Cleanup … … 18 21 19 22 # Move source to $PETSC_DIR 20 mv petsc- 3.15.0/* src/21 rm -rf petsc- 3.15.023 mv petsc-${VER}/* src/ 24 rm -rf petsc-${VER} 22 25 23 26 … … 28 31 cd src 29 32 ./config/configure.py \ 30 --prefix="${ ISSM_DIR}/externalpackages/petsc/install" \31 --PETSC_DIR="${ ISSM_DIR}/externalpackages/petsc/src" \33 --prefix="${PREFIX}" \ 34 --PETSC_DIR="${PETSC_DIR}" \ 32 35 --with-blas-lapack-dir="/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl" \ 33 36 --with-scalapack-include=/nasa/intel/Compiler/2018.3.222/mkl/include \ -
issm/trunk-jpl/externalpackages/sqlite/install.sh
r25968 r26950 3 3 4 4 5 # Constants 6 # 5 7 VER="3300100" 6 8 9 PREFIX="${ISSM_DIR}/externalpackages/sqlite/install" # Set to location where external package should be installed 10 7 11 # Cleanup 8 rm -rf installsrc9 mkdir installsrc12 rm -rf ${PREFIX} src 13 mkdir -p ${PREFIX} src 10 14 11 15 # Download source … … 13 17 14 18 # Unpack source 15 tar -zxvf sqlite-autoconf-$ VER.tar.gz19 tar -zxvf sqlite-autoconf-${VER}.tar.gz 16 20 17 21 # Move source into 'src' directory 18 mv sqlite-autoconf-$ VER/* src19 rm -rf sqlite-autoconf-$ VER22 mv sqlite-autoconf-${VER}/* src 23 rm -rf sqlite-autoconf-${VER} 20 24 21 25 # Configure 22 26 cd src 23 27 ./configure \ 24 --prefix="${ ISSM_DIR}/externalpackages/sqlite/install"28 --prefix="${PREFIX}" 25 29 26 30 # Compile and install -
issm/trunk-jpl/jenkins/pleiades-dakota
r26752 r26950 9 9 --with-wrappers=no \ 10 10 --with-vendor="intel-pleiades-mpi" \ 11 --with-cxxoptflags="-O3 " \ 11 12 --with-petsc-dir="${ISSM_DIR}/externalpackages/petsc/install" \ 12 13 --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \ 13 --with-boost-dir= /nasa/pkgsrc/sles12/2018Q3\14 --with-boost-dir="${ISSM_DIR}/externalpackages/boost/install" \ 14 15 --with-dakota-dir="${ISSM_DIR}/externalpackages/dakota/install" \ 15 --with-gsl-dir= /nasa/pkgsrc/sles12/2018Q3\16 --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \ 16 17 --with-mpi-include=" " \ 17 18 --with-mpi-libflags=" -lmpi" \ 18 --with-mkl-libflags="-L/nasa/intel/Compiler/201 6.2.181/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -limf -lsvml -lirc" \19 --with-mkl-libflags="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm" \ 19 20 --with-metis-dir="${ISSM_DIR}/externalpackages/petsc/install" \ 20 21 --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \ 21 22 --with-mumps-dir="${ISSM_DIR}/externalpackages/petsc/install" \ 22 --with-scalapack- dir=/nasa/pkgsrc/sles12/2018Q3\23 --with-scalapack-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so" \ 23 24 --with-graphics-lib="/usr/lib64/libX11.so" \ 24 --with-fortran-lib="-L/nasa/intel/Compiler/201 6.2.181/compilers_and_libraries_2016.2.181/linux/compiler/lib/intel64/ -lifcore -lifport" \25 --with-fortran-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/ -lifcore -lifport -lgfortran" \ 25 26 ' 26 27 … … 29 30 #-------------------# 30 31 32 # NOTE: Python 3 is installed only as a build system for GSL 31 33 EXTERNALPACKAGES=" 32 petsc install-3.13-pleiades.sh 34 python install-3-linux.sh 35 petsc install-3.14-pleiades.sh 36 gsl install-pleiades.sh 37 boost install-1.55-pleiades.sh 33 38 dakota install-6.2-pleiades.sh 34 39 m1qn3 install.sh … … 53 58 54 59 # Number of CPUs used in the nightly runs 55 NUMCPUS_RUN= 260 NUMCPUS_RUN=1 56 61 57 62 # Nightly run options -
issm/trunk-jpl/jenkins/pleiades-solid_earth
r26946 r26950 9 9 --with-wrappers=no \ 10 10 --with-vendor="intel-pleiades-mpi" \ 11 --with-cxxoptflags="-O3 " \ 11 12 --with-petsc-dir="${ISSM_DIR}/externalpackages/petsc/install" \ 12 13 --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \ 13 --with-boost-dir= /nasa/pkgsrc/sles12/2018Q3\14 --with-boost-dir="${ISSM_DIR}/externalpackages/boost/install" \ 14 15 --with-dakota-dir="${ISSM_DIR}/externalpackages/dakota/install" \ 15 --with-gsl-dir= /nasa/pkgsrc/sles12/2018Q3\16 --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \ 16 17 --with-mpi-include=" " \ 17 18 --with-mpi-libflags=" -lmpi" \ 18 --with-mkl-libflags="-L/nasa/intel/Compiler/201 6.2.181/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -limf -lsvml -lirc" \19 --with-mkl-libflags="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm" \ 19 20 --with-metis-dir="${ISSM_DIR}/externalpackages/petsc/install" \ 20 21 --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \ 21 22 --with-mumps-dir="${ISSM_DIR}/externalpackages/petsc/install" \ 22 --with-scalapack- dir=/nasa/pkgsrc/sles12/2018Q3\23 --with-scalapack-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so" \ 23 24 --with-graphics-lib="/usr/lib64/libX11.so" \ 24 --with-fortran-lib="-L/nasa/intel/Compiler/201 6.2.181/compilers_and_libraries_2016.2.181/linux/compiler/lib/intel64/ -lifcore -lifport" \25 --with-fortran-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/ -lifcore -lifport -lgfortran" \ 25 26 ' 26 27 … … 29 30 #-------------------# 30 31 32 # NOTE: 33 # - Python 3 is installed only as a build system for GSL 34 # - shell2junit is included to run test suites via jenkins.sh 35 # 31 36 EXTERNALPACKAGES=" 32 petsc install-3.13-pleiades.sh 33 dakota install-6.2-pleiades.sh 34 m1qn3 install.sh 37 python install-3-linux.sh 38 petsc install-3.14-pleiades.sh 39 zlib install-1.sh 40 hdf5 install-1-parallel.sh 41 gsl install-pleiades.sh 42 boost install-1.55-pleiades.sh 43 dakota install-6.2-pleiades.sh 44 curl install-7-linux.sh 45 netcdf install-4.7-parallel.sh 46 sqlite install.sh 47 proj install-6.sh 48 gdal install-3-python.sh 49 gshhg install.sh 50 gmt install-6-linux.sh 51 gmsh install-4.sh 52 triangle install-linux.sh 53 chaco install.sh 54 m1qn3 install.sh 55 semic install.sh 35 56 " 36 57 … … 53 74 54 75 # Number of CPUs used in the nightly runs 55 NUMCPUS_RUN= 276 NUMCPUS_RUN=1 56 77 57 78 # Nightly run options -
issm/trunk-jpl/m4/issm_options.m4
r26934 r26950 292 292 export CFLAGS="-O3 -D_INTEL_LINUX_ -DMPICH_IGNORE_CXX_SEEK" 293 293 elif test "${VENDOR}" == "intel-discover"; then 294 295 294 export CC=mpicc 295 export CXX=mpicxx 296 296 export CXXFLAGS="-O3 -D_INTEL_LINUX_ -DMPICH_IGNORE_CXX_SEEK -std=c++11" 297 297 export CFLAGS="-O3 -D_INTEL_LINUX_ -DMPICH_IGNORE_CXX_SEEK" -
issm/trunk-jpl/packagers/mac/sign-issm-mac-binaries-matlab.sh
r26762 r26950 67 67 # NOTE: May be able to remove this after updating macOS. 68 68 # 69 alias svn='/usr/local/bin/svn'69 #alias svn='/usr/local/bin/svn' 70 70 71 71 ## Override certain other aliases -
issm/trunk-jpl/packagers/mac/sign-issm-mac-binaries-python.sh
r26762 r26950 67 67 # NOTE: May be able to remove this after updating macOS. 68 68 # 69 alias svn='/usr/local/bin/svn'69 #alias svn='/usr/local/bin/svn' 70 70 71 71 ## Override certain other aliases -
issm/trunk-jpl/scripts/DownloadExternalPackage.sh
r25932 r26950 41 41 42 42 ## Download file 43 # 44 if [ ! -z `which curl` ]; then 45 curl --silent $URL -o $OUT_FILE 43 46 44 if [ ! -z `which curl` ] 45 then 46 curl --silent $URL -o $OUT_FILE 47 elif [ ! -z `which wget` ] 48 then 47 # Try wget if curl exists but fails 48 if [ $? -ne 0 ]; then 49 if [ ! -z `which wget` ]; then 50 wget --quiet -O $OUT_FILE $URL 51 52 if [ $? -ne 0 ]; then 53 echo "Error: both curl and wget failed. To debug, download package manually using curl without '--silent' option and/or wget without '--quiet' option." 54 exit 0 55 fi 56 else 57 echo $MSG_ERR_NO_GET_CMD 58 exit 0 59 fi 60 fi 61 elif [ ! -z `which wget` ]; then 49 62 wget --quiet -O $OUT_FILE $URL 50 63 else 51 64 echo $MSG_ERR_NO_GET_CMD 52 exit 053 65 fi 54 55 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.