Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh	(revision 7857)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh	(revision 7858)
@@ -5,4 +5,29 @@
 
 #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-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 \
@@ -19,6 +44,5 @@
  --download-scalapack=yes \
  --download-blacs=yes  \
- --with-plapack-dir=$ISSM_TIER/externalpackages/petsc/src/$ISSM_ARCH \
- --download-parmetis=yes \
+ --download-plapack=yes \
  --FFLAGS=-I/usr/include \
  --with-cc=icc \
@@ -26,28 +50,6 @@
  --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"
+ --CXXOPTFLAGS=" -O3 -xS" \
+ --with-pic=1
 
 #then edit install/include/petscconf.h and comment all lines with PETSC_HAVE__INTEL_FAST_MEMCPY PETSC_HAVE__INTEL_FAST_MEMSET
