Index: sm/trunk-jpl/externalpackages/petsc/install-3.2-linux64-python.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-linux64-python.sh	(revision 13308)
+++ 	(revision )
@@ -1,37 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.2-p3 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.2-p3.tar.gz' 'petsc-3.2-p3.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.2-p3.tar.gz
-mv petsc-3.2-p3/* src/
-rm -rf petsc-3.2-p3
-
-#configure
-cd src
-./config/configure.py \
-	--prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	--with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \
-	--with-clanguage=C++ \
-	--PETSC_ARCH=linux-gnu-amd64 \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--with-debugging=0 \
-	--with-shared-libraries=1 \
-	--download-mumps=yes \
-	--download-scalapack=yes \
-	--download-blacs=yes \
-	--download-blas=yes \
-	--download-f-blas-lapack=yes \
-	--download-plapack=yes \
-	--download-parmetis=yes \
-	--with-pic=1
-
-#Compile petsc and install it
-make
-make install
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.2-pleiades.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-pleiades.sh	(revision 13308)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.2-pleiades.sh	(revision 13309)
@@ -3,5 +3,5 @@
 #Step 1: unzip and install
 #Step 2: After Plapack implodes
-STEP=1
+STEP=2
 
 if [ $STEP -eq 1 ]; then
@@ -26,5 +26,5 @@
 		--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
 		--with-debugging=0 \
-		--with-shared-libraries=0 \
+		--with-shared-libraries=1 \
 		--with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
 		--known-mpi-shared-libraries=1 \
@@ -53,5 +53,5 @@
 	 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
 	 --with-debugging=0 \
-	 --with-shared-libraries=0 \
+	 --with-shared-libraries=1 \
 	 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
 	 --with-mpi-lib=/nasa/sgi/mpt/1.25/lib/libmpi.so \
