1 | #-------------------------------#
|
---|
2 | # 1: ISSM general configuration #
|
---|
3 | #-------------------------------#
|
---|
4 |
|
---|
5 | # MATLAB path
|
---|
6 | MATLAB_PATH="/Applications/MATLAB_R2015b.app"
|
---|
7 |
|
---|
8 | # ISSM CONFIGURATION
|
---|
9 | ISSM_CONFIG='--prefix=$ISSM_DIR \
|
---|
10 | --with-matlab-dir=$MATLAB_PATH \
|
---|
11 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
12 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
13 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \
|
---|
14 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
15 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
16 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
17 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
18 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
19 | --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \
|
---|
20 | --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
|
---|
21 | --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \
|
---|
22 | --with-numthreads=4 \
|
---|
23 | --enable-debugging \
|
---|
24 | --enable-development
|
---|
25 | '
|
---|
26 |
|
---|
27 | # Test suites
|
---|
28 | MATLAB_TEST=1
|
---|
29 | PYTHON_TEST=0
|
---|
30 | JAVASCRIPT_TEST=0
|
---|
31 | EXAMPLES_TEST=0
|
---|
32 |
|
---|
33 | #-----------------------------------#
|
---|
34 | # 3: External packages installation #
|
---|
35 | #-----------------------------------#
|
---|
36 |
|
---|
37 | # List of external pakages to be installed and their installation scripts
|
---|
38 | EXTERNALPACKAGES="
|
---|
39 | autotools install.sh
|
---|
40 | cmake install.sh
|
---|
41 | mpich install-3.3.sh
|
---|
42 | petsc install-3.11-macOS.sh
|
---|
43 | triangle install-macosx64.sh
|
---|
44 | m1qn3 install.sh
|
---|
45 | semic install.sh
|
---|
46 | shell2junit install.sh
|
---|
47 | "
|
---|
48 |
|
---|
49 | #-----------------#
|
---|
50 | # 4: test options #
|
---|
51 | #-----------------#
|
---|
52 |
|
---|
53 | # Number of CPUs used in ISSM compilation
|
---|
54 | #
|
---|
55 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
56 | # compilation.
|
---|
57 | #
|
---|
58 | NUMCPUS_INSTALL=8
|
---|
59 |
|
---|
60 | # Number of CPUs used in the nightly runs
|
---|
61 | NUMCPUS_RUN=8
|
---|
62 |
|
---|
63 | # Nightly run options
|
---|
64 | #
|
---|
65 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
66 | #
|
---|
67 | # NOTE:
|
---|
68 | # - test701.m is skipped because it uses full Stokes equations
|
---|
69 | #
|
---|
70 | MATLAB_NROPTIONS="'exclude',[701,702,703,435,IdFromString('Dakota')]"
|
---|
71 | PYTHON_NROPTIONS="--exclude_name 'Dakota'"
|
---|