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

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

#ISSM CONFIGURATION
ISSM_CONFIG='--prefix=$ISSM_DIR \
	--with-matlab-dir=$MATLAB_PATH \
	--with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
	--with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
	--with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi" \
	--with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install  \
	--with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
	--with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
	--with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
	--with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
	--with-semic-dir=$ISSM_DIR/externalpackages/semic/install \
	--with-numthreads=4 \
	--enable-debugging \
	--enable-development'

#PYTHON and MATLAB testing
MATLAB_TEST=1
PYTHON_TEST=0

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

#List of external pakages to be installed and their installation scripts
EXTERNALPACKAGES="autotools    install.sh
						cmake        install.sh
						mpich        install-3.2-macosx64.sh
						petsc        install-3.7-macosx64.sh
						triangle     install-macosx64.sh
						m1qn3        install.sh
						semic        install.sh
						shell2junit  install.sh"

#-----------------#
# 4: test options #
#-----------------#

# Number of CPUs used in ISSM compilation
#
# NOTE: One is usually safer as some packages are very sensitive to parallel
# 		compilation.
#
NUMCPUS_INSTALL=4

# Number of CPUs used in the nightly runs
NUMCPUS_RUN=4

# Nightly run options
#
# See documentation in test/NightlyRun/runme.* for more information.
#
# NOTE:
#	- test701.m is skipped because it uses full Stokes equations
#
MATLAB_NROPTIONS="'exclude',[701,702,703,435,IdFromString('Dakota')]"
PYTHON_NROPTIONS="--exclude_name 'Dakota'"
