Index: /issm/trunk/externalpackages/petsc/configs/linux64/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/linux64/configure.sh	(revision 2040)
+++ /issm/trunk/externalpackages/petsc/configs/linux64/configure.sh	(revision 2041)
@@ -1,3 +1,2 @@
 #!/bin/bash
-./config/configure.py  --prefix="$ISSM_DIR/externalpackages/petsc/install" --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install --PETSC_ARCH=linux-gnu-amd64 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/install" --with-fc=gfortran --with-debugging=0 --with-shared=1 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS=-I$ISSM_DIR/externalpackages/mpich2/install/include --download-plapack=yes
-
+./config/configure.py  --prefix="$ISSM_DIR/externalpackages/petsc/install" --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install --PETSC_ARCH=linux-gnu-amd64 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/install" --with-debugging=0 --with-shared=1 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS=-I$ISSM_DIR/externalpackages/mpich2/install/include --download-plapack=yes --COPTFLAGS="-march=opteron -O2" --FOPTFLAGS="-march=opteron -O2" --CXXOPTFLAGS="-march=opteron -O2" --download-parmetis=yes
Index: /issm/trunk/externalpackages/petsc/install.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/install.sh	(revision 2040)
+++ /issm/trunk/externalpackages/petsc/install.sh	(revision 2041)
@@ -3,4 +3,5 @@
 #Get number of cpus on current platform
 NUMCPUS=$1;
+NUMCPUS=1;
 
 #version of petsc
