1 | # TODO: Change PROJ installation script to latest version once Jenkins macOS
|
---|
2 | # build node has been upgraded.
|
---|
3 | #
|
---|
4 |
|
---|
5 | #--------------------#
|
---|
6 | # ISSM Configuration #
|
---|
7 | #--------------------#
|
---|
8 |
|
---|
9 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
|
---|
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 \
|
---|
20 | --with-fortran-lib="-L/usr/local/Cellar/gcc/10.3.0/lib/gcc/10 -lgfortran" \
|
---|
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 \
|
---|
25 | --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
26 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
27 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
28 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
29 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
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 \
|
---|
33 | --with-proj-dir=${ISSM_DIR}/externalpackages/proj/install \
|
---|
34 | --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 \
|
---|
38 | '
|
---|
39 |
|
---|
40 | #-------------------#
|
---|
41 | # External Packages #
|
---|
42 | #-------------------#
|
---|
43 |
|
---|
44 | #List of external pakages to be installed and their installation scripts
|
---|
45 | EXTERNALPACKAGES="
|
---|
46 | autotools install-mac.sh
|
---|
47 | cmake install.sh
|
---|
48 | petsc install-3.14-mac.sh
|
---|
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
|
---|
54 | proj install-6.sh
|
---|
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
|
---|
64 | "
|
---|
65 |
|
---|
66 | #---------#
|
---|
67 | # Testing #
|
---|
68 | #---------#
|
---|
69 |
|
---|
70 | # Test suites
|
---|
71 | MATLAB_TEST=1
|
---|
72 | PYTHON_TEST=1
|
---|
73 | JAVASCRIPT_TEST=0
|
---|
74 | EXAMPLES_TEST=0
|
---|
75 |
|
---|
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
|
---|
84 | NUMCPUS_RUN=2
|
---|
85 |
|
---|
86 | # Nightly run options
|
---|
87 | #
|
---|
88 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
89 | #
|
---|
90 | # NOTE:
|
---|
91 | # - Excluding 2006 until it can be debugged (file I/O)
|
---|
92 | #
|
---|
93 | MATLAB_NROPTIONS="'benchmark','slc','exclude',[2006]"
|
---|
94 | PYTHON_NROPTIONS="--benchmark slc --exclude 2005 2006"
|
---|