Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh	(revision 6893)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh	(revision 6894)
@@ -4,6 +4,16 @@
 PETSC_DIR=$ISSM_TIER/externalpackages/petsc/install
 
-./config/configure.py  --prefix=$PETSC_DIR --with-batch=1  --PETSC_ARCH=$ISSM_ARCH --PETSC_DIR=$PETSC_DIR   --with-debugging=no --with-shared=0 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ --with-mpi-lib=/nasa/sgi/mpt/1.23.nas/lib64/libmpi.so --with-mpi-include=/nasa/sgi/mpt/1.23.nas/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 --COPTFLAGS=" -O3 -xS" --FOPTFLAGS=" -O3 -xS" --CXXOPTFLAGS=" -O3 -xS"
+./config/configure.py \
+ --prefix=$PETSC_DIR \
+ --with-batch=1 \
+ --PETSC_ARCH=$ISSM_ARCH --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+ --with-debugging=no --with-shared=0 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
+ --with-mpi-lib=/nasa/sgi/mpt/1.23.nas/lib64/libmpi.so --with-mpi-include=/nasa/sgi/mpt/1.23.nas/include \
+ --known-mpi-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes \
+ --with-plapack-dir=$ISSM_TIER/externalpackages/petsc/src/$ISSM_ARCH \
+ --download-parmetis=yes \
+ --FFLAGS=-I/usr/include \
+ --with-cc=icc --with-fc=ifort --COPTFLAGS=" -O3 -xS" --FOPTFLAGS=" -O3 -xS" --CXXOPTFLAGS=" -O3 -xS"
 
 #Before Plapack implodes
-#./config/configure.py  --prefix=$PETSC_DIR --with-batch=1  --PETSC_ARCH=$ISSM_ARCH --PETSC_DIR=$PETSC_DIR   --with-debugging=no --with-shared=0 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ --with-mpi-lib=/nasa/sgi/mpt/1.23.nas/lib64/libmpi.so --with-mpi-include=/nasa/sgi/mpt/1.23.nas/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 --COPTFLAGS=" -O3 -xS" --FOPTFLAGS=" -O3 -xS" --CXXOPTFLAGS=" -O3 -xS"
+#./config/configure.py  --prefix=$PETSC_DIR --with-batch=1  --PETSC_ARCH=$ISSM_ARCH --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" --with-debugging=no --with-shared=0 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ --with-mpi-lib=/nasa/sgi/mpt/1.23.nas/lib64/libmpi.so --with-mpi-include=/nasa/sgi/mpt/1.23.nas/include  --known-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 --COPTFLAGS=" -O3 -xS" --FOPTFLAGS=" -O3 -xS" --CXXOPTFLAGS=" -O3 -xS"
