Changeset 24824


Ignore:
Timestamp:
05/08/20 16:25:24 (5 years ago)
Author:
jdquinn
Message:

CHG: Using Boost 1.7 across all Dakota builds; cleanup

Location:
issm/trunk-jpl
Files:
5 added
5 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/boost/install-1.55-linux-static.sh

    r24653 r24824  
    1010#
    1111export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost"
    12 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost
     12export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost
    1313
    1414# Download source
  • issm/trunk-jpl/externalpackages/boost/install-1.55-linux.sh

    r24653 r24824  
    1010#
    1111export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost"
    12 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost
     12export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost
    1313
    1414# Download source
  • issm/trunk-jpl/externalpackages/boost/install-1.55-mac-static.sh

    r24653 r24824  
    3939
    4040# Compile and install
    41 ./bjam toolset=darwin link=static install
     41./bjam link=static install
    4242
    4343# Copy binary to install directory
  • issm/trunk-jpl/externalpackages/boost/install-1.55-mac.sh

    r24653 r24824  
    3939
    4040# Compile and install
    41 ./bjam toolset=darwin install
     41./bjam install
    4242
    4343# Copy binary to install directory
  • issm/trunk-jpl/externalpackages/boost/install-1.55-stallo.sh

    r23790 r24824  
    2424patch src/boost/mpl/aux_/config/adl.hpp ./configs/1.55/adl.hpp.patch
    2525
    26 #Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost
     26#Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost
    2727#export PATH="/usr/bin":$PATH
    2828export CXXFLAGS='-std=c++98'
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-linux-static.sh

    r24699 r24824  
    1212export 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
    1313export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install
    14 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost (absolutely necessary for this version)
     14export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost (absolutely necessary for this version)
    1515#export CXXFLAGS='-std=c++11'
    1616export DAK_BUILD=${DAK_ROOT}/build
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-linux.sh

    r24810 r24824  
    1212export 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
    1313export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install
    14 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost (absolutely necessary for this version)
     14export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost (absolutely necessary for this version)
    1515#export CXXFLAGS='-std=c++11'
    1616export DAK_BUILD=${DAK_ROOT}/build
     
    5353        -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \
    5454        -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \
     55        -DBoost_NO_BOOST_CMAKE=TRUE \
    5556        -DHAVE_ACRO=OFF \
    5657        -DHAVE_JEGA=OFF \
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-mac-static.sh

    r24676 r24824  
    5757        -DHAVE_ACRO=OFF \
    5858        -DHAVE_JEGA=OFF \
     59        -DHAVE_QUESO=ON \
     60        -DDAKOTA_HAVE_GSL=ON \
    5961        -C${DAK_SRC}/cmake/BuildDakotaCustom.cmake \
    6062        -C${DAK_SRC}/cmake/DakotaDev.cmake \
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh

    r24676 r24824  
    1515export DAK_INSTALL=${DAK_ROOT}/install
    1616export DAK_SRC=${DAK_ROOT}/src
     17export GSL_HOME=${ISSM_DIR}/externalpackages/gsl/install
    1718export 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
    1819
     
    5657        -DHAVE_ACRO=OFF \
    5758        -DHAVE_JEGA=OFF \
     59        -DHAVE_QUESO=ON \
     60        -DDAKOTA_HAVE_GSL=ON \
    5861        -C${DAK_SRC}/cmake/BuildDakotaCustom.cmake \
    5962        -C${DAK_SRC}/cmake/DakotaDev.cmake \
  • issm/trunk-jpl/jenkins/pine_island-mac-binaries-with_dakota

    r24676 r24824  
    2929        --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
    3030        --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 \
    3133        --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
    32         --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
    3334        --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
    3435        --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
     
    5152        cmake           install.sh
    5253        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
    5456        dakota          install-6.2-mac-static.sh
    5557        triangle        install-mac-static.sh
  • issm/trunk-jpl/jenkins/pine_island-mac-dakota

    r24694 r24824  
    2424        --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
    2525        --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 \
    2628        --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
    27         --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
    2829        --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
    2930        --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
     
    4748        cmake           install.sh
    4849        petsc           install-3.12-mac.sh
    49         boost           install-1.72-mac.sh
     50        gsl                     install.sh
     51        boost           install-1.7-mac.sh
    5052        dakota          install-6.2-mac.sh
    5153        triangle        install-mac.sh
     
    7981# - test701 is skipped because it uses full Stokes equations
    8082#
    81 MATLAB_NROPTIONS="'exclude',[234,243,420,435,444,445,701,702,703,'id',[IdFromString('Dakota')]"
     83MATLAB_NROPTIONS="'exclude',[234,243,420,435,444,445,701,702,703],'id',[IdFromString('Dakota')]"
    8284PYTHON_NROPTIONS="--exclude 234 243 418 420 435 444 445 701 702 703 --include_name 'Dakota'"
  • issm/trunk-jpl/jenkins/ross-debian_linux-binaries-with_dakota

    r24814 r24824  
    4848        cmake           install.sh
    4949        petsc           install-3.12-linux-static.sh
    50         gsl                     install-linux-static.sh
    51         boost           install-1.72-linux-static.sh
     50        gsl                     install-static.sh
     51        boost           install-1.55-linux-static.sh
    5252        dakota          install-6.2-linux-static.sh
    5353        triangle        install-linux-static.sh
  • issm/trunk-jpl/jenkins/ross-debian_linux-codipack

    r24811 r24824  
    3939        cmake           install.sh
    4040        petsc           install-3.12-linux.sh
    41         gsl                     install-linux.sh
     41        gsl                     install.sh
    4242        triangle        install-linux.sh
    4343        chaco           install.sh
  • issm/trunk-jpl/jenkins/ross-debian_linux-dakota

    r24811 r24824  
    4040        cmake           install.sh
    4141        petsc           install-3.12-linux.sh
    42         gsl                     install-linux.sh
     42        gsl                     install.sh
    4343        boost           install-1.55-linux.sh
    4444        dakota          install-6.2-linux.sh
  • issm/trunk-jpl/m4/issm_options.m4

    r24811 r24824  
    537537
    538538                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
    541545                dnl - We know $DAKOTA_ROOT cannot be empty at this point, so no need to
    542546                dnl   check again in the following conditionals
     
    568572                                elif test "${DAKOTA_VERSION}" == "6.1" || test "${DAKOTA_VERSION}" == "6.2"; then
    569573                                        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}"
    578578                                        fi
    579579                                        AC_DEFINE([DISABLE_DAKOTA_CONFIG_H], [1], [disabling DAKOTA_CONFIG_H])
     
    607607                                                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"
    608608                                                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"
    614610                                                DAKOTALIB+=" ${BLASLAPACKLIB}"
    615611                                        fi
Note: See TracChangeset for help on using the changeset viewer.