#
########### Configuration file for Mathieu Morlighem's nightly run on Linux ############

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

#ISSM main directory (full path)
ISSM_DIR="/Users/schlegel/issmuci"
ISSM_TIER="/Users/schlegel/issmuci/trunk-jpl/cron/trunk-jpl"

#ISSM Architecture
ISSM_ARCH="macosx-gnu"

#Machine configuration
MACHINE="macosx-gil"

#COMPILATION CONFIGURATION FILE
COMPILE_CONFIG_FILE="config-macosx64-nicole.sh"

#MATLAB path
MATLAB_PATH="/Applications/MATLAB_R2011b.app/"

#----------------------#
# 2: ISSM Installation #
#----------------------#

#ISSM_INSTALLATION can have 3 values:
# - "checkout" the existing version of the code will be erased and
#              the latest version will be checked out
# - "update"   the directory won't be erased but ISSM will be updated
#              ->skip to section 3
# - "none"     leave ISSM as is in its directory
#              ->skip to section 3
ISSM_INSTALLATION="checkout"

#SVN repository
REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl"

#execution path used for parallel runs
EXECUTION_PATH="/Users/schlegel/ExecutionNightlyRun"

#-----------------------------------#
# 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="/Users/schlegel/issmuci/trunk-jpl/externalpackages"

#List of external pakages to be installed
EXTERNALPACKAGES="autoconf automake matlab mpich2 petsc metis triangle dakota chaco"

#Corresponding list of installation files to use
EXTERNALPACKAGES_CONFIGS=" install.sh install.sh install.sh install-1.4-macosx64.sh install-3.2-macosx64.sh install-4.0-macosx64.sh install-macosx64.sh install-macosx64.sh 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_TIER/cron/mailinglist.
SKIPMAIL="no"

#Sender email address
EMAIL_ADRESS="schlegel@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=1

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

#Nightly run options. The matlab routine nightlyrun.m will be called
#as follows: nightlyrun($NROPTIONS). The options must be understandable
#by Matlab and nightlyrun.m
#ex: "'id',[101 102 103]"

NROPTIONS="'exclude',[137 425 434 527]"

