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='\
|
---|
10 | --prefix=$ISSM_DIR \
|
---|
11 | --disable-static \
|
---|
12 | --with-matlab-dir=$MATLAB_PATH \
|
---|
13 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
14 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
15 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \
|
---|
16 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
17 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
18 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
19 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
20 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
21 | --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \
|
---|
22 | --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
|
---|
23 | --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \
|
---|
24 | --with-numthreads=4 \
|
---|
25 | --enable-development \
|
---|
26 | --enable-debugging \
|
---|
27 | '
|
---|
28 |
|
---|
29 | # Test suites
|
---|
30 | MATLAB_TEST=1
|
---|
31 | PYTHON_TEST=0
|
---|
32 | JAVASCRIPT_TEST=0
|
---|
33 | EXAMPLES_TEST=0
|
---|
34 |
|
---|
35 | #-----------------------------------#
|
---|
36 | # 3: External packages installation #
|
---|
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 | mpich install-3.3.sh
|
---|
44 | lapack install-3.8-mac.sh
|
---|
45 | petsc install-3.7-mac.sh
|
---|
46 | triangle install-mac.sh
|
---|
47 | chaco install.sh
|
---|
48 | m1qn3 install.sh
|
---|
49 | semic install.sh
|
---|
50 | shell2junit install.sh
|
---|
51 | "
|
---|
52 |
|
---|
53 | #-----------------#
|
---|
54 | # 4: test options #
|
---|
55 | #-----------------#
|
---|
56 |
|
---|
57 | # Number of CPUs used in ISSM compilation
|
---|
58 | #
|
---|
59 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
60 | # compilation
|
---|
61 | #
|
---|
62 | NUMCPUS_INSTALL=4
|
---|
63 |
|
---|
64 | # Number of CPUs used in the nightly runs
|
---|
65 | NUMCPUS_RUN=2
|
---|
66 |
|
---|
67 | # Nightly run options
|
---|
68 | #
|
---|
69 | # See documentation in test/NightlyRun/runme.* for more information
|
---|
70 | #
|
---|
71 | # NOTE:
|
---|
72 | # - test701.m is skipped because it uses full Stokes equations
|
---|
73 | #
|
---|
74 | MATLAB_NROPTIONS="'exclude',[701,702,703,435,IdFromString('Dakota')]"
|
---|
75 | PYTHON_NROPTIONS="--exclude_name 'Dakota'"
|
---|