Ignore:
Timestamp:
08/25/22 16:50:29 (3 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 27230

Location:
issm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk

  • issm/trunk/externalpackages/dakota/install-6.2-mac.sh

    r26744 r27232  
    99PREFIX="${ISSM_DIR}/externalpackages/dakota/install" # Set to location where external package should be installed
    1010
    11 ## Environment
    12 #
    13 
    1411# Find libgfortran so that we do not have to hardcode it.
    1512#
     
    2017# - Move this to etc/environment.sh
    2118#
    22 LIBGFORTRAN=$(mdfind -onlyin /usr -name libgfortran | grep -n libgfortran.a | grep -v i386 | sed "s/[0-9]*://g" | head -1)
     19LIBGFORTRAN=$(mdfind -onlyin /usr -name libgfortran | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1)
    2320LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
    2421
     22## Environment
     23#
    2524export BLAS_LIBS="-L${BLAS_ROOT}/lib -lfblas -L${LIBGFORTRAN_ROOT} -lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it
    2625export DAK_BUILD=${ISSM_DIR}/externalpackages/dakota/build # DO NOT CHANGE THIS
     
    5756cp configs/${VER}/mac/cmake/InstallDarwinDylibs.cmake ${DAK_SRC}/cmake
    5857
     58# Disable requirement of Python 2 for TriBITS
     59sed -i'' -e 's|SET(PythonInterp_FIND_VERSION|#SET(PythonInterp_FIND_VERSION|' ${DAK_SRC}/packages/teuchos/cmake/tribits/package_arch/TribitsFindPythonInterp.cmake
     60
    5961# Configure
    6062cd ${DAK_BUILD}
     
    6567        -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \
    6668        -DCMAKE_CXX_FLAGS="-fdelayed-template-parsing" \
     69        -DCMAKE_CXX_STANDARD="11" \
    6770        -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \
    68         -DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch" \
    6971        -DBoost_NO_BOOST_CMAKE=TRUE \
    7072        -DHAVE_ACRO=OFF \
Note: See TracChangeset for help on using the changeset viewer.