1 | #--------------------#
|
---|
2 | # ISSM Configuration #
|
---|
3 | #--------------------#
|
---|
4 |
|
---|
5 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
|
---|
6 |
|
---|
7 | # NOTE:
|
---|
8 | # - We can disable dependency tracking in the Autotools because the binaries
|
---|
9 | # should always be a one-time build.
|
---|
10 | #
|
---|
11 | ISSM_CONFIG='\
|
---|
12 | --prefix=${ISSM_DIR} \
|
---|
13 | --enable-standalone-executables \
|
---|
14 | --enable-standalone-modules \
|
---|
15 | --enable-standalone-libraries \
|
---|
16 | --disable-dependency-tracking \
|
---|
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="/usr/local/Cellar/gcc/10.2.0/lib/gcc/10/libgfortran.a /usr/local/Cellar/gcc/10.2.0/lib/gcc/10/libquadmath.a /usr/local/Cellar/gcc/10.2.0/lib/gcc/10/gcc/x86_64-apple-darwin15/10.2.0/libgcc.a" \
|
---|
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-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
26 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
27 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
28 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
29 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
30 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install
|
---|
31 | '
|
---|
32 |
|
---|
33 | #-------------------#
|
---|
34 | # External Packages #
|
---|
35 | #-------------------#
|
---|
36 |
|
---|
37 | #List of external pakages to be installed and their installation scripts
|
---|
38 | EXTERNALPACKAGES="
|
---|
39 | autotools install.sh
|
---|
40 | cmake install.sh
|
---|
41 | petsc install-3.14-mac-static.sh
|
---|
42 | boost install-1.7-mac-static.sh
|
---|
43 | triangle install-mac-static.sh
|
---|
44 | chaco install.sh
|
---|
45 | m1qn3 install.sh
|
---|
46 | semic install.sh
|
---|
47 | curl install-7.67-static.sh
|
---|
48 | netcdf install-4.7-mac-parallel-static.sh
|
---|
49 | proj install-6.2-static.sh
|
---|
50 | gdal install-3-python-netcdf-static.sh
|
---|
51 | gshhg install.sh
|
---|
52 | gmt install-6.0-mac-static.sh
|
---|
53 | gmsh install-4-static.sh
|
---|
54 | shell2junit install.sh
|
---|
55 | "
|
---|
56 |
|
---|
57 | #---------#
|
---|
58 | # Testing #
|
---|
59 | #---------#
|
---|
60 |
|
---|
61 | # Test suites
|
---|
62 | MATLAB_TEST=0
|
---|
63 | PYTHON_TEST=0
|
---|
64 | JAVASCRIPT_TEST=0
|
---|
65 | EXAMPLES_TEST=0
|
---|
66 |
|
---|
67 | # Number of CPUs used in ISSM compilation
|
---|
68 | #
|
---|
69 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
70 | # compilation
|
---|
71 | #
|
---|
72 | NUMCPUS_INSTALL=4
|
---|
73 |
|
---|
74 | # Number of CPUs used in the nightly runs
|
---|
75 | NUMCPUS_RUN=1
|
---|
76 |
|
---|
77 | # Nightly run options
|
---|
78 | #
|
---|
79 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
80 | #
|
---|
81 | MATLAB_NROPTIONS=""
|
---|
82 | PYTHON_NROPTIONS=""
|
---|