1 | #--------------------#
|
---|
2 | # ISSM Configuration #
|
---|
3 | #--------------------#
|
---|
4 |
|
---|
5 | ISSM_CONFIG='\
|
---|
6 | --prefix=${ISSM_DIR} \
|
---|
7 | --disable-static \
|
---|
8 | --enable-development \
|
---|
9 | --enable-debugging \
|
---|
10 | --with-numthreads=4 \
|
---|
11 | --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
|
---|
12 | --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
|
---|
13 | --with-fortran-lib="-L/usr/local/Cellar/gcc/10.2.0/lib/gcc/10 -lgfortran" \
|
---|
14 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
15 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
16 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
17 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
18 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
19 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
20 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
21 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
22 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
---|
23 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
24 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
25 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
26 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
27 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
28 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
29 | '
|
---|
30 |
|
---|
31 | #-------------------#
|
---|
32 | # External Packages #
|
---|
33 | #-------------------#
|
---|
34 |
|
---|
35 | # List of external pakages to be installed and their installation scripts
|
---|
36 | EXTERNALPACKAGES="
|
---|
37 | autotools install.sh
|
---|
38 | cmake install.sh
|
---|
39 | petsc install-3.12-mac.sh
|
---|
40 | gsl install.sh
|
---|
41 | boost install-1.7-mac.sh
|
---|
42 | dakota install-6.2-mac.sh
|
---|
43 | curl install-7.sh
|
---|
44 | netcdf install-4.7-parallel.sh
|
---|
45 | proj install-6.2.sh
|
---|
46 | gdal install-3-python-netcdf.sh
|
---|
47 | gshhg install.sh
|
---|
48 | gmt install-6-mac.sh
|
---|
49 | gmsh install-4.sh
|
---|
50 | triangle install-mac.sh
|
---|
51 | chaco install.sh
|
---|
52 | m1qn3 install.sh
|
---|
53 | semic install.sh
|
---|
54 | shell2junit install.sh
|
---|
55 | "
|
---|
56 |
|
---|
57 | #---------#
|
---|
58 | # Testing #
|
---|
59 | #---------#
|
---|
60 |
|
---|
61 | # Test suites
|
---|
62 | MATLAB_TEST=0
|
---|
63 | PYTHON_TEST=1
|
---|
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=2
|
---|
76 |
|
---|
77 | # Nightly run options
|
---|
78 | #
|
---|
79 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
80 | #
|
---|
81 | # NOTE:
|
---|
82 | # - Errors are large for tests 234 418 and 420 under Python
|
---|
83 | # - See test417.py for why it is excluded
|
---|
84 | # - Test 444 fails intermittently under Python with "IndexError: list index out of range"
|
---|
85 | # - Tests 701, 702, and 703 are skipped because they use full Stokes equations
|
---|
86 | #
|
---|
87 | MATLAB_NROPTIONS=""
|
---|
88 | PYTHON_NROPTIONS="--exclude 234 417 418 420 435 444 445 701 702 703"
|
---|