[26417] | 1 | # TODO: Change PROJ installation script to latest version once Jenkins macOS
|
---|
| 2 | # build node has been upgraded.
|
---|
| 3 | #
|
---|
| 4 |
|
---|
[24650] | 5 | #--------------------#
|
---|
| 6 | # ISSM Configuration #
|
---|
| 7 | #--------------------#
|
---|
| 8 |
|
---|
[24664] | 9 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
|
---|
[24650] | 10 |
|
---|
| 11 | ISSM_CONFIG='\
|
---|
| 12 | --prefix=${ISSM_DIR} \
|
---|
| 13 | --disable-static \
|
---|
| 14 | --enable-development \
|
---|
| 15 | --enable-debugging \
|
---|
| 16 | --with-numthreads=4 \
|
---|
| 17 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
| 18 | --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
|
---|
| 19 | --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
|
---|
[26426] | 20 | --with-fortran-lib="-L/usr/local/Cellar/gcc/10.3.0/lib/gcc/10 -lgfortran" \
|
---|
[24650] | 21 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
| 22 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 23 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 24 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[26035] | 25 | --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24650] | 26 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 27 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[25200] | 28 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24650] | 29 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[25690] | 30 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
---|
| 31 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
| 32 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
[26369] | 33 | --with-proj-dir=${ISSM_DIR}/externalpackages/proj/install \
|
---|
[24650] | 34 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
[25700] | 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 \
|
---|
[24650] | 38 | '
|
---|
| 39 |
|
---|
[24676] | 40 | #-------------------#
|
---|
| 41 | # External Packages #
|
---|
| 42 | #-------------------#
|
---|
[24650] | 43 |
|
---|
| 44 | #List of external pakages to be installed and their installation scripts
|
---|
| 45 | EXTERNALPACKAGES="
|
---|
[25982] | 46 | autotools install-mac.sh
|
---|
| 47 | cmake install.sh
|
---|
[26426] | 48 | petsc install-3.14-mac.sh
|
---|
[25982] | 49 | gsl install.sh
|
---|
| 50 | boost install-1.7-mac.sh
|
---|
| 51 | dakota install-6.2-mac.sh
|
---|
| 52 | curl install-7-mac.sh
|
---|
| 53 | netcdf install-4.7-parallel.sh
|
---|
[26417] | 54 | proj install-6.sh
|
---|
[25982] | 55 | gdal install-3-python.sh
|
---|
| 56 | gshhg install.sh
|
---|
| 57 | gmt install-6-mac.sh
|
---|
| 58 | gmsh install-4.sh
|
---|
| 59 | triangle install-mac.sh
|
---|
| 60 | chaco install.sh
|
---|
| 61 | m1qn3 install.sh
|
---|
| 62 | semic install.sh
|
---|
| 63 | shell2junit install.sh
|
---|
[24650] | 64 | "
|
---|
| 65 |
|
---|
[24676] | 66 | #---------#
|
---|
| 67 | # Testing #
|
---|
| 68 | #---------#
|
---|
[24650] | 69 |
|
---|
[25189] | 70 | # Test suites
|
---|
| 71 | MATLAB_TEST=1
|
---|
| 72 | PYTHON_TEST=1
|
---|
| 73 | JAVASCRIPT_TEST=0
|
---|
| 74 | EXAMPLES_TEST=0
|
---|
| 75 |
|
---|
[24650] | 76 | # Number of CPUs used in ISSM compilation
|
---|
| 77 | #
|
---|
| 78 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 79 | # compilation
|
---|
| 80 | #
|
---|
| 81 | NUMCPUS_INSTALL=4
|
---|
| 82 |
|
---|
| 83 | # Number of CPUs used in the nightly runs
|
---|
[24661] | 84 | NUMCPUS_RUN=2
|
---|
[24650] | 85 |
|
---|
| 86 | # Nightly run options
|
---|
| 87 | #
|
---|
[24660] | 88 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
[24650] | 89 | #
|
---|
[25704] | 90 | # NOTE:
|
---|
| 91 | # - Excluding 2006 until it can be debugged (file I/O)
|
---|
| 92 | #
|
---|
[25963] | 93 | MATLAB_NROPTIONS="'benchmark','slc','exclude',[2006]"
|
---|
| 94 | PYTHON_NROPTIONS="--benchmark slc --exclude 2005 2006"
|
---|