Changeset 24961
- Timestamp:
- 06/03/20 15:22:20 (5 years ago)
- Location:
- issm/trunk-jpl/externalpackages/dakota
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/externalpackages/dakota/install-6.2-mac-static.sh ¶
r24824 r24961 10 10 ## Environment 11 11 # 12 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/libgfortran.a /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/libquadmath.a /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/gcc/x86_64-apple-darwin15/9.3.0/libgcc.a" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 12 LIBGFORTRAN=$(find /usr/local/Cellar -name libgfortran.a | head -n 1) 13 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 14 15 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas ${LIBGFORTRAN_ROOT}/libgfortran.a ${LIBGFORTRAN_ROOT}/libquadmath.a ${LIBGFORTRAN_ROOT}/gcc/x86_64-apple-darwin15/9.3.0/libgcc.a" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 13 16 export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install 14 17 export DAK_BUILD=${DAK_ROOT}/build 15 18 export DAK_INSTALL=${DAK_ROOT}/install 16 19 export DAK_SRC=${DAK_ROOT}/src 17 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/libgfortran.a /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/libquadmath.a /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/gcc/x86_64-apple-darwin15/9.3.0/libgcc.a" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it20 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack ${LIBGFORTRAN_ROOT}/libgfortran.a ${LIBGFORTRAN_ROOT}/libquadmath.a ${LIBGFORTRAN_ROOT}/gcc/x86_64-apple-darwin15/9.3.0/libgcc.a" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 18 21 19 22 # Cleanup -
TabularUnified issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh ¶
r24824 r24961 10 10 ## Environment 11 11 # 12 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas -L/usr/local/Cellar/gcc/9.3.0/lib/gcc/9 -lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 12 LIBGFORTRAN=$(find /usr/local/Cellar -name libgfortran.* | head -n 1) 13 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 14 15 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/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 13 16 export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install 14 17 export DAK_BUILD=${DAK_ROOT}/build … … 16 19 export DAK_SRC=${DAK_ROOT}/src 17 20 export GSL_HOME=${ISSM_DIR}/externalpackages/gsl/install 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 it21 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack -L${LIBGFORTRAN_ROOT} -lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 19 22 20 23 # Cleanup
Note:
See TracChangeset
for help on using the changeset viewer.