source:
issm/oecreview/Archive/24684-25833/ISSM-24823-24824.diff
Last change on this file was 25834, checked in by , 4 years ago | |
---|---|
File size: 32.9 KB |
-
../trunk-jpl/jenkins/ross-debian_linux-codipack
38 38 autotools install-debian-linux.sh 39 39 cmake install.sh 40 40 petsc install-3.12-linux.sh 41 gsl install -linux.sh41 gsl install.sh 42 42 triangle install-linux.sh 43 43 chaco install.sh 44 44 m1qn3 install.sh -
../trunk-jpl/jenkins/pine_island-mac-binaries-with_dakota
28 28 --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 29 29 --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \ 30 30 --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \ 31 --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \ 32 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \ 31 33 --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \ 32 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \33 34 --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \ 34 35 --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \ 35 36 --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \ … … 50 51 autotools install.sh 51 52 cmake install.sh 52 53 petsc install-3.12-mac-static.sh 53 boost install-1.72-mac-static.sh 54 gsl install-static.sh 55 boost install-1.7-mac-static.sh 54 56 dakota install-6.2-mac-static.sh 55 57 triangle install-mac-static.sh 56 58 chaco install.sh -
../trunk-jpl/m4/issm_options.m4
536 536 DAKOTAFLAGS="" 537 537 538 538 dnl NOTE: 539 dnl - See $ISSM_DIR/dakota/build/src/Makefile.export.Dakota for the 540 dnl flags needed by your combination of Boost and Dakota versions 539 dnl - See, 540 dnl 541 dnl $ISSM_DIR/externalpackages/dakota/build/src/Makefile.export.Dakota 542 dnl 543 dnl for the flags needed by your combination of Boost and Dakota 544 dnl versions 541 545 dnl - We know $DAKOTA_ROOT cannot be empty at this point, so no need to 542 546 dnl check again in the following conditionals 543 547 dnl … … 567 571 AC_DEFINE([DAKOTA_HAVE_MPI], [1], [enabling Dakota with MPI]) 568 572 elif test "${DAKOTA_VERSION}" == "6.1" || test "${DAKOTA_VERSION}" == "6.2"; then 569 573 if test "${BOOST_VERSION_MAJOR}" == "1"; then 570 if test "${BOOST_VERSION_MINOR}" == "55"; then 571 DAKOTAFLAGS="-DDISABLE_DAKOTA_CONFIG_H -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DDAKOTA_PLUGIN -DBOOST_DISABLE_ASSERTS -DDAKOTA_HAVE_BOOST_FS -DHAVE_UNISTD_H -DHAVE_SYSTEM -DHAVE_WORKING_FORK -DHAVE_WORKING_VFORK -DHAVE_SYS_WAIT_H -DHAVE_USLEEP -DDAKOTA_F90 -DDAKOTA_HAVE_MPI -DHAVE_PECOS -DHAVE_SURFPACK -DDAKOTA_UTILIB -DHAVE_ADAPTIVE_SAMPLING -DHAVE_CONMIN -DDAKOTA_DDACE -DHAVE_FSUDACE -DDAKOTA_HOPS -DHAVE_NCSU -DHAVE_NL2SOL -DHAVE_OPTPP -DDAKOTA_OPTPP -DHAVE_PSUADE -DHAVE_AMPL" 572 DAKOTALIB="-L${DAKOTA_ROOT}/lib -ldakota_src -ldream -lfsudace -lddace -lnomad -lpecos_src -llhs -llhs_mods -loptpp -lsurfpack -lconmin -ldakota_src_fortran -llhs_mod -lncsuopt -lsurfpack_fortran -lteuchos -lamplsolver -lcport -ldfftpack -lfsudace -lhopspack -lnidr -lpecos -lpsuade -lsparsegrid -L${BOOST_ROOT}/lib -lboost_serialization -lboost_signals -lboost_regex -lboost_filesystem -lboost_system ${BLASLAPACKLIB}" 573 elif test "${BOOST_VERSION_MINOR}" = "72"; then 574 DAKOTAFLAGS="-DHAVE_CONFIG_H -DHAVE_CONFIG_H -DDISABLE_DAKOTA_CONFIG_H -DBOOST_DISABLE_ASSERTS -DHAVE_UNISTD_H -DHAVE_SYSTEM -DHAVE_WORKING_FORK -DHAVE_WORKING_VFORK -DHAVE_SYS_WAIT_H -DHAVE_USLEEP -DDAKOTA_F90 -DDAKOTA_HAVE_MPI -DHAVE_PECOS -DHAVE_SURFPACK -DHAVE_ADAPTIVE_SAMPLING -DHAVE_ESM -DHAVE_CONMIN -DHAVE_DDACE -DHAVE_DREAM -DHAVE_FSUDACE -DDAKOTA_HOPS -DHAVE_NCSU -DHAVE_NL2SOL -DHAVE_NOMAD -DHAVE_OPTPP -DDAKOTA_OPTPP -DHAVE_PSUADE -DHAVE_AMPL" 575 dnl See $ISSM_DIR/dakota/build/src/Makefile.export.Dakota -> Dakota_LIBRARIES 576 DAKOTALIB="-L${DAKOTA_ROOT}/lib -ldakota_src -ldakota_src_fortran -lnidr -lteuchos -lpecos -lpecos_src -llhs -llhs_mods -llhs_mod -ldfftpack -lsparsegrid -lsurfpack -lsurfpack -lsurfpack_fortran -lconmin -lddace -ldream -lfsudace -lhopspack -lncsuopt -lcport -lnomad -loptpp -lpsuade -lamplsolver -L${BOOST_ROOT}/lib -lboost_filesystem -lboost_program_options -lboost_regex -lboost_serialization -lboost_system ${BLASLAPACKLIB}" 577 fi 574 DAKOTAFLAGS="-DHAVE_CONFIG_H -DHAVE_CONFIG_H -DDISABLE_DAKOTA_CONFIG_H -DBOOST_DISABLE_ASSERTS -DHAVE_UNISTD_H -DHAVE_SYSTEM -DHAVE_WORKING_FORK -DHAVE_WORKING_VFORK -DHAVE_SYS_WAIT_H -DHAVE_USLEEP -DDAKOTA_F90 -DDAKOTA_HAVE_MPI -DHAVE_PECOS -DHAVE_SURFPACK -DHAVE_ADAPTIVE_SAMPLING -DHAVE_ESM -DHAVE_QUESO -DHAVE_QUESO_GPMSA -DHAVE_CONMIN -DHAVE_DDACE -DHAVE_DREAM -DHAVE_FSUDACE -DDAKOTA_HOPS -DHAVE_NCSU -DHAVE_NL2SOL -DHAVE_NOMAD -DHAVE_OPTPP -DDAKOTA_OPTPP -DHAVE_PSUADE -DHAVE_AMPL" 575 DAKOTALIB="-L${DAKOTA_ROOT}/lib -ldakota_src -ldakota_src_fortran -lnidr -lteuchos -lpecos -lpecos_src -llhs -llhs_mods -llhs_mod -ldfftpack -lsparsegrid -lsurfpack -lsurfpack -lsurfpack_fortran -lqueso -lconmin -lddace -ldream -lfsudace -lhopspack -lncsuopt -lcport -lnomad -loptpp -lpsuade -lamplsolver" 576 DAKOTALIB+=" -L${BOOST_ROOT}/lib -lboost_filesystem -lboost_program_options -lboost_regex -lboost_serialization -lboost_system" 577 DAKOTALIB+=" ${BLASLAPACKLIB}" 578 578 fi 579 579 AC_DEFINE([DISABLE_DAKOTA_CONFIG_H], [1], [disabling DAKOTA_CONFIG_H]) 580 580 AC_DEFINE([DAKOTA_HAVE_MPI], [1], [enabling Dakota with MPI]) … … 606 606 if test "${BOOST_VERSION_MAJOR}" == "1"; then 607 607 DAKOTAFLAGS="-DHAVE_CONFIG_H -DHAVE_CONFIG_H -DDISABLE_DAKOTA_CONFIG_H -DBOOST_DISABLE_ASSERTS -DHAVE_UNISTD_H -DHAVE_SYSTEM -DHAVE_WORKING_FORK -DHAVE_WORKING_VFORK -DHAVE_SYS_WAIT_H -DHAVE_USLEEP -DDAKOTA_F90 -DDAKOTA_HAVE_MPI -DHAVE_PECOS -DHAVE_SURFPACK -DHAVE_ADAPTIVE_SAMPLING -DHAVE_ESM -DHAVE_QUESO -DHAVE_QUESO_GPMSA -DHAVE_CONMIN -DHAVE_DDACE -DHAVE_DREAM -DHAVE_FSUDACE -DDAKOTA_HOPS -DHAVE_NCSU -DHAVE_NL2SOL -DHAVE_NOMAD -DHAVE_OPTPP -DDAKOTA_OPTPP -DHAVE_PSUADE -DHAVE_AMPL" 608 608 DAKOTALIB="-L${DAKOTA_ROOT}/lib -ldakota_src -ldakota_src_fortran -lnidr -lteuchos -lpecos -lpecos_src -llhs -llhs_mods -llhs_mod -ldfftpack -lsparsegrid -lsurfpack -lsurfpack -lsurfpack_fortran -lqueso -lconmin -lddace -ldream -lfsudace -lhopspack -lncsuopt -lcport -lnomad -loptpp -lpsuade -lamplsolver" 609 if test "${BOOST_VERSION_MINOR}" == "55"; then 610 DAKOTALIB+=" -L${BOOST_ROOT}/lib -lboost_serialization -lboost_signals -lboost_regex -lboost_filesystem -lboost_system ${BLASLAPACKLIB}" 611 elif test "${BOOST_VERSION_MINOR}" = "72"; then 612 DAKOTALIB+=" -L${BOOST_ROOT}/lib -lboost_filesystem -lboost_program_options -lboost_regex -lboost_serialization -lboost_system" 613 fi 609 DAKOTALIB+=" -L${BOOST_ROOT}/lib -lboost_filesystem -lboost_program_options -lboost_regex -lboost_serialization -lboost_system" 614 610 DAKOTALIB+=" ${BLASLAPACKLIB}" 615 611 fi 616 612 AC_DEFINE([DISABLE_DAKOTA_CONFIG_H], [1], [disabling DAKOTA_CONFIG_H]) -
../trunk-jpl/externalpackages/dakota/install-6.2-macosx64.sh
1 #!/bin/bash2 set -eu3 4 # Constants5 DAK_VER="6.2"6 7 # Some cleanup8 rm -rf build9 rm -rf install10 rm -rf tests11 rm -rf src12 mkdir build install src13 14 # Download from ISSM server15 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/dakota-${DAK_VER}-public.src.tar.gz" "dakota-${DAK_VER}-public-src.tar.gz"16 17 # Untar18 tar -zxvf dakota-${DAK_VER}-public-src.tar.gz19 20 # Move Dakota to src directory21 mv dakota-${DAK_VER}.0.src/* src22 rm -rf dakota-${DAK_VER}.0.src23 24 # Set up Dakota and CMake variables25 DAK_PATH=$ISSM_DIR/externalpackages/dakota26 27 export DAK_BUILD=$DAK_PATH/build28 export DAK_INSTALL=$DAK_PATH/install29 export DAK_SRC=$DAK_PATH/src30 export MPIHOME=$ISSM_DIR/externalpackages/mpich/install31 export BOOST_ROOT=$ISSM_DIR/externalpackages/boost/install32 33 # Apply patches34 cp $DAK_SRC/cmake/BuildDakotaTemplate.cmake $DAK_SRC/cmake/BuildDakotaCustom.cmake35 patch $DAK_SRC/cmake/BuildDakotaCustom.cmake configs/$DAK_VER/BuildDakotaCustom.cmake.mac.patch36 patch $DAK_SRC/cmake/DakotaDev.cmake configs/$DAK_VER/DakotaDev.cmake.patch37 patch $DAK_SRC/cmake/InstallDarwinDylibs.cmake configs/$DAK_VER/InstallDarwinDylibs.cmake.patch38 patch $DAK_SRC/CMakeLists.txt configs/$DAK_VER/CMakeLists.txt.patch39 patch src/src/NonDSampling.cpp configs/$DAK_VER/NonDSampling.cpp.patch40 patch src/src/NonDLocalReliability.cpp configs/$DAK_VER/NonDLocalReliability.cpp.patch41 patch src/packages/pecos/src/pecos_global_defs.hpp configs/$DAK_VER/pecos_global_defs.hpp.patch42 43 # Configure and build Dakota44 cd $DAK_BUILD45 cmake \46 -C$DAK_SRC/cmake/BuildDakotaCustom.cmake \47 -C$DAK_SRC/cmake/DakotaDev.cmake \48 -DBOOST_ROOT:PATHNAME=$BOOST_ROOT \49 -DBoost_NO_BOOST_CMAKE=TRUE \50 -DBoost_NO_SYSTEM_PATHS=TRUE \51 -DBoost_LIBRARY_DIRS:FILEPATH=$BOOST_ROOT/lib \52 -DCMAKE_INSTALL_PREFIX=$DAK_INSTALL \53 -DCMAKE_C_COMPILER=$ISSM_DIR/externalpackages/mpich/install/bin/mpicc \54 -DCMAKE_CXX_COMPILER=$ISSM_DIR/externalpackages/mpich/install/bin/mpicxx \55 -DCMAKE_Fortran_COMPILER=$ISSM_DIR/externalpackages/mpich/install/bin/mpif77 \56 -DCMAKE_CXX_FLAGS=-fdelayed-template-parsing \57 -DHAVE_ACRO=off \58 -DHAVE_JEGA=off \59 $DAK_SRC60 61 if [ $# -eq 0 ];62 then63 make64 make install65 else66 make -j $167 make -j $1 install68 fi69 70 # Set paths and library paths71 export PATH=$DAK_INSTALL/bin:$DAK_INSTALL/test:$PATH72 73 if [ -z ${DYLD_LIBRARY_PATH+x} ]74 then75 export DYLD_LIBRARY_PATH=$DAK_INSTALL/lib:$DAK_INSTALL/bin76 else77 export DYLD_LIBRARY_PATH=$DAK_INSTALL/lib:$DAK_INSTALL/bin:$DYLD_LIBRARY_PATH78 fi -
../trunk-jpl/externalpackages/dakota/install-6.2-mac-static.sh
Property changes on: ../trunk-jpl/externalpackages/dakota/install-6.2-macosx64.sh ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property
56 56 -DBoost_NO_BOOST_CMAKE=TRUE \ 57 57 -DHAVE_ACRO=OFF \ 58 58 -DHAVE_JEGA=OFF \ 59 -DHAVE_QUESO=ON \ 60 -DDAKOTA_HAVE_GSL=ON \ 59 61 -C${DAK_SRC}/cmake/BuildDakotaCustom.cmake \ 60 62 -C${DAK_SRC}/cmake/DakotaDev.cmake \ 61 63 ${DAK_SRC} -
../trunk-jpl/externalpackages/dakota/install-6.2-linux.sh
11 11 # 12 12 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 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with M atlab's Boost (absolutely necessary for this version)14 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost (absolutely necessary for this version) 15 15 #export CXXFLAGS='-std=c++11' 16 16 export DAK_BUILD=${DAK_ROOT}/build 17 17 export DAK_INSTALL=${DAK_ROOT}/install … … 52 52 -DCMAKE_C_COMPILER=${MPI_HOME}/bin/mpicc \ 53 53 -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \ 54 54 -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \ 55 -DBoost_NO_BOOST_CMAKE=TRUE \ 55 56 -DHAVE_ACRO=OFF \ 56 57 -DHAVE_JEGA=OFF \ 57 58 -DHAVE_QUESO=ON \ -
../trunk-jpl/externalpackages/dakota/install-6.2-mac.sh
14 14 export DAK_BUILD=${DAK_ROOT}/build 15 15 export DAK_INSTALL=${DAK_ROOT}/install 16 16 export DAK_SRC=${DAK_ROOT}/src 17 export GSL_HOME=${ISSM_DIR}/externalpackages/gsl/install 17 18 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack -L/usr/local/Cellar/gcc/9.3.0/lib/gcc/9 -lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 18 19 19 20 # Cleanup … … 55 56 -DBoost_NO_BOOST_CMAKE=TRUE \ 56 57 -DHAVE_ACRO=OFF \ 57 58 -DHAVE_JEGA=OFF \ 59 -DHAVE_QUESO=ON \ 60 -DDAKOTA_HAVE_GSL=ON \ 58 61 -C${DAK_SRC}/cmake/BuildDakotaCustom.cmake \ 59 62 -C${DAK_SRC}/cmake/DakotaDev.cmake \ 60 63 ${DAK_SRC} -
../trunk-jpl/externalpackages/boost/install-1.72-linux.sh
1 #!/bin/bash2 #set -eu # Do not `run set -eu` because it causes some targets to fail3 4 5 # NOTE:6 # - Stop after bootstrap step and run `b2 --debug-configuration` to figure7 # out which paths Boost is using to include Python. Make sure that each of8 # the listed paths is covered by Python. If not, you must create a symbolic9 # link from $ISSM_DIR/externalpackages/python to the location of the file10 # that Boost is expecting. There is no way to get the Boost to compile with11 # Python otherwise.12 #13 14 ## Constants15 #16 VER="1_72_0"17 18 ## Envrionment19 #20 #export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost21 #export CXXFLAGS='-std=c++11'22 23 # Download source24 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz"25 26 # Unpack source27 tar -zxvf boost_${VER}.tar.gz28 29 # Cleanup30 rm -rf install src31 mkdir install src32 33 # Move source into 'src' directory34 mv boost_${VER}/* src/35 rm -rf boost_${VER}36 37 # Configure38 cd src39 ./bootstrap.sh \40 --prefix="${ISSM_DIR}/externalpackages/boost/install" \41 --with-python=python2.7 \42 --with-python-root="${ISSM_DIR}/externalpackages/python/install"43 44 # Modify project config to enable MPI45 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam46 47 # Compile and install48 ./b2 --toolset=gcc install -
../trunk-jpl/externalpackages/boost/install-1.72-mac.sh
Property changes on: ../trunk-jpl/externalpackages/boost/install-1.72-linux.sh ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property
1 #!/bin/bash2 #set -eu # Do not `run set -eu` because it causes some targets to fail3 4 5 ## Constants6 #7 VER="1_72_0"8 9 ## Environment10 #11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost"12 13 # Download source14 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz"15 16 # Unpack source17 tar -zxvf boost_${VER}.tar.gz18 19 # Cleanup20 rm -rf install src21 mkdir install src22 23 # Move source into 'src' directory24 mv boost_${VER}/* src/25 rm -rf boost_${VER}26 27 # Configure28 cd src29 ./bootstrap.sh \30 --prefix=${BOOST_ROOT}/install \31 --with-python=python2.732 33 # Modify project config to enable MPI34 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam35 36 # Compile and install37 ./b2 install38 39 # Copy binary to install directory40 mkdir ${BOOST_ROOT}/install/bin41 cp bjam ${BOOST_ROOT}/install/bin42 43 # Set install_name for all shared libraries44 cd ${BOOST_ROOT}/install/lib45 for name in *.dylib; do46 install_name_tool -id ${BOOST_ROOT}/install/lib/${name} ${name}47 done -
../trunk-jpl/externalpackages/boost/install-1.72-linux-static.sh
Property changes on: ../trunk-jpl/externalpackages/boost/install-1.72-mac.sh ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property
1 #!/bin/bash2 #set -eu # Do not `run set -eu` because it causes some targets to fail3 4 5 ## Constants6 #7 VER="1_72_0"8 9 ## Envrionment10 #11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost"12 13 # Download source14 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz"15 16 # Unpack source17 tar -zxvf boost_${VER}.tar.gz18 19 # Cleanup20 rm -rf install src21 mkdir install src22 23 # Move source into 'src' directory24 mv boost_${VER}/* src/25 rm -rf boost_${VER}26 27 # Configure28 cd src29 ./bootstrap.sh \30 --prefix="${BOOST_ROOT}/install" \31 --with-python=python2.732 33 # Modify project config to enable MPI34 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam35 36 # Compile and install37 ./b2 link=static install38 39 # Remove any dynamic libraries that may have been compiled40 #41 # TODO: Reconfigure so that dynamic libraries are not compiled at all42 #43 rm -f $(find ${BOOST_ROOT}/install/lib -name *.so*) -
../trunk-jpl/externalpackages/boost/install-1.72-mac-static.sh
Property changes on: ../trunk-jpl/externalpackages/boost/install-1.72-linux-static.sh ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property
1 #!/bin/bash2 #set -eu # Do not `run set -eu` because it causes some targets to fail3 4 5 ## Constants6 #7 VER="1_72_0"8 9 ## Environment10 #11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost"12 13 # Download source14 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz"15 16 # Unpack source17 tar -zxvf boost_${VER}.tar.gz18 19 # Cleanup20 rm -rf install src21 mkdir install src22 23 # Move source into 'src' directory24 mv boost_${VER}/* src/25 rm -rf boost_${VER}26 27 # Configure28 cd src29 ./bootstrap.sh \30 --prefix=${BOOST_ROOT}/install \31 --with-python=python2.732 33 # Modify project config to enable MPI34 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam35 36 # Compile and install37 ./b2 link=static install38 39 # Remove any dynamic libraries that may have been compiled40 #41 # TODO: Reconfigure so that dynamic libraries are not compiled at all42 #43 rm -f $(find ${BOOST_ROOT}/install/lib -name *.dylib) -
../trunk-jpl/externalpackages/boost/install-1.55-linux-static.sh
Property changes on: ../trunk-jpl/externalpackages/boost/install-1.72-mac-static.sh ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property
9 9 ## Environment 10 10 # 11 11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost" 12 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with M atlab's Boost12 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost 13 13 14 14 # Download source 15 15 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz" -
../trunk-jpl/externalpackages/boost/install-1.55-mac-static.sh
38 38 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam 39 39 40 40 # Compile and install 41 ./bjam toolset=darwinlink=static install41 ./bjam link=static install 42 42 43 43 # Copy binary to install directory 44 44 mkdir ${BOOST_ROOT}/install/bin -
../trunk-jpl/externalpackages/boost/install-1.55-stallo.sh
23 23 24 24 patch src/boost/mpl/aux_/config/adl.hpp ./configs/1.55/adl.hpp.patch 25 25 26 #Setting CXXFLAGS to deal with C++11 incompatibility with M atlab's Boost26 #Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost 27 27 #export PATH="/usr/bin":$PATH 28 28 export CXXFLAGS='-std=c++98' 29 29 export CC=mpicc -
../trunk-jpl/externalpackages/boost/install-1.55-linux.sh
9 9 ## Environment 10 10 # 11 11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost" 12 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with M atlab's Boost12 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost 13 13 14 14 # Download source 15 15 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz" -
../trunk-jpl/externalpackages/boost/install-1.55-mac.sh
38 38 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam 39 39 40 40 # Compile and install 41 ./bjam toolset=darwininstall41 ./bjam install 42 42 43 43 # Copy binary to install directory 44 44 mkdir ${BOOST_ROOT}/install/bin -
../trunk-jpl/externalpackages/boost/install-1.7-linux-static.sh
1 #!/bin/bash 2 #set -eu # Do not `run set -eu` because it causes some targets to fail 3 4 5 ## Constants 6 # 7 VER="1_73_0" 8 9 ## Envrionment 10 # 11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost" 12 13 # Download source 14 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz" 15 16 # Unpack source 17 tar -zxvf boost_${VER}.tar.gz 18 19 # Cleanup 20 rm -rf install src 21 mkdir install src 22 23 # Move source into 'src' directory 24 mv boost_${VER}/* src/ 25 rm -rf boost_${VER} 26 27 # Configure 28 cd src 29 ./bootstrap.sh \ 30 --prefix="${BOOST_ROOT}/install" \ 31 --with-python=python2.7 32 33 # Modify project config to enable MPI 34 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam 35 36 # Compile and install 37 ./b2 link=static install 38 39 # Remove any dynamic libraries that may have been compiled 40 # 41 # TODO: Reconfigure so that dynamic libraries are not compiled at all 42 # 43 rm -f $(find ${BOOST_ROOT}/install/lib -name *.so*) -
../trunk-jpl/externalpackages/boost/install-1.7-mac-static.sh
Property changes on: ../trunk-jpl/externalpackages/boost/install-1.7-linux-static.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
1 #!/bin/bash 2 #set -eu # Do not `run set -eu` because it causes some targets to fail 3 4 5 ## Constants 6 # 7 VER="1_73_0" 8 9 ## Environment 10 # 11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost" 12 13 # Download source 14 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz" 15 16 # Unpack source 17 tar -zxvf boost_${VER}.tar.gz 18 19 # Cleanup 20 rm -rf install src 21 mkdir install src 22 23 # Move source into 'src' directory 24 mv boost_${VER}/* src/ 25 rm -rf boost_${VER} 26 27 # Configure 28 cd src 29 ./bootstrap.sh \ 30 --prefix=${BOOST_ROOT}/install \ 31 --with-python=python2.7 32 33 # Modify project config to enable MPI 34 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam 35 36 # Compile and install 37 ./b2 link=static install 38 39 # Remove any dynamic libraries that may have been compiled 40 # 41 # TODO: Reconfigure so that dynamic libraries are not compiled at all 42 # 43 rm -f $(find ${BOOST_ROOT}/install/lib -name *.dylib) -
../trunk-jpl/externalpackages/boost/install-1.7-linux.sh
Property changes on: ../trunk-jpl/externalpackages/boost/install-1.7-mac-static.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
1 #!/bin/bash 2 #set -eu # Do not `run set -eu` because it causes some targets to fail 3 4 5 ## Constants 6 # 7 VER="1_73_0" 8 9 ## Envrionment 10 # 11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost" 12 13 # Download source 14 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz" 15 16 # Unpack source 17 tar -zxvf boost_${VER}.tar.gz 18 19 # Cleanup 20 rm -rf install src 21 mkdir install src 22 23 # Move source into 'src' directory 24 mv boost_${VER}/* src/ 25 rm -rf boost_${VER} 26 27 # Configure 28 cd src 29 ./bootstrap.sh \ 30 --prefix="${BOOST_ROOT}/install" \ 31 --with-python=python2.7 32 33 # Modify project config to enable MPI 34 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam 35 36 # Compile and install 37 ./b2 install -
../trunk-jpl/externalpackages/boost/install-1.7-mac.sh
Property changes on: ../trunk-jpl/externalpackages/boost/install-1.7-linux.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
1 #!/bin/bash 2 #set -eu # Do not `run set -eu` because it causes some targets to fail 3 4 5 ## Constants 6 # 7 VER="1_73_0" 8 9 ## Environment 10 # 11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost" 12 13 # Download source 14 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/boost_${VER}.tar.gz" "boost_${VER}.tar.gz" 15 16 # Unpack source 17 tar -zxvf boost_${VER}.tar.gz 18 19 # Cleanup 20 rm -rf install src 21 mkdir install src 22 23 # Move source into 'src' directory 24 mv boost_${VER}/* src/ 25 rm -rf boost_${VER} 26 27 # Configure 28 cd src 29 ./bootstrap.sh \ 30 --prefix=${BOOST_ROOT}/install \ 31 --with-python=python2.7 32 33 # Modify project config to enable MPI 34 printf "\n# Enable MPI\nusing mpi ;\n" >> project-config.jam 35 36 # Compile and install 37 ./b2 install 38 39 # Set install_name for all shared libraries 40 cd ${BOOST_ROOT}/install/lib 41 for name in *.dylib; do 42 install_name_tool -id ${BOOST_ROOT}/install/lib/${name} ${name} 43 done -
../trunk-jpl/externalpackages/gsl/install.sh
Property changes on: ../trunk-jpl/externalpackages/boost/install-1.7-mac.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
1 #!/bin/bash 2 set -eu 3 4 5 # Constants 6 # 7 GSL_ROOT=${ISSM_DIR}/externalpackages/gsl 8 VER="1.15" 9 10 # Cleanup= 11 rm -rf install src 12 mkdir install src 13 14 # Download source 15 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gsl-${VER}.tar.gz" "gsl-${VER}.tar.gz" 16 17 # Unpack source 18 tar -zxvf gsl-${VER}.tar.gz 19 20 # Move source to 'src' directory 21 mv gsl-${VER}/* src 22 rm -rf gsl-${VER} 23 24 # Configure 25 cd src 26 ./configure \ 27 --prefix="${GSL_ROOT}/install" \ 28 --disable-static 29 30 # Compile and install 31 if [ $# -eq 0 ]; then 32 make 33 make install 34 else 35 make -j $1 36 make -j $1 install 37 fi -
../trunk-jpl/jenkins/ross-debian_linux-binaries-with_dakota
Property changes on: ../trunk-jpl/externalpackages/gsl/install.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
47 47 autotools install-debian-linux.sh 48 48 cmake install.sh 49 49 petsc install-3.12-linux-static.sh 50 gsl install- linux-static.sh51 boost install-1. 72-linux-static.sh50 gsl install-static.sh 51 boost install-1.55-linux-static.sh 52 52 dakota install-6.2-linux-static.sh 53 53 triangle install-linux-static.sh 54 54 chaco install.sh -
../trunk-jpl/jenkins/pine_island-mac-dakota
23 23 --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 24 24 --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \ 25 25 --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \ 26 --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \ 27 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \ 26 28 --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \ 27 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \28 29 --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \ 29 30 --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \ 30 31 --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \ … … 46 47 autotools install.sh 47 48 cmake install.sh 48 49 petsc install-3.12-mac.sh 49 boost install-1.72-mac.sh 50 gsl install.sh 51 boost install-1.7-mac.sh 50 52 dakota install-6.2-mac.sh 51 53 triangle install-mac.sh 52 54 chaco install.sh … … 78 80 # - Error is large for test420 79 81 # - test701 is skipped because it uses full Stokes equations 80 82 # 81 MATLAB_NROPTIONS="'exclude',[234,243,420,435,444,445,701,702,703 ,'id',[IdFromString('Dakota')]"83 MATLAB_NROPTIONS="'exclude',[234,243,420,435,444,445,701,702,703],'id',[IdFromString('Dakota')]" 82 84 PYTHON_NROPTIONS="--exclude 234 243 418 420 435 444 445 701 702 703 --include_name 'Dakota'" -
../trunk-jpl/jenkins/ross-debian_linux-dakota
39 39 autotools install-debian-linux.sh 40 40 cmake install.sh 41 41 petsc install-3.12-linux.sh 42 gsl install -linux.sh42 gsl install.sh 43 43 boost install-1.55-linux.sh 44 44 dakota install-6.2-linux.sh 45 45 triangle install-linux.sh -
../trunk-jpl/externalpackages/dakota/install-6.2-linux-static.sh
11 11 # 12 12 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 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with M atlab's Boost (absolutely necessary for this version)14 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost (absolutely necessary for this version) 15 15 #export CXXFLAGS='-std=c++11' 16 16 export DAK_BUILD=${DAK_ROOT}/build 17 17 export DAK_INSTALL=${DAK_ROOT}/install
Note:
See TracBrowser
for help on using the repository browser.