1 | #--------------------#
|
---|
2 | # ISSM Configuration #
|
---|
3 | #--------------------#
|
---|
4 |
|
---|
5 | MATLAB_PATH="/usr/local/MATLAB/R2019b"
|
---|
6 | ISSM_CONFIG='\
|
---|
7 | --prefix=${ISSM_DIR} \
|
---|
8 | --disable-static \
|
---|
9 | --enable-development \
|
---|
10 | --enable-debugging \
|
---|
11 | --with-numthreads=4 \
|
---|
12 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
13 | --with-python-dir=/usr \
|
---|
14 | --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
|
---|
15 | --with-fortran-lib="-L/usr/lib/x86_64-linux-gnu -lgfortran" \
|
---|
16 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
17 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
18 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
19 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
20 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
21 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
22 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
23 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
24 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
25 | '
|
---|
26 |
|
---|
27 | #-------------------#
|
---|
28 | # External Packages #
|
---|
29 | #-------------------#
|
---|
30 |
|
---|
31 | EXTERNALPACKAGES="
|
---|
32 | autotools install-debian-linux.sh
|
---|
33 | cmake install.sh
|
---|
34 | petsc install-3.12-linux-solid_earth.sh
|
---|
35 | triangle install-linux.sh
|
---|
36 | chaco install.sh
|
---|
37 | m1qn3 install.sh
|
---|
38 | semic install.sh
|
---|
39 | boost install-1.7-linux.sh
|
---|
40 | curl install-7.67.sh
|
---|
41 | netcdf install-4.7.sh
|
---|
42 | proj install-6.2.sh
|
---|
43 | gdal install-3.0-python-netcdf.sh
|
---|
44 | gshhg install.sh
|
---|
45 | gmt install-6.0-linux.sh
|
---|
46 | gmsh install.sh
|
---|
47 | shell2junit install.sh
|
---|
48 | "
|
---|
49 |
|
---|
50 | #---------#
|
---|
51 | # Testing #
|
---|
52 | #---------#
|
---|
53 |
|
---|
54 | # Test suites
|
---|
55 | MATLAB_TEST=1
|
---|
56 | PYTHON_TEST=1
|
---|
57 | JAVASCRIPT_TEST=0
|
---|
58 | EXAMPLES_TEST=0
|
---|
59 |
|
---|
60 | # Number of CPUs used in ISSM compilation
|
---|
61 | #
|
---|
62 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
63 | # compilation.
|
---|
64 | #
|
---|
65 | NUMCPUS_INSTALL=8
|
---|
66 |
|
---|
67 | # Number of cpus used in the nightly runs
|
---|
68 | #
|
---|
69 | # NOTE: Possible problem of access to all_vertices.txt if more than 1.
|
---|
70 | #
|
---|
71 | NUMCPUS_RUN=1
|
---|
72 |
|
---|
73 | # Nightly run options
|
---|
74 | #
|
---|
75 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
76 | #
|
---|
77 | MATLAB_NROPTIONS="'benchmark','slr'"
|
---|
78 | PYTHON_NROPTIONS="--benchmark=slr"
|
---|