#!/bin/sh

#get configure.sh to pick up the win7 Visual Studio compiler 
./configure --prefix=$ISSM_DIR \
   --disable-static \
	--with-vendor=intel-win7-64  \
	--with-matlab-dir=""$ISSM_DIR/externalpackages/matlab/install"" \
	--with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
	--with-metis-dir="$ISSM_DIR/externalpackages/metis/install" \
	--with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
	--with-petsc-arch=$ISSM_ARCH  \
	--with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib/  \
	--with-mpi-libflags-dir="$ISSM_DIR/externalpackages/petsc/install/lib" \
   --with-mpi-libflagss="-Wl,libpetsc.lib" \
	--with-mpi-include-dir="$ISSM_DIR/externalpackages/petsc/install/include/mpiuni" 
