Index: /issm/trunk-jpl/externalpackages/petsc/install-2.3.2-win7.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-2.3.2-win7.sh	(revision 11386)
+++ /issm/trunk-jpl/externalpackages/petsc/install-2.3.2-win7.sh	(revision 11386)
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+#Some cleanup
+rm -rf install petsc-2.3.2-p3 src
+mkdir install src
+
+#Untar and move petsc to install directory
+tar -zxvf  petsc-2.3.2-p3.tar.gz
+mv petsc-2.3.2-p3/* install/
+rm -rf petsc-2.3.2-p3
+
+#configure
+cd install
+./config/configure.py  \
+	--with-parallel-no \
+	--prefix="$ISSM_TIER/externalpackages/petsc/install" \
+	--PETSC_ARCH=cygwin-intel \
+	--PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" \
+	--with-debugging=0 \
+	--with-mpi=0 \
+	--download-c-blas-lapack=1
+
+#Compile petsc and install it
+make
+make install
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.1-win7.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.1-win7.sh	(revision 11386)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.1-win7.sh	(revision 11386)
@@ -0,0 +1,44 @@
+#!/bin/bash
+
+#Some cleanup
+rm -rf install petsc-3.1-p7 src
+mkdir install src
+
+#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  \
+	--with-parallel-no \
+	--prefix="$ISSM_TIER/externalpackages/petsc/install" \
+	--PETSC_ARCH=cygwin-intel \
+	--PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+	--with-debugging=0 \
+	--with-mpi=0 \
+	--download-c-blas-lapack=1
+
+#./config/configure.py  \
+# --prefix="$ISSM_TIER/externalpackages/petsc/install" \
+# --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+# --PETSC_ARCH=macosx-gnu \
+# --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/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_TIER/externalpackages/mpich2/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
