| 1 | #
 | 
|---|
| 2 | #-------------------------------#
 | 
|---|
| 3 | # 1: ISSM general configuration #
 | 
|---|
| 4 | #-------------------------------#
 | 
|---|
| 5 | 
 | 
|---|
| 6 | #MATLAB path
 | 
|---|
| 7 | MATLAB_PATH="/usr/local/MATLAB/R2015a"
 | 
|---|
| 8 | 
 | 
|---|
| 9 | #ISSM CONFIGURATION 
 | 
|---|
| 10 | ISSM_CONFIG='--prefix=$ISSM_DIR\
 | 
|---|
| 11 |                                 --disable-static \
 | 
|---|
| 12 |                                 --prefix=$ISSM_DIR \
 | 
|---|
| 13 |                                 --without-kriging \
 | 
|---|
| 14 |                                 --without-kml \
 | 
|---|
| 15 |                                 --without-Gia \
 | 
|---|
| 16 |                                 --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
 | 
|---|
| 17 |                                 --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \
 | 
|---|
| 18 |                                 --with-matlab-dir=$MATLAB_PATH \
 | 
|---|
| 19 |                                 --with-python-dir=/usr\
 | 
|---|
| 20 |                                 --with-python-numpy-dir=/usr/lib/python2.7/dist-packages/numpy\
 | 
|---|
| 21 |                                 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install '
 | 
|---|
| 22 | 
 | 
|---|
| 23 | #PYTHON and MATLAB testing
 | 
|---|
| 24 | MATLAB_TEST=1
 | 
|---|
| 25 | PYTHON_TEST=1
 | 
|---|
| 26 | 
 | 
|---|
| 27 | #execution path used for parallel runs
 | 
|---|
| 28 | EXECUTION_PATH=$ISSM_DIR/execution
 | 
|---|
| 29 | 
 | 
|---|
| 30 | #repo:
 | 
|---|
| 31 | REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl"
 | 
|---|
| 32 | 
 | 
|---|
| 33 | #-----------------------------------#
 | 
|---|
| 34 | # 3: External packages installation #
 | 
|---|
| 35 | #-----------------------------------#
 | 
|---|
| 36 | 
 | 
|---|
| 37 | #List of external pakages to be installed and their installation scripts
 | 
|---|
| 38 | EXTERNALPACKAGES="autotools install.sh                
 | 
|---|
| 39 |                                          mpich install-3.0-linux64.sh
 | 
|---|
| 40 |                                          petsc install-3.5-linux64.sh
 | 
|---|
| 41 |                                          metis install-5.0.1-linux64.sh
 | 
|---|
| 42 |                                          triangle install-linux64.sh 
 | 
|---|
| 43 |                                          gsl install-linux64.sh 
 | 
|---|
| 44 |                                          adolc install.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=5
 | 
|---|
| 63 | 
 | 
|---|
| 64 | #number of cpus used in the nightly runs.
 | 
|---|
| 65 | NUMCPUS_RUN=4
 | 
|---|
| 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 | MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019]"
 | 
|---|
| 72 | PYTHON_NROPTIONS="--benchmark=adolc"
 | 
|---|