########### Configuration file for nightly run on Windows 7, 32 bit ############

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

#ISSM main directory (full path)
ISSM_DIR="/cygdrive/c/issm-uci"
ISSM_TIER="/cygdrive/c/issm-uci/trunk-jpl/cron/trunk-jpl"

#ISSM Architecture
ISSM_ARCH="cygwin-intel"

#Machine configuration
MACHINE="win7"

#MATLAB path
MATLAB_PATH="C:/MATLAB/R2012a/"

#COMPILATION CONFIGURATION FILE
COMPILE_CONFIG_FILE="config-win7-32.sh"

#----------------------#
# 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="http://issm.ess.uci.edu/svn/issm/issm/trunk-jpl"

#execution path used for parallel runs
EXECUTION_PATH="/cygdrive/c/issm-uci/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="link"
EXTERNALPACKAGESDIR="/cygdrive/c/issm-uci/trunk-jpl/externalpackages"

#List of external pakages to be installed
EXTERNALPACKAGES=" autoconf automake petsc metis triangle cccl"

#Corresponding list of installation files to use
EXTERNALPACKAGES_CONFIGS=" install.sh install.sh install-3.1-win7.sh install-4.0-win7.sh install-win7.sh install-win7.sh"
EXTERNALPACKAGES_NUMCPUS=" 1 1 1 1 1 1" 

#---------------------#
# 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="yes"

#Sender email address
EMAIL_ADRESS="eric.larour@gmail.com"

#------------------------#
# 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=1

#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="'benchmark',102:2:120"

#------------------------#
# 7: Matlab#
#------------------------#
MATLABBIN=/cygdrive/c/MATLAB/R2012a/bin/matlab
