1 | #--------------------#
|
---|
2 | # ISSM Configuration #
|
---|
3 | #--------------------#
|
---|
4 |
|
---|
5 | # MATLAB path
|
---|
6 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
|
---|
7 |
|
---|
8 | # NOTE:
|
---|
9 | # - We can disable dependency tracking in the Autotools because the binaries
|
---|
10 | # should always be a one-time build.
|
---|
11 | #
|
---|
12 |
|
---|
13 | # ISSM CONFIGURATION
|
---|
14 | ISSM_CONFIG='\
|
---|
15 | --prefix=${ISSM_DIR} \
|
---|
16 | --enable-standalone-executables \
|
---|
17 | --enable-standalone-modules \
|
---|
18 | --enable-standalone-libraries \
|
---|
19 | --disable-dependency-tracking \
|
---|
20 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
21 | --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
|
---|
22 | --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
|
---|
23 | --with-fortran-lib="/usr/local/Cellar/gcc/9.3.0/lib/gcc/9/libgfortran.a /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/libquadmath.a /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/gcc/x86_64-apple-darwin15/9.3.0/libgcc.a" \
|
---|
24 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
25 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
26 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
27 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
28 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
29 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
30 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
31 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
32 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
33 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
34 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
35 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
36 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
37 | '
|
---|
38 |
|
---|
39 | # Test suites
|
---|
40 | MATLAB_TEST=0
|
---|
41 | PYTHON_TEST=0
|
---|
42 | JAVASCRIPT_TEST=0
|
---|
43 | EXAMPLES_TEST=0
|
---|
44 |
|
---|
45 | #-------------------#
|
---|
46 | # External Packages #
|
---|
47 | #-------------------#
|
---|
48 |
|
---|
49 | EXTERNALPACKAGES="
|
---|
50 | autotools install.sh
|
---|
51 | cmake install.sh
|
---|
52 | petsc install-3.12-mac-static.sh
|
---|
53 | boost install-1.72-mac-static.sh
|
---|
54 | dakota install-6.2-mac-static.sh
|
---|
55 | triangle install-mac-static.sh
|
---|
56 | chaco install.sh
|
---|
57 | m1qn3 install.sh
|
---|
58 | semic install.sh
|
---|
59 | shell2junit install.sh
|
---|
60 | "
|
---|
61 |
|
---|
62 | #---------#
|
---|
63 | # Testing #
|
---|
64 | #---------#
|
---|
65 |
|
---|
66 | # Number of CPUs used in ISSM compilation
|
---|
67 | #
|
---|
68 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
69 | # compilation
|
---|
70 | #
|
---|
71 | NUMCPUS_INSTALL=1
|
---|
72 |
|
---|
73 | # Number of CPUs used in the nightly runs
|
---|
74 | NUMCPUS_RUN=1
|
---|
75 |
|
---|
76 | # Nightly run options
|
---|
77 | #
|
---|
78 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
79 | #
|
---|
80 | PYTHON_NROPTIONS=""
|
---|
81 | MATLAB_NROPTIONS=""
|
---|