Changeset 27232 for issm/trunk/externalpackages/dakota/install-6.2-mac.sh
- Timestamp:
- 08/25/22 16:50:29 (3 years ago)
- Location:
- issm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
-
issm/trunk/externalpackages/dakota/install-6.2-mac.sh
r26744 r27232 9 9 PREFIX="${ISSM_DIR}/externalpackages/dakota/install" # Set to location where external package should be installed 10 10 11 ## Environment12 #13 14 11 # Find libgfortran so that we do not have to hardcode it. 15 12 # … … 20 17 # - Move this to etc/environment.sh 21 18 # 22 LIBGFORTRAN=$(mdfind -onlyin /usr -name libgfortran | grep -n libgfortran.a |grep -v i386 | sed "s/[0-9]*://g" | head -1)19 LIBGFORTRAN=$(mdfind -onlyin /usr -name libgfortran | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1) 23 20 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 24 21 22 ## Environment 23 # 25 24 export 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 26 25 export DAK_BUILD=${ISSM_DIR}/externalpackages/dakota/build # DO NOT CHANGE THIS … … 57 56 cp configs/${VER}/mac/cmake/InstallDarwinDylibs.cmake ${DAK_SRC}/cmake 58 57 58 # Disable requirement of Python 2 for TriBITS 59 sed -i'' -e 's|SET(PythonInterp_FIND_VERSION|#SET(PythonInterp_FIND_VERSION|' ${DAK_SRC}/packages/teuchos/cmake/tribits/package_arch/TribitsFindPythonInterp.cmake 60 59 61 # Configure 60 62 cd ${DAK_BUILD} … … 65 67 -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \ 66 68 -DCMAKE_CXX_FLAGS="-fdelayed-template-parsing" \ 69 -DCMAKE_CXX_STANDARD="11" \ 67 70 -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \ 68 -DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch" \69 71 -DBoost_NO_BOOST_CMAKE=TRUE \ 70 72 -DHAVE_ACRO=OFF \
Note:
See TracChangeset
for help on using the changeset viewer.