Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh	(revision 7170)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh	(revision 7171)
@@ -4,16 +4,50 @@
 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=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-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"
+ --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="$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"
+#./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"
+
+#then edit install/include/petscconf.h and comment all lines with PETSC_HAVE__INTEL_FAST_MEMCPY PETSC_HAVE__INTEL_FAST_MEMSET
