#!/bin/sh

#Default configuration script
#petsc 3.4
#mpich 1.4

./configure \
	--prefix=$ISSM_DIR \
	--with-matlab-dir="$ISSM_DIR/externalpackages/matlab/install" \
	--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/ -lmpich" \
	--with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
	--with-petsc-arch="$ISSM_ARCH" \
	--with-metis-dir="$ISSM_DIR/externalpackages/petsc/install" \
	--with-blas-lapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
	--with-scalapack-dir="$ISSM_DIR/externalpackages/petsc/install/" \
	--with-mumps-dir="$ISSM_DIR/externalpackages/petsc/install/" \
	--with-numthreads=2
