1 | #--------------------#
|
---|
2 | # ISSM Configuration #
|
---|
3 | #--------------------#
|
---|
4 |
|
---|
5 | MATLAB_PATH="/usr/local/MATLAB/R2019b"
|
---|
6 |
|
---|
7 | # NOTE:
|
---|
8 | # - We can disable dependency tracking in the Autotools because the binaries
|
---|
9 | # should always be a one-time build.
|
---|
10 | # - libgfortran will not be available in $ISSM_DIR/lib at compile time: it is
|
---|
11 | # copied by packaging script.
|
---|
12 | #
|
---|
13 | ISSM_CONFIG='\
|
---|
14 | --prefix="${ISSM_DIR}" \
|
---|
15 | --enable-standalone-executables \
|
---|
16 | --enable-standalone-modules \
|
---|
17 | --enable-standalone-libraries \
|
---|
18 | --disable-dependency-tracking \
|
---|
19 | --with-numthreads=4 \
|
---|
20 | --with-pic \
|
---|
21 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
22 | --with-python-dir=/usr \
|
---|
23 | --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
|
---|
24 | --with-fortran-lib="-L${ISSM_DIR}/lib -lgfortran" \
|
---|
25 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
26 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
27 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
28 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
29 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
30 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
31 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
32 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
33 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
34 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install
|
---|
35 | '
|
---|
36 |
|
---|
37 | #-------------------#
|
---|
38 | # External Packages #
|
---|
39 | #-------------------#
|
---|
40 |
|
---|
41 | EXTERNALPACKAGES="
|
---|
42 | autotools install-debian-linux.sh
|
---|
43 | cmake install.sh
|
---|
44 | petsc install-3.12-linux-solid_earth-static.sh
|
---|
45 | boost install-1.7-linux-static.sh
|
---|
46 | triangle install-linux-static.sh
|
---|
47 | chaco install.sh
|
---|
48 | m1qn3 install.sh
|
---|
49 | semic install.sh
|
---|
50 | curl install-7.67-static.sh
|
---|
51 | netcdf install-4.7-parallel-static.sh
|
---|
52 | proj install-6.2-static.sh
|
---|
53 | gdal install-3.0-python-netcdf-static.sh
|
---|
54 | gshhg install.sh
|
---|
55 | gmt install-6.0-linux-static.sh
|
---|
56 | gmsh install-4-static.sh
|
---|
57 | shell2junit install.sh
|
---|
58 | "
|
---|
59 |
|
---|
60 | #---------#
|
---|
61 | # Testing #
|
---|
62 | #---------#
|
---|
63 |
|
---|
64 | # Test suites
|
---|
65 | MATLAB_TEST=0
|
---|
66 | PYTHON_TEST=0
|
---|
67 | JAVASCRIPT_TEST=0
|
---|
68 | EXAMPLES_TEST=0
|
---|
69 |
|
---|
70 | # Number of CPUs used in ISSM compilation
|
---|
71 | #
|
---|
72 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
73 | # compilation.
|
---|
74 | #
|
---|
75 | NUMCPUS_INSTALL=8
|
---|
76 |
|
---|
77 | # Number of CPUs used in the nightly runs
|
---|
78 | NUMCPUS_RUN=1
|
---|
79 |
|
---|
80 | # Nightly run options
|
---|
81 | #
|
---|
82 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
83 | #
|
---|
84 | MATLAB_NROPTIONS=""
|
---|
85 | PYTHON_NROPTIONS=""
|
---|