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-numthreads=4 \
|
---|
21 | --enable-debugging \
|
---|
22 | --enable-development'
|
---|
23 |
|
---|
24 | #PYTHON and MATLAB testing
|
---|
25 | MATLAB_TEST=1
|
---|
26 | PYTHON_TEST=0
|
---|
27 |
|
---|
28 | #-----------------------------------#
|
---|
29 | # 3: External packages installation #
|
---|
30 | #-----------------------------------#
|
---|
31 |
|
---|
32 | #List of external pakages to be installed and their installation scripts
|
---|
33 | EXTERNALPACKAGES="autotools install.sh
|
---|
34 | cmake install.sh
|
---|
35 | mpich install-3.2-macosx64.sh
|
---|
36 | m1qn3 install.sh
|
---|
37 | petsc install-3.7-macosx64.sh
|
---|
38 | triangle install-macosx64.sh
|
---|
39 | shell2junit install.sh"
|
---|
40 |
|
---|
41 | #-----------------#
|
---|
42 | # 4: test options #
|
---|
43 | #-----------------#
|
---|
44 |
|
---|
45 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
46 | #safer as some packages are very sensitive to parallel compilation)
|
---|
47 | NUMCPUS_INSTALL=4
|
---|
48 |
|
---|
49 | #number of cpus used in the nightly runs.
|
---|
50 | NUMCPUS_RUN=2
|
---|
51 |
|
---|
52 | #Nightly run options. The matlab routine runme.m will be called
|
---|
53 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
54 | #by Matlab and runme.m
|
---|
55 | #ex: "'id',[101 102 103]"
|
---|
56 | ## FS
|
---|
57 | PYTHON_NROPTIONS=""
|
---|
58 | MATLAB_NROPTIONS="'exclude',[701,702,703,435,IdFromString('Dakota')]"
|
---|