Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/petsc-dev/install-Petscdev-linux64.sh
===================================================================
--- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/petsc-dev/install-Petscdev-linux64.sh	(revision 11904)
+++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/petsc-dev/install-Petscdev-linux64.sh	(revision 11905)
@@ -1,20 +1,24 @@
 #!/bin/bash
 
-#FH modifying ...used mercurial to get dist (maybe should add pull commands?)
+# Adapted from petsc 3.2. 
+# Used Mercurial to get code
+#       hg clone http://petsc.cs.iit.edu/petsc/petsc-dev
+#       cd petsc-dev
+#	     hg clone http://petsc.cs.iit.edu/petsc/BuildSystem config/BuildSystem
 
+# To update (via Mercurial):
+#      cd petsc-dev
+#      hg pull -u
+#      cd config/BuildSystem
+#      hg pull -u
 
-#Some cleanup
-#rm -rf install petsc-3.2-p3 src
-#mkdir install src
 
-#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 script
+# Note: using metis from externalpackages did not work...
+# for now downloading new metis
+#   -then rename metis in externalpackages to metis2
 
 
-
-#configure
 cd src
 ./config/configure.py \
 	--prefix="$ISSM_TIER/externalpackages/petsc-dev/install" \
@@ -24,13 +28,13 @@
 	--PETSC_DIR="$ISSM_TIER/externalpackages/petsc-dev/src" \
 	--with-debugging=0 \
 	--with-shared-libraries=0 \
+	--download-metis=yes \
 	--download-mumps=yes \
 	--download-scalapack=yes \
 	--download-blacs=yes \
 	--download-blas=yes \
 	--download-f-blas-lapack=yes \
 	--download-plapack=yes \
-	--download-metis=yes \
 	--download-parmetis=yes \
 	--with-pic=1
 
