1 | # NOTE:
|
---|
2 | # - This configuration adds solid earth and Dakota capabilities to the basic
|
---|
3 | # build.
|
---|
4 | # - Currently, this configuration does not compile the MATLAB API. After compiling, you will need to download the ISSM pre-compiled
|
---|
5 | # binaries from https://issm.jpl.nasa.gov/download/binaries, copy the
|
---|
6 | # contents of lib/ to $ISSM_DIR/lib-precompiled, then add
|
---|
7 | # $ISSM_DIR/lib-precompiled to the path in MATLAB.
|
---|
8 | #
|
---|
9 | # TODO: Change PROJ installation script to latest version once Jenkins macOS
|
---|
10 | # build node has been upgraded.
|
---|
11 | #
|
---|
12 |
|
---|
13 | #--------------------#
|
---|
14 | # ISSM Configuration #
|
---|
15 | #--------------------#
|
---|
16 |
|
---|
17 | ISSM_CONFIG='\
|
---|
18 | --prefix=${ISSM_DIR} \
|
---|
19 | --disable-static \
|
---|
20 | --enable-development \
|
---|
21 | --enable-debugging \
|
---|
22 | --with-numthreads=4 \
|
---|
23 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
24 | --with-python-version=3.9 \
|
---|
25 | --with-python-dir=/System/Volumes/Data/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9 \
|
---|
26 | --with-python-numpy-dir=/Library/Python/3.9/site-packages/numpy/core/include/numpy \
|
---|
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-hdf5-dir=${ISSM_DIR}/externalpackages/hdf5/install \
|
---|
36 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
37 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
---|
38 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
39 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
40 | --with-proj-dir=${ISSM_DIR}/externalpackages/proj/install \
|
---|
41 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
42 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
43 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
44 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
45 | '
|
---|
46 |
|
---|
47 | #-------------------#
|
---|
48 | # External Packages #
|
---|
49 | #-------------------#
|
---|
50 |
|
---|
51 | EXTERNALPACKAGES="
|
---|
52 | autotools install-mac.sh
|
---|
53 | cmake install.sh
|
---|
54 | petsc install-3.14-mac.sh
|
---|
55 | gsl install.sh
|
---|
56 | boost install-1.7-mac.sh
|
---|
57 | dakota install-6.2-mac.sh
|
---|
58 | curl install-7-mac.sh
|
---|
59 | hdf5 install-1-parallel.sh
|
---|
60 | netcdf install-4.7-parallel.sh
|
---|
61 | proj install-6.sh
|
---|
62 | gdal install-3-python.sh
|
---|
63 | gshhg install.sh
|
---|
64 | gmt install-6-mac-silicon.sh
|
---|
65 | gmsh install-4-mac.sh
|
---|
66 | triangle install-mac.sh
|
---|
67 | chaco install-mac.sh
|
---|
68 | m1qn3 install.sh
|
---|
69 | semic install.sh
|
---|
70 | shell2junit install.sh
|
---|
71 | "
|
---|
72 |
|
---|
73 | #---------#
|
---|
74 | # Testing #
|
---|
75 | #---------#
|
---|
76 |
|
---|
77 | # Test suites
|
---|
78 | MATLAB_TEST=0
|
---|
79 | PYTHON_TEST=0
|
---|
80 | JAVASCRIPT_TEST=0
|
---|
81 | EXAMPLES_TEST=0
|
---|
82 |
|
---|
83 | # Number of CPUs used in ISSM compilation
|
---|
84 | #
|
---|
85 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
86 | # compilation
|
---|
87 | #
|
---|
88 | NUMCPUS_INSTALL=8
|
---|
89 |
|
---|
90 | # Number of CPUs used in the nightly runs
|
---|
91 | NUMCPUS_RUN=1
|
---|
92 |
|
---|
93 | # Nightly run options
|
---|
94 | MATLAB_NROPTIONS=""
|
---|
95 | PYTHON_NROPTIONS=""
|
---|