1 | #-------------------------------#
|
---|
2 | # 1: ISSM general configuration #
|
---|
3 | #-------------------------------#
|
---|
4 |
|
---|
5 | #MATLAB path
|
---|
6 | MATLAB_PATH="/usr/local/MATLAB/R2019b"
|
---|
7 |
|
---|
8 | #ISSM CONFIGURATION
|
---|
9 | ISSM_CONFIG='\
|
---|
10 | --prefix=$ISSM_DIR \
|
---|
11 | --disable-static \
|
---|
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/gcc/x86_64-linux-gnu/8 -lgfortran" \
|
---|
16 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
17 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
18 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/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 | --with-numthreads=4 \
|
---|
26 | --enable-development \
|
---|
27 | --enable-debugging \
|
---|
28 | '
|
---|
29 |
|
---|
30 | # Test suites
|
---|
31 | MATLAB_TEST=1
|
---|
32 | PYTHON_TEST=1
|
---|
33 | JAVASCRIPT_TEST=0
|
---|
34 | EXAMPLES_TEST=0
|
---|
35 |
|
---|
36 | #-----------------------------------#
|
---|
37 | # 3: External packages installation #
|
---|
38 | #-----------------------------------#
|
---|
39 |
|
---|
40 | # List of external packages to be installed and their installation scripts
|
---|
41 | EXTERNALPACKAGES="
|
---|
42 | autotools install-debian.sh
|
---|
43 | cmake install.sh
|
---|
44 | mpich install-3.3.sh
|
---|
45 | lapack install-3.8-linux.sh
|
---|
46 | petsc install-3.7-linux.sh
|
---|
47 | triangle install-linux64.sh
|
---|
48 | chaco install.sh
|
---|
49 | m1qn3 install.sh
|
---|
50 | semic install.sh
|
---|
51 | boost install-1.55-linux.sh
|
---|
52 | zlib install-1.2.sh
|
---|
53 | hdf5 install-1.10.sh
|
---|
54 | netcdf install-4.7.sh
|
---|
55 | proj install-6.2.sh
|
---|
56 | gdal install-3.0-netcdf.sh
|
---|
57 | gshhg install.sh
|
---|
58 | gmt install-6.0-linux.sh
|
---|
59 | gmsh install.sh
|
---|
60 | shell2junit install.sh
|
---|
61 | "
|
---|
62 |
|
---|
63 | #-----------------#
|
---|
64 | # 4: test options #
|
---|
65 | #-----------------#
|
---|
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=8
|
---|
73 |
|
---|
74 | # Number of cpus used in the nightly runs
|
---|
75 | #
|
---|
76 | # NOTE: Possible problem of access to all_vertices.txt if more than 1.
|
---|
77 | #
|
---|
78 | NUMCPUS_RUN=1
|
---|
79 |
|
---|
80 | # Nightly run options
|
---|
81 | #
|
---|
82 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
83 | #
|
---|
84 | MATLAB_NROPTIONS="'benchmark','slr'"
|
---|
85 | PYTHON_NROPTIONS="--benchmark=slr"
|
---|