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 -lpmpich -lmpich -lmpl" \
|
---|
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 | #execution path used for parallel runs
|
---|
29 | EXECUTION_PATH=$ISSM_DIR/execution
|
---|
30 |
|
---|
31 | #repo:
|
---|
32 | REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl"
|
---|
33 |
|
---|
34 | #-----------------------------------#
|
---|
35 | # 3: External packages installation #
|
---|
36 | #-----------------------------------#
|
---|
37 |
|
---|
38 | #List of external pakages to be installed and their installation scripts
|
---|
39 | EXTERNALPACKAGES="autotools install.sh
|
---|
40 | cmake install.sh
|
---|
41 | mpich install-3.0-macosx64.sh
|
---|
42 | m1qn3 install.sh
|
---|
43 | petsc install-3.6-macosx64.sh
|
---|
44 | triangle install-macosx64.sh
|
---|
45 | shell2junit install.sh"
|
---|
46 |
|
---|
47 | #---------------------#
|
---|
48 | # 4: ISSM Compilation #
|
---|
49 | #---------------------#
|
---|
50 |
|
---|
51 | #ISSM_COMPILATION can have 2 values:
|
---|
52 | # - "yes" compile ISSM
|
---|
53 | # - "no" do not compile ISSM
|
---|
54 | ISSM_COMPILATION="yes"
|
---|
55 |
|
---|
56 | #------------------------#
|
---|
57 | # 5: Nightly run options #
|
---|
58 | #------------------------#
|
---|
59 |
|
---|
60 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
61 | #safer as some packages are very sensitive to parallel compilation)
|
---|
62 | NUMCPUS_INSTALL=4
|
---|
63 |
|
---|
64 | #number of cpus used in the nightly runs.
|
---|
65 | NUMCPUS_RUN=2
|
---|
66 |
|
---|
67 | #Nightly run options. The matlab routine runme.m will be called
|
---|
68 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
69 | #by Matlab and runme.m
|
---|
70 | #ex: "'id',[101 102 103]"
|
---|
71 | ## bamg mesh FS
|
---|
72 | PYTHON_NROPTIONS=""
|
---|
73 | MATLAB_NROPTIONS="'exclude',[119,243,514,701,702,703,435,IdFromString('Dakota')]"
|
---|