Changeset 27187
- Timestamp:
- 08/03/22 16:09:34 (3 years ago)
- Location:
- issm/trunk-jpl/externalpackages/dakota
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/dakota/install-6.2-linux.sh
r26250 r27187 12 12 # 13 13 export BLAS_LIBS="-L${BLAS_ROOT}/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 14 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with MATLAB's Boost (absolutely necessary for this version)15 #export CXXFLAGS='-std=c++11'16 14 export DAK_BUILD=${ISSM_DIR}/externalpackages/dakota/build # DO NOT CHANGE THIS 17 15 export DAK_INSTALL=${PREFIX} # DO NOT CHANGE THIS … … 54 52 -DCMAKE_C_FLAGS="-Wno-error=implicit-function-declaration" \ 55 53 -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \ 54 -DCMAKE_CXX_STANDARD="11" \ 56 55 -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \ 57 56 -DBoost_NO_BOOST_CMAKE=TRUE \ -
issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh
r27158 r27187 7 7 VER="6.2" 8 8 9 PREFIX="${ISSM_ DIR}/externalpackages/dakota/install" # Set to location where external package should be installed9 PREFIX="${ISSM_EXT_SHARED_DIR}/dakota/install" # Set to location where external package should be installed 10 10 11 11 ## Environment 12 12 # 13 14 # Check for Python 2, required by Dakota15 #16 PYTHON_EXECUTABLE=$(which python2) || echo "Error: This version of Dakota requires Python 2"17 13 18 14 # Find libgfortran so that we do not have to hardcode it. … … 61 57 cp configs/${VER}/mac/cmake/InstallDarwinDylibs.cmake ${DAK_SRC}/cmake 62 58 59 # Disable requirement of Python 2 for TriBITS 60 sed -i'' -e 's|SET(PythonInterp_FIND_VERSION|#SET(PythonInterp_FIND_VERSION|' ${DAK_SRC}/packages/teuchos/cmake/tribits/package_arch/TribitsFindPythonInterp.cmake 61 63 62 # Configure 64 63 cd ${DAK_BUILD} … … 69 68 -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \ 70 69 -DCMAKE_CXX_FLAGS="-fdelayed-template-parsing" \ 70 -DCMAKE_CXX_STANDARD="11" \ 71 71 -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \ 72 -DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch" \73 -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE} \74 72 -DBoost_NO_BOOST_CMAKE=TRUE \ 75 73 -DHAVE_ACRO=OFF \
Note:
See TracChangeset
for help on using the changeset viewer.