Index: sm/trunk-jpl/externalpackages/petsc/README
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/README	(revision 20423)
+++ 	(revision )
@@ -1,27 +1,0 @@
-petsc carries a version of Blas that uses int arguments (int32) type, while 
-Matlab carries a version of Blas that uses int64_t arguments (hidden behing 
-a ptrdiff_t type (check MATLAB_DIR/extern/include/blas.h). 
-In serial mode, Matlab discards the Petsc Blas library (even when it was statically 
-linked against the mex files!) symbols, and replaces them with its version. 
-Because the prototypes conflict (32 vs 64), crashes ensue whenever using a Blas 
-routine (for ex: VecAXPY calls BLASaxpy_, which calls daxpy). 
-
-To avoid that, we have to recompile Petsc with a 64 bit prototype. Luckily, 
-Petsc did a good job, and hid the Blas int type into the typedef BLASint (check
-in include/petsc.h). Just typedef it back from int to int64_t, and recompile, 
-and that does the trick. Don't forget the #include "inttypes.h" at the top of petsc.h,
-otherwise, crashes during the compile.
-
-Same problem may arise for using the lapack library.
-
-Now, Petsc pretends it can compile in --with-64-bit-pointers. That sets PetscInt to long long 
-The only problem, it says MUMPS, Scalapack, blacs, Plapack don't support 64 bit indexing. 
-Mumps looks like it might. 
-
-If compiling --with-64-bit-pointers,  all prototypes in Petsc ask for PetscInt = long long 
-which Issm does not know. Can't compile with this option. Unless we switch to 64 bit integers 
-in ISSM. Started to put this framework into place: we now have IssmInt, IssmDouble, IssmChar 
-in types.h. They rely on ISSM_USE_64_BIT_INDEXING symbol, define in config.h, instantiated by 
-autotools with --with-64bit-pointers=1 in configure.sh
-
-Recomendation: wait until MUMPS implements 64 bit indexing. 
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-altix64-castor.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-altix64-castor.sh	(revision 20423)
+++ 	(revision )
@@ -1,66 +1,0 @@
-#!/bin/bash
-set -eu
-#Step 1: unzip and install
-#Step 2: After Plapack implodes
-STEP=0
-
-if [ $STEP -eq 1 ]; then
-	#Some cleanup
-	rm -rf install petsc-3.1-p7 src
-	mkdir install src
-
-	#Download from ISSM server
-	$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-	#Untar and move petsc to install directory
-	tar -zxvf  petsc-3.1-p7.tar.gz
-	mv petsc-3.1-p7/* install/
-	rm -rf petsc-3.1-p7
-
-	#configure
-	cd src
-	./config/configure.py \
-	  --prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	  --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	  --ISSM_ARCH=$ISSM_ARCH \
-	  --with-debugging=no \
-	  --with-shared=0 COPTFLAGS=-O3 FOPTFLAGS=-O3 \
-	  --with-blas-lapack-dir=/opt/intel/mkl/9.1.023 \
-	  --with-mpi-lib=/usr/lib/libmpi.so \
-	  --with-mpi-include=/usr/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  \
-	  --download-parmetis=yes
-
-	echo "== Fix Plapack compilation manually (http://issm.jpl.nasa.gov/installation/compilationtroubleshooting/petsc31/) =="
-	echo "== Then run STEP=2 =="
-fi
-if [ $STEP -eq 2 ]; then
-	cd src
-	./config/configure.py \
-		--prefix="$ISSM_DIR/externalpackages/petsc/install" \
-		--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-		--with-batch=1  \
-		--ISSM_ARCH=$ISSM_ARCH \
-		--with-debugging=no \
-		--with-shared=0 COPTFLAGS=-O3 FOPTFLAGS=-O3 \
-		--with-blas-lapack-dir=/opt/intel/mkl/9.1.023 \
-		--with-mpi-lib=/usr/lib/libmpi.so \
-		--with-mpi-include=/usr/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  \
-		--download-parmetis=yes
-	echo "== Follow PETSc's instructions"
-fi
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-cosmos.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-cosmos.sh	(revision 20423)
+++ 	(revision )
@@ -1,36 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.1-p7 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.1-p7.tar.gz
-mv petsc-3.1-p7/* src/
-rm -rf petsc-3.1-p7
-
-#configure
-cd src
-./config/configure.py \
-	--prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--with-batch=1  \
-	--ISSM_ARCH=$ISSM_ARCH \
-	--with-debugging=no COPTFLAGS=-O3 FOPTFLAGS=-O3 \
-	--with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025/ \
-	--with-mpi-dir=/opt/mpich/gm/intel10.1/  \
-	--download-mumps=yes \
-	--download-scalapack=yes \
-	--download-blacs=yes  \
-	--download-plapack=yes \
-	--FFLAGS=-I/usr/include  \
-	--with-mpi-shared=0  \
-	--download-parmetis=yes
-
-#Compile petsc and install it
-make
-make install
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-linux64-berg.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-linux64-berg.sh	(revision 20423)
+++ 	(revision )
@@ -1,45 +1,0 @@
-#!/bin/bash
-
-#Get number of cpus on current platform
-NUMCPUS=$1;
-
-#version of petsc?
-#version='2.3.2-p3';
-version='3.1-p7'
-#version='3.2-p3'
-
-#Some cleanup
-rm -rf install petsc-$version src
-
-#Create src and install directories
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-#Untar 
-tar -zxvf  petsc-$version.tar.gz
-
-#Move petsc to install directory or src depending on the version
-if [[ $version != "2.3.2-p3" ]]
-then	
-	mv petsc-$version/* src/
-	rm -rf petsc-$version
-	cd src
-else
-	mv petsc-$version/* install/
-	rm -rf petsc-$version
-	cd install
-fi
-
-#configure
-../configure.sh
-
-#Compile petsc and install it
-if [ -z $NUMCPUS ];
-then
-	make
-else
-	make -j $NUMCPUS
-fi
-make install
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-macosx32-mathieu.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-macosx32-mathieu.sh	(revision 20423)
+++ 	(revision )
@@ -1,39 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.1-p7 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.1-p7.tar.gz
-mv petsc-3.1-p7/* src/
-rm -rf petsc-3.1-p7
-
-#configure
-cd src
-./config/configure.py  \
- --prefix="$ISSM_DIR/externalpackages/petsc/install" \
- --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
- --PETSC_ARCH=macosx-gnu \
- --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
- --with-debugging=0 \
- --with-shared=0 \
- --download-mumps=yes \
- --download-scalapack=yes \
- --download-blacs=yes \
- --download-blas=yes \
- --download-f-blas-lapack=yes \
- --download-plapack=yes \
- --FFLAGS="-I$ISSM_DIR/externalpackages/mpich/install/include -arch i386" \
- --COPTFLAGS="-march=opteron -O2 -arch i386" \
- --FOPTFLAGS="-march=opteron -O2 -arch i386" \
- --CXXOPTFLAGS="-march=opteron -O2 -arch i386" \
- --download-parmetis=yes
-
-#Compile petsc and install it
-make
-make install
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-macosx32-ogive.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-macosx32-ogive.sh	(revision 20423)
+++ 	(revision )
@@ -1,40 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.1-p7 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.1-p7.tar.gz
-mv petsc-3.1-p7/* src/
-rm -rf petsc-3.1-p7
-
-#configure
-cd src
-./config/configure.py \
-	--prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
-	--PETSC_ARCH=macosx-gnu \
-	--with-fc=/usr/local/bin/gfortran \
-	--with-debugging=0 \
-	--with-shared=0 \
-	--download-mumps=yes \
-	--download-scalapack=yes \
-	--download-blacs=yes \
-	--download-blas=yes \
-	--download-plapack=yes  \
-	--download-parmetis=yes \
-	--download-f-blas-lapack=yes \
-	--COPTFLAGS="-march=opteron -O2 " \
-	--FOPTFLAGS="-march=opteron -O2 " \
-	--CXXOPTFLAGS="-march=opteron -O2 " \
-	--FFLAGS="-I$ISSM_DIR/externalpackages/mpich/install/include -L$ISSM_DIR/externalpackages/mpich/install/lib -L/usr/local/bin -lmpich -lpmpich -lgfortran " 
-
-#Compile petsc and install it
-make
-make install
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-pleiades.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-pleiades.sh	(revision 20423)
+++ 	(revision )
@@ -1,73 +1,0 @@
-#!/bin/bash
-set -eu
-#Step 1: unzip and install
-#Step 2: After Plapack implodes
-STEP=0
-
-if [ $STEP -eq 1 ]; then
-	#Some cleanup
-	rm -rf install petsc-3.1-p7 src
-	mkdir install src
-
-	#Download from ISSM server
-	$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-	#Untar and move petsc to install directory
-	tar -zxvf  petsc-3.1-p7.tar.gz
-	mv petsc-3.1-p7/* install/
-	rm -rf petsc-3.1-p7
-
-	#configure
-	cd src
-	./config/configure.py \
-		--prefix="$ISSM_DIR/externalpackages/petsc/install" \
-		--with-batch=1  \
-		--PETSC_ARCH="$ISSM_ARCH" \
-		--PETSC_DIR="$ISSM_DIR/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.25/lib/libmpi.so \
-		--with-mpi-include=/nasa/sgi/mpt/1.25/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" \
-		--with-pic=1
-	echo "== Fix Plapack compilation manually (http://issm.jpl.nasa.gov/installation/compilationtroubleshooting/petsc31/) =="
-	echo "== Then run STEP=2 =="
-fi
-if [ $STEP -eq 2 ]; then
-	cd src
-	./config/configure.py \
-	 --prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	 --with-batch=1  \
-	 --PETSC_ARCH="$ISSM_ARCH" \
-	 --PETSC_DIR="$ISSM_DIR/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.25/lib/libmpi.so \
-	 --with-mpi-include=/nasa/sgi/mpt/1.25/include  \
-	 --known-mpi-shared=0 \
-	 --download-mumps=yes \
-	 --download-scalapack=yes \
-	 --download-blacs=yes  \
-	 --with-plapack-dir=$ISSM_DIR/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
-	echo "== Follow PETSc's instructions"
-fi
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-ubuntu64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-ubuntu64.sh	(revision 20423)
+++ 	(revision )
@@ -1,40 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.1-p7 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.1-p7.tar.gz
-mv petsc-3.1-p7/* src/
-rm -rf petsc-3.1-p7
-
-#configure
-cd src
-./config/configure.py \
- --prefix="$ISSM_DIR/externalpackages/petsc/install" \
- --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
- --PETSC_ARCH=linux-gnu\
- --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
- --with-debugging=0 \
- --with-shared=0 \
- --download-mumps=yes \
- --download-scalapack=yes \
- --download-blacs=yes \
- --download-blas=yes \
- --download-f-blas-lapack=yes \
- --download-parmetis=yes \
- --FFLAGS=-I$ISSM_DIR/externalpackages/mpich/install/include \
- --download-plapack=yes \
- --COPTFLAGS="-O2" \
- --FOPTFLAGS="-O2" \
- --CXXOPTFLAGS="-O2" \
- --with-pic=1
-
-#Compile petsc and install it
-make
-make install
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-win7-parallel.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-win7-parallel.sh	(revision 20423)
+++ 	(revision )
@@ -1,35 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.1-p7 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.1-p7.tar.gz
-mv petsc-3.1-p7/* src/
-rm -rf petsc-3.1-p7
-
-cd src
-./config/configure.py  \
-	--prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	--PETSC_ARCH=cygwin-intel \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--with-debugging=0 \
-	--download-c-blas-lapack=yes \
-	--with-cc='win32fe cl' \
-	--with-fc=0 \
-	--with-cxx='win32fe cl' \
-	--with-clanguage=cxx  \
-	--with-mpi-include="/cygdrive/c/MPICH2/include" \
-	--with-mpi-lib="/cygdrive/c/MPICH2/lib/mpi.lib"
-
-
-#Compile petsc and install it
-make
-make install
-
-patch ../install/include/petscfix.h ../configs/3.1/win7/petscfix.h.patch
Index: sm/trunk-jpl/externalpackages/petsc/install-3.1-win7.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-win7.sh	(revision 20423)
+++ 	(revision )
@@ -1,67 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.1-p7 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-3.1-p7.tar.gz' 'petsc-3.1-p7.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.1-p7.tar.gz
-mv petsc-3.1-p7/* src/
-rm -rf petsc-3.1-p7
-
-export PETSC_DIR=`cygpath -u "$ISSM_DIR/externalpackages/petsc/src"`
-export PREFIX_DIR=`cygpath -u "$ISSM_DIR/externalpackages/petsc/install"`
-
-
-# Version 3.1 of Petsc is really old. As such, it is likely that newer machines
-# will not be recognized. As such, the build will fail during configuration.
-# This can be resolved by simply updated the scripts 'config.guess' and 
-# 'config.sub'.
-cp ./../autotools/install/share/libtool/config/config.guess ./src/config/configarch/
-cp ./../autotools/install/share/libtool/config/config.guess ./src/config/BuildSystem/config/packages/
-cp ./../autotools/install/share/libtool/config/config.sub ./src/config/configarch/
-cp ./../autotools/install/share/libtool/config/config.sub ./src/config/BuildSystem/config/packages/
-
-#configure
-cd src
-./config/configure.py  \
-	--with-parallel-no \
-	--prefix=$PREFIX_DIR \
-	--PETSC_ARCH=cygwin-intel \
-	--PETSC_DIR=$PETSC_DIR \
-	--with-debugging=0 \
-	--with-mpi=0 \
-	--download-c-blas-lapack=yes \
-	--with-cc='win32fe cl' \
-	--with-fc=0 \
-	--with-cxx='win32fe cl' \
-	--with-clanguage=cxx 
-
-#./config/configure.py  \
-# --prefix="$ISSM_DIR/externalpackages/petsc/install" \
-# --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-# --PETSC_ARCH=macosx-gnu \
-# --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
-# --with-debugging=0 \
-# --with-shared=0 \
-# --download-mumps=yes \
-# --download-scalapack=yes \
-# --download-blacs=yes \
-# --download-blas=yes \
-# --download-f-blas-lapack=yes \
-# --download-plapack=yes \
-# --FFLAGS="-I$ISSM_DIR/externalpackages/mpich/install/include -arch i386" \
-# --COPTFLAGS="-march=opteron -O2 -arch i386" \
-# --FOPTFLAGS="-march=opteron -O2 -arch i386" \
-# --CXXOPTFLAGS="-march=opteron -O2 -arch i386" \
-# --download-parmetis=yes
-
-#Compile petsc and install it
-make
-make install
-
-patch ../install/include/petscfix.h ../configs/3.1/win7/petscfix.h.patch
Index: sm/trunk-jpl/externalpackages/petsc/install-3.2-discover-intel13.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-discover-intel13.sh	(revision 20423)
+++ 	(revision )
@@ -1,39 +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" \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--PETSC_ARCH="$ISSM_ARCH" \
-	--with-batch=1 \
-	--with-debugging=0 \
-	--with-shared-libraries=1 \
-	--known-mpi-shared-libraries=1 \
-	--with-mpi-dir=/usr/local/intel/mpi/4.0.3.008/lib64/ \
-	--with-blas-lapack-dir=/usr/local/intel/Composer/composer_xe_2013.3.163/mkl/ \
-	--with-scalapack-lib=/usr/local/intel/Composer/composer_xe_2013.3.163/mkl/lib/intel64/libmkl_scalapack_lp64.a \
-	--with-scalapack-include=/usr/local/intel/Composer/composer_xe_2013.3.163/mkl/include/ \
-	--with-blacs-lib=/usr/local/intel/Composer/composer_xe_2013.3.163/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a \
-	--with-blacs-include=/usr/local/intel/Composer/composer_xe_2013.3.163/mkl/include/ \
-	--download-mumps=yes \
-	--download-scalapack=no \
-	--download-blacs=no \
-	--download-plapack=no \
-	--download-parmetis=yes \
-	--with-pic=1
-
-echo "== Follow PETSc's instructions"
Index: sm/trunk-jpl/externalpackages/petsc/install-3.2-discover.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-discover.sh	(revision 20423)
+++ 	(revision )
@@ -1,39 +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" \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--PETSC_ARCH="$ISSM_ARCH" \
-	--with-batch=1 \
-	--with-debugging=0 \
-	--with-shared-libraries=1 \
-	--known-mpi-shared-libraries=1 \
-	--with-mpi-dir=/usr/local/intel/mpi/4.0.3.008/lib64/ \
-	--with-blas-lapack-dir=/usr/local/intel/mkl/10.1.2.024/lib/64/ \
-	--with-scalapack-lib=/usr/local/intel/mkl/10.1.2.024/lib/64/libmkl_scalapack_lp64.a \
-	--with-scalapack-include=/usr/local/intel/mkl/10.1.2.024/include/ \
-	--with-blacs-lib=/usr/local/intel/mkl/10.1.2.024/lib/64/libmkl_blacs_intelmpi_lp64.a \
-	--with-blacs-include=/usr/local/intel/mkl/10.1.2.024/include/ \
-	--download-mumps=yes \
-	--download-scalapack=no \
-	--download-blacs=no \
-	--download-plapack=no \
-	--download-parmetis=yes \
-	--with-pic=1
-
-echo "== Follow PETSc's instructions"
Index: sm/trunk-jpl/externalpackages/petsc/install-3.2-greenplanet.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-greenplanet.sh	(revision 20423)
+++ 	(revision )
@@ -1,35 +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" \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--PETSC_ARCH="$ISSM_ARCH" \
-	--with-batch=1 \
-	--with-debugging=0 \
-	--with-shared-libraries=1 \
-	--known-mpi-shared-libraries=1 \
-	--with-mpi-dir=/sopt/mpi/openmpi-1.5.4_psm/intel/ \
-	--with-blas-lapack-dir=/opt/intel/mkl/10.2.4.032/ \
-	--download-mumps=yes \
-	--download-scalapack=yes \
-	--download-blacs=yes \
-	--download-plapack=yes \
-	--download-parmetis=yes \
-	--with-pic=1
-
-echo "== Follow PETSc's instructions"
Index: sm/trunk-jpl/externalpackages/petsc/install-3.2-hoffman2.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-hoffman2.sh	(revision 20423)
+++ 	(revision )
@@ -1,35 +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=1 \
-	--PETSC_ARCH=linux-gnu-amd64 \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--with-debugging=0 \
-	--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: sm/trunk-jpl/externalpackages/petsc/install-3.2-linux64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-linux64.sh	(revision 20423)
+++ 	(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/mpich/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: sm/trunk-jpl/externalpackages/petsc/install-3.2-macosx64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-macosx64.sh	(revision 20423)
+++ 	(revision )
@@ -1,35 +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" \
-  --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-  --PETSC_ARCH="macosx-gnu" \
-  --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \
-  --with-debugging=0 \
-  --with-shared-libraries=1 \
-  --download-mumps=yes \
-  --download-scalapack=yes \
-  --download-blacs=yes \
-  --download-blas=yes \
-  --download-plapack=no  \
-  --download-parmetis=yes \
-  --download-f-blas-lapack=yes 
-
-#Compile petsc and install it
-make
-make install
Index: sm/trunk-jpl/externalpackages/petsc/install-3.2-pleiades.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-pleiades.sh	(revision 20423)
+++ 	(revision )
@@ -1,88 +1,0 @@
-#!/bin/bash
-set -eu
-#Step 1: unzip and install
-#Step 2: After Plapack implodes
-STEP=2
-
-if [ $STEP -eq 1 ]; then
-	#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-batch=1  \
-		--PETSC_ARCH="$ISSM_ARCH" \
-		--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-		--with-debugging=0 \
-		--with-shared-libraries=1 \
-		--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
-	echo "== Fix Plapack compilation manually (http://issm.jpl.nasa.gov/documentation/faq/petsc32/) =="
-	echo "== Then run STEP=2 =="
-fi
-if [ $STEP -eq 2 ]; then
-	cd src
-	./config/configure.py \
-	 --prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	 --with-batch=1  \
-	 --PETSC_ARCH="$ISSM_ARCH" \
-	 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	 --with-debugging=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 \
-	 --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_DIR/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
-	 cat > src/script.queue << EOF
-#PBS -S /bin/bash
-#PBS -q debug 
-#PBS -l select=1:ncpus=1:model=har 
-#PBS -l walltime=200 
-#PBS -W group_list=s1010 
-#PBS -m e 
-. /usr/share/modules/init/bash 
-module load comp-intel/11.1.046 
-module load mpi/mpt.1.25 
-module load math/intel_mkl_64_10.0.011 
-export PATH="$PATH:." 
-export MPI_GROUP_MAX=64 
-mpiexec -np 1 ./conftest-linux-gnu-ia64-intel.py
-EOF
-	echo "== Follow PETSc's instructions"
-fi
Index: sm/trunk-jpl/externalpackages/petsc/install-3.2-ubuntu64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.2-ubuntu64.sh	(revision 20423)
+++ 	(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=/usr/lib/mpich \
-	--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: sm/trunk-jpl/externalpackages/petsc/install-3.3-linux64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.3-linux64.sh	(revision 20423)
+++ 	(revision )
@@ -1,37 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.3-p6 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p6.tar.gz' 'petsc-3.3-p6.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.3-p6.tar.gz
-mv petsc-3.3-p6/* src/
-rm -rf petsc-3.3-p6
-
-#configure
-cd src
-./config/configure.py \
-	--prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	--with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
-	--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 \
-	--download-metis=yes \
-	--with-pic=1
-
-#Compile petsc and install it
-make
-make install
Index: sm/trunk-jpl/externalpackages/petsc/install-3.3-macosx64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.3-macosx64.sh	(revision 20423)
+++ 	(revision )
@@ -1,37 +1,0 @@
-#!/bin/bash
-set -eu
-
-#Some cleanup
-rm -rf install petsc-3.3-p6 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p6.tar.gz' 'petsc-3.3-p6.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.3-p6.tar.gz
-mv petsc-3.3-p6/* src/
-rm -rf petsc-3.3-p6
-
-#configure
-cd src
-./config/configure.py \
-	--prefix="$ISSM_DIR/externalpackages/petsc/install" \
-	--with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
-	--PETSC_ARCH="macosx-gnu" \
-	--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 \
-	--download-metis=yes \
-	--with-debugging=yes
-
-#Compile petsc and install it
-make
-make install
Index: sm/trunk-jpl/externalpackages/petsc/install-3.3-pleiades.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.3-pleiades.sh	(revision 20423)
+++ 	(revision )
@@ -1,61 +1,0 @@
-#!/bin/bash
-
-#Some cleanup
-rm -rf install petsc-3.3-p6 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p6.tar.gz' 'petsc-3.3-p6.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.3-p6.tar.gz
-mv petsc-3.3-p6/* src/
-rm -rf petsc-3.3-p6
-
-#configure
-cd src
-./config/configure.py \
- --prefix="$ISSM_DIR/externalpackages/petsc/install" \
- --PETSC_ARCH="$ISSM_ARCH" \
- --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
- --with-batch=1  \
- --with-debugging=0 \
- --with-shared-libraries=1 \
- --known-mpi-shared-libraries=1 \
- --with-mpi=1 \
- --with-mpi-lib="/nasa/sgi/mpt/2.06rp16/lib/libmpi.so" \
- --with-mpi-include="/nasa/sgi/mpt/2.06rp16/include" \
- --with-blas-lapack-dir="/nasa/intel/Compiler/2013.1.117/composer_xe_2013.1.117/mkl/lib/intel64" \
- --download-scalapack=yes \
- --download-blacs=yes \
- --download-mumps=yes \
- --download-metis=yes \
- --download-parmetis=yes \
- --download-trilinos=yes \
- --download-euclid=yes \
- --download-hypre=yes \
- --COPTFLAGS="-lmpi -O3" \
- --FOPTFLAGS="-lmpi -O3" \
- --CXXOPTFLAGS="-lmpi -O3"
-
-#prepare script to reconfigure petsc
-cat > script.queue << EOF
-#PBS -S /bin/bash
-#PBS -l select=1:ncpus=1:model=wes 
-#PBS -l walltime=200 
-#PBS -W group_list=s1010
-#PBS -m e 
-
-. /usr/share/modules/init/bash 
-module load comp-intel/2013.1.117
-module load mpi-sgi/mpt.2.06rp16
-
-export PATH="$PATH:." 
-export MPI_GROUP_MAX=64 
-mpiexec -np 1 ./conftest-linux-gnu-ia64-intel.py
-EOF
-
-#print instructions
-echo "== Now: cd src/ "
-echo "== qsub -q devel script.queue "
-echo "== Then run reconfigure script generated by PETSc and follow instructions"
Index: sm/trunk-jpl/externalpackages/petsc/install-3.3-walgreen.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.3-walgreen.sh	(revision 20423)
+++ 	(revision )
@@ -1,36 +1,0 @@
-#!/bin/bash
-
-#Some cleanup
-rm -rf install petsc-3.3-p6 src
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p6.tar.gz' 'petsc-3.3-p6.tar.gz'
-
-#Untar and move petsc to install directory
-tar -zxvf  petsc-3.3-p6.tar.gz
-mv petsc-3.3-p6/* src/
-rm -rf petsc-3.3-p6
-
-#configure
-cd src
-./config/configure.py \
- --prefix="$ISSM_DIR/externalpackages/petsc/install" \
- --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
- --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
- --with-debugging=0 \
- --with-shared-libraries=1 \
- --with-blas-lapack-dir=/opt/intel/mkl/10.0.1.014/ \
- --download-mumps=yes \
- --download-blacs=yes  \
- --download-blas=yes \
- --download-f-blas-lapack=yes \
- --download-scalapack=yes \
- --download-parmetis=yes \
- --download-metis=yes \
- --download-superlu=yes \
- #--download-hypre=yes 
-
-#Compile petsc and install it
-make
-make install
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.6-discover.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.6-discover.sh	(revision 20423)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.6-discover.sh	(revision 20424)
@@ -3,14 +3,14 @@
 
 #Some cleanup
-rm -rf install petsc-3.6.0 src
+rm -rf install petsc-3.6.3 src
 mkdir install src
 
 #Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.0.tar.gz' 'petsc-3.6.0.tar.gz'
+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.3.tar.gz' 'petsc-3.6.3.tar.gz'
 
 #Untar and move petsc to install directory
-tar -zxvf  petsc-3.6.0.tar.gz
-mv petsc-3.6.0/* src/
-rm -rf petsc-3.6.0
+tar -zxvf  petsc-3.6.3.tar.gz
+mv petsc-3.6.3/* src/
+rm -rf petsc-3.6.3
 
 #--with-cc=icc --with-cxx=icpc --with-fc=ifort --with-f77=ifort \
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.6-linux64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.6-linux64.sh	(revision 20423)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.6-linux64.sh	(revision 20424)
@@ -3,14 +3,14 @@
 
 #Some cleanup
-rm -rf install petsc-3.6.0 src
+rm -rf install petsc-3.6.3 src
 mkdir install src
 
 #Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.0.tar.gz' 'petsc-3.6.0.tar.gz'
+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.3.tar.gz' 'petsc-3.6.3.tar.gz'
 
 #Untar and move petsc to install directory
-tar -zxvf  petsc-3.6.0.tar.gz
-mv petsc-3.6.0/* src/
-rm -rf petsc-3.6.0
+tar -zxvf  petsc-3.6.3.tar.gz
+mv petsc-3.6.3/* src/
+rm -rf petsc-3.6.3
 
 #configure
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.6-lonestar.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.6-lonestar.sh	(revision 20423)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.6-lonestar.sh	(revision 20424)
@@ -3,14 +3,14 @@
 
 #Some cleanup
-rm -rf install petsc-3.6.0 src
+rm -rf install petsc-3.6.3 src
 mkdir install src
 
 #Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.0.tar.gz' 'petsc-3.6.0.tar.gz'
+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.3.tar.gz' 'petsc-3.6.3.tar.gz'
 
 #Untar and move petsc to install directory
-tar -zxvf  petsc-3.6.0.tar.gz
-mv petsc-3.6.0/* src/
-rm -rf petsc-3.6.0
+tar -zxvf  petsc-3.6.3.tar.gz
+mv petsc-3.6.3/* src/
+rm -rf petsc-3.6.3
 
 #configure
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.6-macosx64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.6-macosx64.sh	(revision 20423)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.6-macosx64.sh	(revision 20424)
@@ -3,14 +3,14 @@
 
 #Some cleanup
-rm -rf install petsc-3.6.0 src
+rm -rf install petsc-3.6.3 src
 mkdir install src
 
 #Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.0.tar.gz' 'petsc-3.6.0.tar.gz'
+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.3.tar.gz' 'petsc-3.6.3.tar.gz'
 
 #Untar and move petsc to install directory
-tar -zxvf  petsc-3.6.0.tar.gz
-mv petsc-3.6.0/* src/
-rm -rf petsc-3.6.0
+tar -zxvf  petsc-3.6.3.tar.gz
+mv petsc-3.6.3/* src/
+rm -rf petsc-3.6.3
 
 #configure
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.6-pleiades.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.6-pleiades.sh	(revision 20423)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.6-pleiades.sh	(revision 20424)
@@ -3,14 +3,14 @@
 
 #Some cleanup
-rm -rf install petsc-3.6.0 src
+rm -rf install petsc-3.6.3 src
 mkdir install src
 
 #Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.0.tar.gz' 'petsc-3.6.0.tar.gz'
+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.3.tar.gz' 'petsc-3.6.3.tar.gz'
 
 #Untar and move petsc to install directory
-tar -zxvf  petsc-3.6.0.tar.gz
-mv petsc-3.6.0/* src/
-rm -rf petsc-3.6.0
+tar -zxvf  petsc-3.6.3.tar.gz
+mv petsc-3.6.3/* src/
+rm -rf petsc-3.6.3
 
 #configure
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.6-win10.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.6-win10.sh	(revision 20423)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.6-win10.sh	(revision 20424)
@@ -3,14 +3,14 @@
 
 #Some cleanup
-rm -rf install petsc-3.6.2 src
+rm -rf install petsc-3.6.3 src
 mkdir install src
 
 #Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.2.tar.gz' 'petsc-3.6.2.tar.gz'
+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.3.tar.gz' 'petsc-3.6.3.tar.gz'
 
 #Untar and move petsc to install directory
-tar -zxvf  petsc-3.6.2.tar.gz
-mv petsc-3.6.2/* src/
-rm -rf petsc-3.6.2
+tar -zxvf  petsc-3.6.3.tar.gz
+mv petsc-3.6.3/* src/
+rm -rf petsc-3.6.3
 
 export PETSC_DIR=`cygpath -u "$ISSM_DIR/externalpackages/petsc/src"`
