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