Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/altix64/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/altix64/configure.sh	(revision 6892)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/altix64/configure.sh	(revision 6893)
@@ -4,6 +4,10 @@
 PETSC_DIR=$ISSM_TIER/externalpackages/petsc/install
 
-./config/configure.py  --prefix=$PETSC_DIR --with-batch=1  --ISSM_ARCH=$ISSM_ARCH --PETSC_DIR=$PETSC_DIR   --with-debugging=no --with-shared=0 COPTFLAGS=-O3 FOPTFLAGS=-O3 --with-blas-lapack-dir=/opt/intel/mkl/9.1.023 --with-mpi-lib=/usr/lib/libmpi.so --with-mpi-include=/usr/include  --with-mpi-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes  --with-plapack-dir=$PETSC_DIR/externalpackages/PLAPACKR32-hg/$ISSM_ARCH --FFLAGS=-I/usr/include --with-cc=icc --with-fc=ifort
+./config/configure.py \
+  --prefix="$ISSM_TIER/externalpackages/petsc/install" --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+  --with-batch=1  --ISSM_ARCH=$ISSM_ARCH --with-debugging=no --with-shared=0 COPTFLAGS=-O3 FOPTFLAGS=-O3 --with-blas-lapack-dir=/opt/intel/mkl/9.1.023 --with-mpi-lib=/usr/lib/libmpi.so --with-mpi-include=/usr/include  --with-mpi-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes  --with-plapack-dir=$PETSC_DIR/externalpackages/PLAPACKR32-hg/$ISSM_ARCH --FFLAGS=-I/usr/include --with-cc=icc --with-fc=ifort  --download-parmetis=yes
 
 #Before Plapack implodes
-#./config/configure.py  --prefix=$PETSC_DIR --with-batch=1  --ISSM_ARCH=$ISSM_ARCH --PETSC_DIR=$PETSC_DIR   --with-debugging=no --with-shared=0 COPTFLAGS=-O3 FOPTFLAGS=-O3 --with-blas-lapack-dir=/opt/intel/mkl/9.1.023 --with-mpi-lib=/usr/lib/libmpi.so --with-mpi-include=/usr/include  --with-mpi-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes  --download-plapack=yes --FFLAGS=-I/usr/include --with-cc=icc --with-fc=ifort
+#./config/configure.py \
+#  --prefix="$ISSM_TIER/externalpackages/petsc/install" --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+#  --ISSM_ARCH=$ISSM_ARCH --with-debugging=no --with-shared=0 COPTFLAGS=-O3 FOPTFLAGS=-O3 --with-blas-lapack-dir=/opt/intel/mkl/9.1.023 --with-mpi-lib=/usr/lib/libmpi.so --with-mpi-include=/usr/include  --with-mpi-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes  --download-plapack=yes --FFLAGS=-I/usr/include --with-cc=icc --with-fc=ifort  --download-parmetis=yes
Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/linux32-cosmos/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/linux32-cosmos/configure.sh	(revision 6892)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/linux32-cosmos/configure.sh	(revision 6893)
@@ -1,3 +1,5 @@
 PETSC_DIR=$ISSM_TIER/externalpackages/petsc/install
 
-./config/configure.py  --prefix=$PETSC_DIR --with-batch=1  --ISSM_ARCH=$ISSM_ARCH --PETSC_DIR=$PETSC_DIR   --with-debugging=no COPTFLAGS=-O3 FOPTFLAGS=-O3 --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025/ --with-mpi-dir=/opt/mpich/gm/intel10.1/  --download-mumps=yes --download-scalapack=yes --download-blacs=yes  --download-plapack=yes --FFLAGS=-I/usr/include  --with-mpi-shared=0
+./config/configure.py \
+ --prefix="$ISSM_TIER/externalpackages/petsc/install" --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+ --with-batch=1  --ISSM_ARCH=$ISSM_ARCH --with-debugging=no COPTFLAGS=-O3 FOPTFLAGS=-O3 --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025/ --with-mpi-dir=/opt/mpich/gm/intel10.1/  --download-mumps=yes --download-scalapack=yes --download-blacs=yes  --download-plapack=yes --FFLAGS=-I/usr/include  --with-mpi-shared=0  --download-parmetis=yes
Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/macosx32/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/macosx32/configure.sh	(revision 6892)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/macosx32/configure.sh	(revision 6893)
@@ -1,2 +1,4 @@
 #!/bin/bash
-./config/configure.py  --prefix="$ISSM_TIER/externalpackages/petsc/install" --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install --PETSC_ARCH=macosx-gnu --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" --with-fc=/usr/local/bin/gfortran --with-debugging=0 --with-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS="-I$ISSM_TIER/externalpackages/mpich2/install/include -L$ISSM_TIER/externalpackages/mpich2/install/lib -L/usr/local/bin -lmpich -lpmpich -lgfortran" --download-plapack=yes
+./config/configure.py \
+  --prefix="$ISSM_TIER/externalpackages/petsc/install" --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+  --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install --PETSC_ARCH=macosx-gnu --with-fc=/usr/local/bin/gfortran --with-debugging=0 --with-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS="-I$ISSM_TIER/externalpackages/mpich2/install/include -L$ISSM_TIER/externalpackages/mpich2/install/lib -L/usr/local/bin -lmpich -lpmpich -lgfortran" --download-plapack=yes  --download-parmetis=yes
Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/macosx64/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/macosx64/configure.sh	(revision 6892)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/macosx64/configure.sh	(revision 6893)
@@ -1,2 +1,4 @@
 #!/bin/bash
-./config/configure.py  --prefix="$ISSM_TIER/externalpackages/petsc/install" --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install --PETSC_ARCH=macosx-gnu --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" --with-debugging=0 --with-fc=/usr/local/bin/gfortran  --with-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS="-I$ISSM_TIER/externalpackages/mpich2/install/include -m64" --download-plapack=yes --COPTFLAGS="-march=opteron -O2" --FOPTFLAGS="-march=opteron -O2" --CXXOPTFLAGS="-march=opteron -O2" --download-parmetis=yes
+./config/configure.py  \
+ --prefix="$ISSM_TIER/externalpackages/petsc/install" --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+ --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install --PETSC_ARCH=macosx-gnu --with-debugging=0 --with-fc=/usr/local/bin/gfortran  --with-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS="-I$ISSM_TIER/externalpackages/mpich2/install/include -m64" --download-plapack=yes --COPTFLAGS="-march=opteron -O2" --FOPTFLAGS="-march=opteron -O2" --CXXOPTFLAGS="-march=opteron -O2" --download-parmetis=yes
Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/winxp32/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/winxp32/configure.sh	(revision 6892)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/winxp32/configure.sh	(revision 6893)
@@ -1,2 +1,2 @@
 #!/bin/bash
-./config/configure.py  --with-parallel-no --prefix="$ISSM_TIER/externalpackages/petsc/install" --PETSC_ARCH=cygwin-intel --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" --with-debugging=0 --with-mpi=0 --download-c-blas-lapack=1
+./config/configure.py  --with-parallel-no --prefix="$ISSM_TIER/externalpackages/petsc/install" --PETSC_ARCH=cygwin-intel --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" --with-debugging=0 --with-mpi=0 --download-c-blas-lapack=1  --download-parmetis=yes
