1 | # NOTE:
|
---|
2 | # - Currently, this configuration does not compile the MATLAB API. After
|
---|
3 | # compiling, you will need to download the ISSM pre-compiled binaries from
|
---|
4 | # https://issm.jpl.nasa.gov/download/binaries, copy the contents of lib/ to
|
---|
5 | # $ISSM_DIR/lib-precompiled, then add $ISSM_DIR/lib-precompiled to the path
|
---|
6 | # in MATLAB.
|
---|
7 | #
|
---|
8 | # TODO:
|
---|
9 | # - Change PROJ installation script to latest version once Jenkins macOS build
|
---|
10 | # node has been upgraded.
|
---|
11 | #
|
---|
12 |
|
---|
13 | #--------------------#
|
---|
14 | # ISSM Configuration #
|
---|
15 | #--------------------#
|
---|
16 |
|
---|
17 | MATLAB_PATH="/Applications/MATLAB_R2022b.app" # NOTE: Although we do not configu
|
---|
18 | re/compile MATLAB wrappers, we need to set this variable for testing
|
---|
19 |
|
---|
20 | ISSM_CONFIG='\
|
---|
21 | --prefix=${ISSM_DIR} \
|
---|
22 | --disable-static \
|
---|
23 | --enable-development \
|
---|
24 | --enable-debugging \
|
---|
25 | --without-wrappers \
|
---|
26 | --with-numthreads=8 \
|
---|
27 | --with-fortran-lib="-L/opt/homebrew/Cellar/gcc/12.2.0/lib/gcc/12 -lgfortran" \
|
---|
28 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
29 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
30 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
31 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
32 | --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
33 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
34 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
35 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
36 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
37 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
38 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
39 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
40 | '
|
---|
41 |
|
---|
42 | #-------------------#
|
---|
43 | # External Packages #
|
---|
44 | #-------------------#
|
---|
45 |
|
---|
46 | # List of external packages to be installed and their installation scripts
|
---|
47 | EXTERNALPACKAGES="
|
---|
48 | autotools install-mac.sh
|
---|
49 | cmake install.sh
|
---|
50 | petsc install-3.17-mac-silicon.sh
|
---|
51 | triangle install-mac.sh
|
---|
52 | chaco install-mac.sh
|
---|
53 | m1qn3 install.sh
|
---|
54 | semic install.sh
|
---|
55 | shell2junit install.sh
|
---|
56 | "
|
---|
57 |
|
---|
58 | #---------#
|
---|
59 | # Testing #
|
---|
60 | #---------#
|
---|
61 |
|
---|
62 | # Test suites
|
---|
63 | MATLAB_TEST=1
|
---|
64 | PYTHON_TEST=0
|
---|
65 | JAVASCRIPT_TEST=0
|
---|
66 | EXAMPLES_TEST=0
|
---|
67 |
|
---|
68 | # Number of CPUs used in ISSM compilation
|
---|
69 | #
|
---|
70 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
71 | # compilation
|
---|
72 | #
|
---|
73 | NUMCPUS_INSTALL=8
|
---|
74 |
|
---|
75 | # Number of CPUs used in the nightly runs
|
---|
76 | NUMCPUS_RUN=2
|
---|
77 |
|
---|
78 | # Nightly run options
|
---|
79 | #
|
---|
80 | # See documentation in test/NightlyRun/runme.* for more information
|
---|
81 | #
|
---|
82 | # NOTE:
|
---|
83 | # - test701 is skipped because it uses full Stokes equations
|
---|
84 | #
|
---|
85 | MATLAB_NROPTIONS="'exclude',[IdFromString('Dakota'),435,701,702,703]"
|
---|
86 | PYTHON_NROPTIONS=""
|
---|