Index: /issm/trunk/bugs/MUMPS
===================================================================
--- /issm/trunk/bugs/MUMPS	(revision 6737)
+++ /issm/trunk/bugs/MUMPS	(revision 6737)
@@ -0,0 +1,47 @@
+computing velocities
+computing adjoint
+compute gradient of J with respect to DragCoefficient
+normalizing directions
+optimizing along gradient direction
+
+Iteration         x           f(x)       Tolerance         Procedure
+
+N/A               0       22164.1           N/A         boundary
+
+
+
+N/A               1       22445.1           N/A         boundary
+1        0.381966       22237.6      0.118034         initial
+2        0.618034       23191.8      0.072949         golden
+
+3        0.236068         22291      0.045085         golden
+4        0.324872       22536.4     0.0894871         parabolic
+80 : Internal ERROR 1  in DMUMPS_264 INODE =       68011
+MAITRE_DESC_BANDE not yet received from           86
+MPI: Global rank 80 is aborting with error code -99.
+Process ID: 12603, Host: r136i2n6, Program: /staff/elarour/trunk/bin/issm.exe
+
+MPI: --------stack traceback-------
+MPI: Attaching to program: /proc/12603/exe, process 12603
+MPI: done.
+MPI: done.
+MPI: [Thread debugging using libthread_db enabled]
+MPI: done.
+MPI: done.
+MPI: done.
+MPI: done.
+MPI: done.
+MPI: done.
+MPI: done.
+MPI: done.
+MPI: Failed to read a valid object file image from memory.
+MPI: 0x00002aaaab882855 in waitpid () from /lib64/libpthread.so.0
+MPI: (gdb) Hangup detected on fd 0
+MPI: error detected on stdin
+MPI: The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
+MPI: Detaching from program: /proc/12603/exe, process 12603
+
+MPI: -----stack traceback ends-----
+MPI: MPI_COMM_WORLD rank 80 has terminated without calling MPI_Finalize()
+MPI: aborting job
+
Index: /issm/trunk/externalpackages/petsc/configs/2.3.2-p3/linux64/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/2.3.2-p3/linux64/configure.sh	(revision 6736)
+++ /issm/trunk/externalpackages/petsc/configs/2.3.2-p3/linux64/configure.sh	(revision 6737)
@@ -1,2 +1,2 @@
 #!/bin/bash
-./config/configure.py  --prefix="$ISSM_TIER/externalpackages/petsc/install" --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install --PETSC_ARCH=linux-gnu-amd64 --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" --with-fc=gfortran --with-debugging=1 --with-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS=-I$ISSM_TIER/externalpackages/mpich2/install/include --download-plapack=yes --COPTFLAGS="-march=opteron -O2" --FOPTFLAGS="-march=opteron -O2" --CXXOPTFLAGS="-march=opteron -O2" 
+./config/configure.py  --prefix="$ISSM_TIER/externalpackages/petsc/install" --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install --PETSC_ARCH=linux-gnu-amd64 --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" --with-fc=gfortran --with-debugging=1 --with-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --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/configs/3.0.0-p11/linux64/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.0.0-p11/linux64/configure.sh	(revision 6736)
+++ /issm/trunk/externalpackages/petsc/configs/3.0.0-p11/linux64/configure.sh	(revision 6737)
@@ -1,2 +1,2 @@
 #!/bin/bash
-./config/configure.py  --prefix="$ISSM_TIER/externalpackages/petsc/install" --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install --PETSC_ARCH=linux-gnu-amd64 --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" --with-debugging=0 --with-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS=-I$ISSM_TIER/externalpackages/mpich2/install/include --download-plapack=yes --COPTFLAGS="-march=opteron -O2" --FOPTFLAGS="-march=opteron -O2" --CXXOPTFLAGS="-march=opteron -O2" --download-parmetis=yes
+./config/configure.py  --prefix="$ISSM_TIER/externalpackages/petsc/installdir" --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install --PETSC_ARCH=linux-gnu-amd64 --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" --with-debugging=0 --with-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes --download-blas=yes --download-f-blas-lapack=yes --FFLAGS=-I$ISSM_TIER/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 6736)
+++ /issm/trunk/externalpackages/petsc/install.sh	(revision 6737)
@@ -7,8 +7,9 @@
 #2.3.2-p3
 #3.0.0-p11
+#3.1-p6
 
 #version of petsc?
-#version='3.0.0-p11'
-version='2.3.2-p3'; #default for now! (nightly runs)
+version='3.1-p6';
+#version='2.3.2-p3'; #default for now! (nightly runs)
 
 #Some cleanup
Index: /issm/trunk/test/NightlyRun/test122.m
===================================================================
--- /issm/trunk/test/NightlyRun/test122.m	(revision 6736)
+++ /issm/trunk/test/NightlyRun/test122.m	(revision 6737)
@@ -4,5 +4,5 @@
 md=extrude(md,3,1);
 md=setelementstype(md,'pattyn','all');
-md=SetParallel(md,3);
+md=SetParallel(md,1);
 md=solve(md,'analysis_type',Transient3DSolutionEnum);
 
Index: /issm/trunk/test/NightlyRun/test224.m
===================================================================
--- /issm/trunk/test/NightlyRun/test224.m	(revision 6736)
+++ /issm/trunk/test/NightlyRun/test224.m	(revision 6737)
@@ -17,4 +17,5 @@
 md.vx_obs=md.vx; md.vy_obs=md.vy;
 
+md.verbose=verbose('solution','true','control','true');
 md=SetParallel(md,3);
 md=solve(md,'analysis_type',DiagnosticSolutionEnum);
