########### Configuration file for Eric Larour's Jenkins runs on Linux. Automatic differentiation ############

#-------------------------------#
# 1: ISSM general configuration #
#-------------------------------#

#Nightly run name
NAME="ISSM tests on Linux64 (murdo). Automatic differentiation validation tests"

#ISSM Architecture
ISSM_ARCH="linux-gnu-amd64"

#ISSM CONFIGURATION 
ISSM_CONFIG='--prefix=$ISSM_DIR\
                  --prefix=$ISSM_DIR \
				  --without-kriging \
				  --without-kml \
				  --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
				  --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \
				  --with-matlab-dir=$MATLAB_DIR \
				  --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install '
#MATLAB path
MATLAB_PATH="/usr/local/matlab80/"

#PYTHON and MATLAB testing
MATLAB_TEST=1
PYTHON_TEST=0

#execution path used for parallel runs
EXECUTION_PATH=$ISSM_DIR/execution

#-----------------------------------#
# 3: External packages installation #
#-----------------------------------#

#ISSM_EXTERNALPACKAGES can have 3 values:
# - "install" install all external packages listed below
# - "copy"    copy existing directories (EXTERNALPACKAGESDIR)
# - "none"    leave external packages as is
#             ->skip to section 4
ISSM_EXTERNALPACKAGES="install"
EXTERNALPACKAGESDIR=$ISSM_DIR/externalpackages

#List of external pakages to be installed and their installation scripts
EXTERNALPACKAGES="autotools install.sh                
					 git install.sh 
					 cmake install.sh 
					 matlab install.sh 
					 mpich install-3.0-linux64.sh
					 petsc install-3.4-linux64.sh
					 metis install-5.0.1-linux64.sh
					 triangle install-linux64.sh 
					 gsl install-linux64.sh 
					 adolc install.sh"

#---------------------#
# 4: ISSM Compilation #
#---------------------#

#ISSM_COMPILATION can have 2 values:
# - "yes" compile ISSM
# - "no"  do not compile ISSM
ISSM_COMPILATION="yes"

#----------------------#
# 5: Mail notification #
#----------------------#

#Mail delivery. If SKIPMAIL="no", the html nightly run report will be
#sent to the adresses present in $ISSM_DIR/cron/mailinglist.
SKIPMAIL="no"

#Sender email address
EMAIL_ADRESS="eric.larour@jpl.nasa.gov"

#Mailing list
MAILINGLIST="eric.larour@jpl.nasa.gov"

#------------------------#
# 6: Nightly run options #
#------------------------#

#number of cpus used in ISSM installation and compilation (one is usually
#safer as some packages are very sensitive to parallel compilation)
NUMCPUS_INSTALL=8

#number of cpus used in the nightly runs.
NUMCPUS_RUN=8

#Nightly run options. The matlab routine runme.m will be called
#as follows: runme($MATLAB_NROPTIONS). The options must be understandable
#by Matlab and runme.m
#ex: "'id',[101 102 103]"
MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019]"
PYTHON_NROPTIONS=""
