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