1 | #--------------------#
|
---|
2 | # ISSM Configuration #
|
---|
3 | #--------------------#
|
---|
4 |
|
---|
5 | # MATLAB path
|
---|
6 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
|
---|
7 |
|
---|
8 | # ISSM CONFIGURATION
|
---|
9 | ISSM_CONFIG='\
|
---|
10 | --prefix=${ISSM_DIR} \
|
---|
11 | --disable-static \
|
---|
12 | --enable-development \
|
---|
13 | --enable-debugging \
|
---|
14 | --with-numthreads=4 \
|
---|
15 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
16 | --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
|
---|
17 | --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
|
---|
18 | --with-fortran-lib="-L/usr/local/Cellar/gcc/9.3.0/lib/gcc/9 -lgfortran" \
|
---|
19 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
20 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
21 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
22 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
23 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
24 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
25 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
26 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
---|
27 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
28 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
29 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
30 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
31 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
32 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
33 | '
|
---|
34 |
|
---|
35 | #-------------------#
|
---|
36 | # External Packages #
|
---|
37 | #-------------------#
|
---|
38 |
|
---|
39 | #List of external pakages to be installed and their installation scripts
|
---|
40 | EXTERNALPACKAGES="
|
---|
41 | autotools install.sh
|
---|
42 | cmake install.sh
|
---|
43 | petsc install-3.12-mac.sh
|
---|
44 | gsl install.sh
|
---|
45 | boost install-1.7-mac.sh
|
---|
46 | dakota install-6.2-mac.sh
|
---|
47 | triangle install-mac.sh
|
---|
48 | chaco install.sh
|
---|
49 | m1qn3 install.sh
|
---|
50 | semic install.sh
|
---|
51 | shell2junit install.sh
|
---|
52 | "
|
---|
53 |
|
---|
54 | #---------#
|
---|
55 | # Testing #
|
---|
56 | #---------#
|
---|
57 |
|
---|
58 | # Test suites
|
---|
59 | MATLAB_TEST=1
|
---|
60 | PYTHON_TEST=1
|
---|
61 | JAVASCRIPT_TEST=0
|
---|
62 | EXAMPLES_TEST=0
|
---|
63 |
|
---|
64 | # Number of CPUs used in ISSM compilation
|
---|
65 | #
|
---|
66 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
67 | # compilation
|
---|
68 | #
|
---|
69 | NUMCPUS_INSTALL=4
|
---|
70 |
|
---|
71 | # Number of CPUs used in the nightly runs
|
---|
72 | NUMCPUS_RUN=2
|
---|
73 |
|
---|
74 | # Nightly run options
|
---|
75 | #
|
---|
76 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
77 | #
|
---|
78 | # NOTE:
|
---|
79 | # - Errors are large for tests 234, 235, 418, and 420 under MATLAB
|
---|
80 | # - Tests 444 and 445 fail intermittently under MATLAB with "Index exceeds array bounds."
|
---|
81 | # - Errors are large for tests 234 418 and 420 under Python
|
---|
82 | # - See test417.py for why it is excluded
|
---|
83 | # - Test 444 fails intermittently under Python with "IndexError: list index out of range"
|
---|
84 | #
|
---|
85 | MATLAB_NROPTIONS="'exclude',[234 235 418 420 444 445],'id',[IdFromString('Dakota')]"
|
---|
86 | PYTHON_NROPTIONS="--exclude 234 417 418 420 444 445 --include_name 'Dakota'"
|
---|