Changeset 25244
- Timestamp:
- 07/09/20 20:28:15 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 7 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/boost/install-1.7-mac.sh
r25224 r25244 39 39 40 40 # Set install_name for all shared libraries 41 # 42 # NOTE: The install_name_tool prints an error message on some installations, 43 # but this is not a shell error, and it does not seem to affect the 44 # Boost libraries called by ISSM. For now, we are simply redirecting the 45 # error to null. 46 # 47 # TODO: 48 # - Modify the source to apply absolute paths to the library ids so that 49 # patching it after the fact with install_name_tool is not necessary. 50 # 41 51 cd ${BOOST_ROOT}/install/lib 42 52 for name in *.dylib; do 43 install_name_tool -id ${BOOST_ROOT}/install/lib/${name} ${name} 53 install_name_tool -id ${BOOST_ROOT}/install/lib/${name} ${name} 2>/dev/null 44 54 done -
issm/trunk-jpl/jenkins/pine_island-mac-binaries-solid_earth
r25243 r25244 28 28 --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \ 29 29 --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \ 30 --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \ 30 31 --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \ 31 --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \32 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \33 --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \34 32 --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \ 35 --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \ 36 --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \ 37 --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \ 33 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install 38 34 ' 35 36 #-------------------# 37 # External Packages # 38 #-------------------# 39 40 #List of external pakages to be installed and their installation scripts 41 EXTERNALPACKAGES=" 42 autotools install.sh 43 cmake install.sh 44 petsc install-3.12-mac-solid_earth-static.sh 45 boost install-1.7-mac-static.sh 46 triangle install-mac-static.sh 47 chaco install.sh 48 m1qn3 install.sh 49 semic install.sh 50 curl install-7.67-static.sh 51 netcdf install-4.7-mac-parallel-static.sh 52 proj install-6.2-static.sh 53 gdal install-3-python-netcdf-static.sh 54 gshhg install.sh 55 gmt install-6.0-mac-static.sh 56 gmsh install-4-static.sh 57 shell2junit install.sh 58 " 59 60 #---------# 61 # Testing # 62 #---------# 39 63 40 64 # Test suites … … 44 68 EXAMPLES_TEST=0 45 69 46 #-------------------#47 # External Packages #48 #-------------------#49 50 EXTERNALPACKAGES="51 autotools install.sh52 cmake install.sh53 petsc install-3.12-mac-static.sh54 gsl install-static.sh55 boost install-1.7-mac-static.sh56 dakota install-6.2-mac-static.sh57 triangle install-mac-static.sh58 chaco install.sh59 m1qn3 install.sh60 semic install.sh61 shell2junit install.sh62 "63 64 #---------#65 # Testing #66 #---------#67 68 70 # Number of CPUs used in ISSM compilation 69 71 # … … 71 73 # compilation 72 74 # 73 NUMCPUS_INSTALL= 175 NUMCPUS_INSTALL=4 74 76 75 77 # Number of CPUs used in the nightly runs … … 80 82 # See documentation in test/NightlyRun/runme.* for more information. 81 83 # 84 MATLAB_NROPTIONS="" 82 85 PYTHON_NROPTIONS="" 83 MATLAB_NROPTIONS="" -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-solid_earth.sh
r25196 r25244 1 1 #!/bin/bash 2 2 3 4 # Script to test, package, and transfer distributable to ISSM Web site. 5 # Corresponds with build generated by configuration in 6 # $ISSM_DIR/jenkins/ross-debian_linux-binaries-solid_earth. 7 # 3 8 4 9 ## Constants … … 12 17 TARBALL_NAME="issm-linux-solid_earth" 13 18 TARBALL="${TARBALL_NAME}.tar.gz" 19 20 ## Environment 21 # 22 export PATH="${ISSM_DIR}/bin:$(getconf PATH)" # Ensure that we pick up binaries from 'bin' directory rather than 'externalpackages' 14 23 15 24 # Check if MATLAB exists … … 88 97 # Check that MATLAB did not exit in error 89 98 matlabExitCode=`echo $?` 90 matlabExitedInError=`grep -E "Activation cannot proceed|license " matlab.log | wc -l`99 matlabExitedInError=`grep -E "Activation cannot proceed|license|Error" matlab.log | wc -l` 91 100 92 101 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-with_dakota.sh
r25196 r25244 1 1 #!/bin/bash 2 2 3 4 # Script to test, package, and transfer distributable to ISSM Web site. 5 # Corresponds with build generated by configuration in 6 # $ISSM_DIR/jenkins/ross-debian_linux-binaries-with_dakota. 7 # 3 8 4 9 ## Constants … … 12 17 TARBALL_NAME="issm-linux-with_dakota" 13 18 TARBALL="${TARBALL_NAME}.tar.gz" 19 20 ## Environment 21 # 22 export PATH="${ISSM_DIR}/bin:$(getconf PATH)" # Ensure that we pick up binaries from 'bin' directory rather than 'externalpackages' 14 23 15 24 # Check if MATLAB exists … … 62 71 # Check that MATLAB did not exit in error 63 72 matlabExitCode=`echo $?` 64 matlabExitedInError=`grep -E "Activation cannot proceed|license " matlab.log | wc -l`73 matlabExitedInError=`grep -E "Activation cannot proceed|license|Error" matlab.log | wc -l` 65 74 66 75 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries.sh
r25196 r25244 1 1 #!/bin/bash 2 2 3 4 # Script to test, package, and transfer distributable to ISSM Web site. 5 # Corresponds with build generated by configuration in 6 # $ISSM_DIR/jenkins/ross-debian_linux-binaries. 7 # 3 8 4 9 ## Constants … … 11 16 TARBALL_NAME="issm-linux" 12 17 TARBALL="${TARBALL_NAME}.tar.gz" 18 19 ## Environment 20 # 21 export PATH="${ISSM_DIR}/bin:$(getconf PATH)" # Ensure that we pick up binaries from 'bin' directory rather than 'externalpackages' 13 22 14 23 # Check if MATLAB exists … … 59 68 # Check that MATLAB did not exit in error 60 69 matlabExitCode=`echo $?` 61 matlabExitedInError=`grep -E "Activation cannot proceed|license " matlab.log | wc -l`70 matlabExitedInError=`grep -E "Activation cannot proceed|license|Error" matlab.log | wc -l` 62 71 63 72 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-solid_earth.sh
r25242 r25244 2 2 3 3 4 # Script to test, package, and transfer distributable to ISSM Web site. 5 # Corresponds with build generated by configuration in 6 # $ISSM_DIR/jenkins/pine_island-mac-binaries-solid_earth. 7 # 8 4 9 ## Constants 5 10 # 6 MATLAB_NROPTIONS="' id',[IdFromString('Dakota')],'exclude',[234,235,418,420,444,445]"11 MATLAB_NROPTIONS="'benchmark','slr'" 7 12 MATLAB_PATH="/Applications/MATLAB_R2018a.app" 8 PACKAGE="ISSM " # Name of directory to copy distributable files to9 PYTHON_NROPTIONS="-- include_name 'Dakota' --exclude 234 417 418 420 444 445"10 TARBALL_NAME="issm- mac-with_dakota"13 PACKAGE="ISSM-Solid_Earth" # Name of directory to copy distributable files to 14 PYTHON_NROPTIONS="--benchmark slr" 15 TARBALL_NAME="issm-linux-solid_earth" 11 16 TARBALL="${TARBALL_NAME}.tar.gz" 17 18 ## Environment 19 # 20 export PATH="${ISSM_DIR}/bin:$(getconf PATH)" # Ensure that we pick up binaries from 'bin' directory rather than 'externalpackages' 12 21 13 22 # Check if MATLAB exists … … 42 51 fi 43 52 53 echo "Moving GDAL binaries to bin/" 54 if [ -f ${ISSM_DIR}/externalpackages/gdal/install/bin/gdal-config ]; then 55 cp ${ISSM_DIR}/externalpackages/gdal/install/bin/gdalsrsinfo . 56 cp ${ISSM_DIR}/externalpackages/gdal/install/bin/gdaltransform . 57 else 58 echo "GDAL not found" 59 exit 1 60 fi 61 62 echo "Moving GMT binaries to bin/" 63 if [ -f ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt-config ]; then 64 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmt . 65 cp ${ISSM_DIR}/externalpackages/gmt/install/bin/gmtselect . 66 else 67 echo "GMT not found" 68 exit 1 69 fi 70 71 echo "Moving Gmsh binaries to bin/" 72 if [ -f ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh ]; then 73 cp ${ISSM_DIR}/externalpackages/gmsh/install/bin/gmsh . 74 else 75 echo "Gmsh not found" 76 exit 1 77 fi 78 44 79 # Run tests 45 80 echo "Running tests" … … 56 91 # Check that MATLAB did not exit in error 57 92 matlabExitCode=`echo $?` 58 matlabExitedInError=`grep -E "Activation cannot proceed|license " matlab.log | wc -l`93 matlabExitedInError=`grep -E "Activation cannot proceed|license|Error" matlab.log | wc -l` 59 94 60 95 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-with_dakota.sh
r25196 r25244 1 1 #!/bin/bash 2 2 3 4 # Script to test, package, and transfer distributable to ISSM Web site. 5 # Corresponds with build generated by configuration in 6 # $ISSM_DIR/jenkins/pine_island-mac-binaries-with_dakota. 7 # 3 8 4 9 ## Constants … … 10 15 TARBALL_NAME="issm-mac-with_dakota" 11 16 TARBALL="${TARBALL_NAME}.tar.gz" 17 18 ## Environment 19 # 20 export PATH="${ISSM_DIR}/bin:$(getconf PATH)" # Ensure that we pick up binaries from 'bin' directory rather than 'externalpackages' 12 21 13 22 # Check if MATLAB exists … … 56 65 # Check that MATLAB did not exit in error 57 66 matlabExitCode=`echo $?` 58 matlabExitedInError=`grep -E "Activation cannot proceed|license " matlab.log | wc -l`67 matlabExitedInError=`grep -E "Activation cannot proceed|license|Error" matlab.log | wc -l` 59 68 60 69 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries.sh
r25196 r25244 1 1 #!/bin/bash 2 2 3 4 # Script to test, package, and transfer distributable to ISSM Web site. 5 # Corresponds with build generated by configuration in 6 # $ISSM_DIR/jenkins/pine_island-mac-binaries. 7 # 3 8 4 9 ## Constants … … 9 14 TARBALL_NAME="issm-mac" 10 15 TARBALL="${TARBALL_NAME}.tar.gz" 16 17 ## Environment 18 # 19 export PATH="${ISSM_DIR}/bin:$(getconf PATH)" # Ensure that we pick up binaries from 'bin' directory rather than 'externalpackages' 11 20 12 21 # Check if MATLAB exists … … 54 63 # Check that MATLAB did not exit in error 55 64 matlabExitCode=`echo $?` 56 matlabExitedInError=`grep -E "Activation cannot proceed|license " matlab.log | wc -l`65 matlabExitedInError=`grep -E "Activation cannot proceed|license|Error" matlab.log | wc -l` 57 66 58 67 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then -
issm/trunk-jpl/src/m/boundaryconditions/getlovenumbers.m
r25166 r25244 37 37 38 38 love_numbers=[... 39 0 0 0 0 0 0 0 40 -1.28740059 -1.00000000 -0.89858519 1.28740059 0.42519882 0.89858519 0.00000000 39 0 0 0 0 0 0 0; 40 -1.28740059 -1.00000000 -0.89858519 1.28740059 0.42519882 0.89858519 0.00000000; 41 41 -1.00025365 -0.30922675 0.02060926 1.69102690 0.46358648 0.67016399 0.61829668; 42 42 -1.06243501 -0.19927948 0.06801636 1.86315553 0.55741597 0.73270416 0.56270589;
Note:
See TracChangeset
for help on using the changeset viewer.