Changeset 24676
- Timestamp:
- 03/31/20 12:42:27 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/boost/install-1.72-mac-static.sh
r24665 r24676 40 40 mkdir ${BOOST_ROOT}/install/bin 41 41 cp bjam ${BOOST_ROOT}/install/bin 42 43 # Remove any dynamic libraries that may have been compiled 44 # 45 # TODO: Reconfigure so that dynamic libraries are not compiled at all 46 # 47 rm -f $(ls ${BOOST_ROOT}/install/lib/*.dylib) -
issm/trunk-jpl/externalpackages/dakota/install-6.2-mac-static.sh
r24665 r24676 10 10 ## Environment 11 11 # 12 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas -L/usr/local/gfortran/lib -lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it12 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 13 13 export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install 14 14 export DAK_BUILD=${DAK_ROOT}/build 15 15 export DAK_INSTALL=${DAK_ROOT}/install 16 16 export DAK_SRC=${DAK_ROOT}/src 17 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack -L/usr/local/gfortran/lib -lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it17 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 it 18 18 19 19 # Cleanup -
issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh
r24663 r24676 10 10 ## Environment 11 11 # 12 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas -L/usr/local/ gfortran/lib-lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it12 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 13 13 export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install 14 14 export DAK_BUILD=${DAK_ROOT}/build 15 15 export DAK_INSTALL=${DAK_ROOT}/install 16 16 export DAK_SRC=${DAK_ROOT}/src 17 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack -L/usr/local/ gfortran/lib-lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it17 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 it 18 18 19 19 # Cleanup -
issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-static.sh
r24649 r24676 36 36 --CFLAGS="-fPIC" \ 37 37 --CXXFLAGS="-fPIC" \ 38 --FFLAGS="-fPIC " \38 --FFLAGS="-fPIC -static-libgfortran" \ 39 39 --with-debugging=0 \ 40 40 --with-valgrind=0 \ -
issm/trunk-jpl/jenkins/pine_island-mac
r24665 r24676 14 14 --with-numthreads=4 \ 15 15 --with-matlab-dir=${MATLAB_PATH} \ 16 --with-fortran-lib="-L/usr/local/ gfortran/lib-lgfortran" \16 --with-fortran-lib="-L/usr/local/Cellar/gcc/9.3.0/lib/gcc/9 -lgfortran" \ 17 17 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 18 18 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ … … 69 69 # 70 70 # NOTE: 71 # - test701.mis skipped because it uses full Stokes equations71 # - test701 is skipped because it uses full Stokes equations 72 72 # 73 MATLAB_NROPTIONS="'exclude',[ 701,702,703,435,IdFromString('Dakota')]"74 PYTHON_NROPTIONS=" --exclude_name 'Dakota'"73 MATLAB_NROPTIONS="'exclude',[435,701,702,703,IdFromString('Dakota')]" 74 PYTHON_NROPTIONS="" -
issm/trunk-jpl/jenkins/pine_island-mac-binaries
r24665 r24676 9 9 # - We can disable dependency tracking in the Autotools because the binaries 10 10 # should always be a one-time build. 11 # - libgfortran is copied to $ISSM_DIR/lib by packaging script.12 11 # 12 13 13 # ISSM CONFIGURATION 14 14 ISSM_CONFIG='\ 15 15 --prefix=${ISSM_DIR} \ 16 --disable-static \17 16 --enable-standalone-executables \ 18 17 --enable-standalone-modules \ … … 20 19 --disable-dependency-tracking \ 21 20 --with-matlab-dir=${MATLAB_PATH} \ 22 --with-fortran-lib=" -L/usr/local/gfortran/lib -lgfortran" \21 --with-fortran-lib="/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" \ 23 22 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 24 23 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ -
issm/trunk-jpl/jenkins/pine_island-mac-binaries-with_dakota
r24665 r24676 9 9 # - We can disable dependency tracking in the Autotools because the binaries 10 10 # should always be a one-time build. 11 # - libgfortran is copied to $ISSM_DIR/lib by packaging script.12 11 # 12 13 13 # ISSM CONFIGURATION 14 14 ISSM_CONFIG='\ 15 15 --prefix=${ISSM_DIR} \ 16 --disable-static \17 16 --enable-standalone-executables \ 18 17 --enable-standalone-modules \ … … 22 21 --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \ 23 22 --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \ 24 --with-fortran-lib=" -L/usr/local/gfortran/lib -lgfortran" \23 --with-fortran-lib="/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" \ 25 24 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 26 25 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ -
issm/trunk-jpl/jenkins/pine_island-mac-dakota
r24665 r24676 16 16 --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \ 17 17 --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \ 18 --with-fortran-lib="-L/usr/local/ gfortran/lib-lgfortran" \18 --with-fortran-lib="-L/usr/local/Cellar/gcc/9.3.0/lib/gcc/9 -lgfortran" \ 19 19 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 20 20 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ … … 38 38 EXAMPLES_TEST=0 39 39 40 #------------------- ----------------#41 # 3: External packages installation#42 #------------------- ----------------#40 #-------------------# 41 # External Packages # 42 #-------------------# 43 43 44 44 #List of external pakages to be installed and their installation scripts … … 56 56 " 57 57 58 #--------- --------#59 # 4: test options#60 #--------- --------#58 #---------# 59 # Testing # 60 #---------# 61 61 62 62 # Number of CPUs used in ISSM compilation … … 75 75 # 76 76 # NOTE: 77 # - See test418.py for reason why it is excluded for now .78 # - Error is large for test420.77 # - See test418.py for reason why it is excluded for now 78 # - test701 is skipped because it uses full Stokes equations 79 79 # 80 MATLAB_NROPTIONS="'exclude',[2 34,235,243,418,420,435,444,445,701,702],'id',[IdFromString('Dakota')]"81 PYTHON_NROPTIONS="--exclude 2 34 235 243 418 420 435 444 445 701 702--include_name 'Dakota'"80 MATLAB_NROPTIONS="'exclude',[243 435 701 702 703,'id',[IdFromString('Dakota')]" 81 PYTHON_NROPTIONS="--exclude 243 418 435 701 702 703 --include_name 'Dakota'" -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-with_dakota.sh
r24651 r24676 6 6 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself 7 7 LIBGFORTRAN_DIST="${ISSM_DIR}/lib/libgfortran.so.5" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 8 MATLAB_NROPTIONS="'id',[IdFromString('Dakota')],'exclude',[234,24 4,250,417,444,445]" # Exclude any tests with transient solutions that require a restart8 MATLAB_NROPTIONS="'id',[IdFromString('Dakota')],'exclude',[234,243,244,250,417,444,445,701,702]" # Exclude any tests with transient solutions that require a restart 9 9 MATLAB_PATH="/usr/local/MATLAB/R2019b" 10 10 PACKAGE="ISSM" # Name of directory to copy distributable files to … … 16 16 # - 418 fails with "malloc(): invalid next size (unsorted)"" 17 17 # 18 PYTHON_NROPTIONS="--include_name 'Dakota' --exclude 234 24 4 250 417 418 444 445"18 PYTHON_NROPTIONS="--include_name 'Dakota' --exclude 234 243 244 250 417 418 435 444 445 701 702" 19 19 TARBALL_NAME="issm-linux-with_dakota" 20 20 TARBALL="${TARBALL_NAME}.tar.gz" -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-with_dakota.sh
r24651 r24676 4 4 ## Constants 5 5 # 6 LIBGFORTRAN="/usr/local/gfortran/lib/libgfortran.3.dylib" # Important that this is the library itself 7 LIBGFORTRAN_DIST="${ISSM_DIR}/lib/libgfortran.3.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 8 MATLAB_NROPTIONS="'id',[IdFromString('Dakota')],'exclude',[234,244,250,417,444,445]" # Exclude any tests with transient solutions that require a restart 9 MATLAB_PATH="/Applications/MATLAB_R2015b.app" 6 MATLAB_NROPTIONS="'id',[IdFromString('Dakota')],'exclude',[234,244,250,417,435,444,445,701,702,703]" # Exclude any tests with transient solutions that require a restart, and any tests that are excluded in the standard build 7 MATLAB_PATH="/Applications/MATLAB_R2018a.app" 10 8 PACKAGE="ISSM" # Name of directory to copy distributable files to 11 9 … … 13 11 # 14 12 # NOTE: 15 # - All non-excluded tests were running until recent changes to QMU16 13 # - 418 fails with "malloc(): invalid next size (unsorted)"" 17 14 # 18 PYTHON_NROPTIONS="--include_name 'Dakota' --exclude 234 244 250 417 418 4 44 445"15 PYTHON_NROPTIONS="--include_name 'Dakota' --exclude 234 244 250 417 418 435 444 445 701 702 703" 19 16 TARBALL_NAME="issm-mac-with_dakota" 20 17 TARBALL="${TARBALL_NAME}.tar.gz" … … 44 41 exit 1 45 42 fi 46 47 # Add/modify required libraries48 echo "Moving libgfortran to lib/"49 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null50 43 51 44 # Run tests -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries.sh
r24651 r24676 4 4 ## Constants 5 5 # 6 LIBGFORTRAN="/usr/local/gfortran/lib/libgfortran.3.dylib" # Important that this is the library itself 7 LIBGFORTRAN_DIST="${ISSM_DIR}/lib/libgfortran.3.dylib" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it 8 MATLAB_NROPTIONS="'exclude',[IdFromString('Dakota'),125,126]" # Exclude Dakota tests and any tests with transient solutions that require a restart 9 MATLAB_PATH="/Applications/MATLAB_R2015b.app" 6 MATLAB_NROPTIONS="'exclude',[IdFromString('Dakota'),125,126,435,701,702,703]" # Exclude Dakota tests, any tests with transient solutions that require a restart, and any tests that are excluded in the standard build 7 MATLAB_PATH="/Applications/MATLAB_R2018a.app" 10 8 PACKAGE="ISSM" # Name of directory to copy distributable files to 11 9 TARBALL_NAME="issm-mac" … … 35 33 exit 1 36 34 fi 37 38 echo "Moving libgfortran to lib/"39 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null40 35 41 36 # Run tests -
issm/trunk-jpl/src/c/Makefile.am
r24653 r24676 723 723 if STANDALONE_EXECUTABLES 724 724 if MAC 725 AM_LDFLAGS += -Wl,-rpath,' $$ORIGIN'726 else 727 AM_LDFLAGS += -static -Wl,--disable-new-dtags -Wl,-rpath,'$$ORIGIN '725 AM_LDFLAGS += -Wl,-rpath,'@loader_path/../lib' 726 else 727 AM_LDFLAGS += -static -Wl,--disable-new-dtags -Wl,-rpath,'$$ORIGIN/../lib' 728 728 endif 729 729 endif -
issm/trunk-jpl/src/wrappers/matlab/Makefile.am
r24662 r24676 93 93 # will be linked to, whether we like it or not, if no static version is 94 94 # available. 95 # - On macO C, static linking of binaries is not supported.95 # - On macOS, static linking of binaries is not supported. 96 96 # 97 97 if STANDALONE_MODULES 98 #if MAC99 #AM_LDFLAGS += -Wl,-rpath,'$$ORIGIN'100 #else98 if MAC 99 AM_LDFLAGS += -Wl,-rpath,'@rpath' 100 else 101 101 AM_LDFLAGS += -Wl,-static -Wl,--disable-new-dtags -Wl,-rpath,'$$ORIGIN' 102 102 endif 103 #endif103 endif 104 104 105 105 AM_CXXFLAGS += -D_HAVE_MATLAB_MODULES_ -fPIC -
issm/trunk-jpl/src/wrappers/python/Makefile.am
r24662 r24676 69 69 # will be linked to, whether we like it or not, if no static version is 70 70 # available. 71 # - On macO C, static linking of binaries is not supported.71 # - On macOS, static linking of binaries is not supported. 72 72 # 73 73 if STANDALONE_MODULES 74 #if MAC75 #AM_LDFLAGS += -Wl,-rpath,'$$ORIGIN'76 #else74 if MAC 75 AM_LDFLAGS += -Wl,-rpath,'@rpath' 76 else 77 77 AM_LDFLAGS += -Wl,-static -Wl,--disable-new-dtags -Wl,-rpath,'$$ORIGIN' 78 78 endif 79 #endif79 endif 80 80 81 81 AM_LDFLAGS += --no-warnings
Note:
See TracChangeset
for help on using the changeset viewer.