Index: /issm/trunk/externalpackages/petsc/configs/3.2/pleiades/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.2/pleiades/configure.sh	(revision 10181)
+++ /issm/trunk/externalpackages/petsc/configs/3.2/pleiades/configure.sh	(revision 10181)
@@ -0,0 +1,53 @@
+#After Plapack is fixed
+
+#set PETSC_DIR variable, in case.
+PETSC_DIR=$ISSM_TIER/externalpackages/petsc/install
+
+#After compiling plapack manually (See ISSM website)
+#./config/configure.py \
+# --prefix=$PETSC_DIR \
+# --with-batch=1  \
+# --PETSC_ARCH="$ISSM_ARCH" \
+# --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+# --with-debugging=0 \
+# --with-shared-libraries=0 \
+# --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
+# --with-mpi-lib=/nasa/sgi/mpt/1.25/lib/libmpi.so \
+# --with-mpi-include=/nasa/sgi/mpt/1.25/include  \
+# --known-mpi-shared-libraries=1 \
+# --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" \
+# --with-pic=1
+
+#Before Plapack implodes
+./config/configure.py \
+ --prefix=$PETSC_DIR \
+ --with-batch=1  \
+ --PETSC_ARCH="$ISSM_ARCH" \
+ --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+ --with-debugging=0 \
+ --with-shared-libraries=0 \
+ --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
+ --known-mpi-shared-libraries=1 \
+ --with-mpi-lib=/nasa/sgi/mpt/1.25/lib/libmpi.so \
+ --with-mpi-include=/nasa/sgi/mpt/1.25/include  \
+ --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" \
+ --with-pic=1
