Index: /issm/trunk/externalpackages/petsc/configs/3.2/astrid/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.2/astrid/configure.sh	(revision 9825)
+++ /issm/trunk/externalpackages/petsc/configs/3.2/astrid/configure.sh	(revision 9825)
@@ -0,0 +1,21 @@
+#!/bin/bash
+./config/configure.py \
+ --prefix="$ISSM_TIER/externalpackages/petsc/install" \
+ --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install \
+ --with-clanguage=C++ \
+ --PETSC_ARCH=linux-gnu-amd64 \
+ --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+ --with-debugging=0 \
+ --with-shared-libraries=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 \
+ --FFLAGS=-I$ISSM_TIER/externalpackages/mpich2/install/include \
+ --COPTFLAGS="-march=opteron -O2" \
+ --FOPTFLAGS="-march=opteron -O2" \
+ --CXXOPTFLAGS="-march=opteron -O2"
Index: /issm/trunk/externalpackages/petsc/install.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/install.sh	(revision 9824)
+++ /issm/trunk/externalpackages/petsc/install.sh	(revision 9825)
@@ -6,4 +6,5 @@
 #version of petsc?
 version='3.1-p7' #default for now! (nightly runs)
+#version='3.2-p2'
 #version='2.3.2-p3';
 
@@ -18,5 +19,5 @@
 
 #Move petsc to install directory or src depending on the version
-if [[ $version == "3.1-p7" ]]
+if [[ $version != "2.3.2-p3" ]]
 then	
 	mv petsc-$version/* src/
