On Wed, Nov 13, 2013 at 10:41 AM, Jed Brown <jedbrown@mcs.anl.gov> wrote:
John Peterson <jwpeterson@gmail.com> writes:
> I saw it, but I don't know exactly how to fix the problem and haven't had a
> chance to dig into it.  Maybe Dmitry will comment.

Totally untested, but I think this is all you need:

diff --git i/src/solvers/petscdmlibmesh.C w/src/solvers/petscdmlibmesh.C
index 09dc324..c36ff06 100644
--- i/src/solvers/petscdmlibmesh.C
+++ w/src/solvers/petscdmlibmesh.C
@@ -934,7 +934,11 @@ static PetscErrorCode DMCreateGlobalVector_libMesh(DM dm, Vec *x)

 #undef __FUNCT__
 #define __FUNCT__ "DMCreateMatrix_libMesh"
+#if PETSC_VERSION_LT(3,5,0)
 static PetscErrorCode DMCreateMatrix_libMesh(DM dm, const MatType, Mat *A)
+#else
+static PetscErrorCode DMCreateMatrix_libMesh(DM dm, Mat *A)
+#endif
 {
   PetscFunctionBegin;
   PetscErrorCode ierr;

Thanks for this Jed.  Hui, if you could give this patch a try (I just copied it from the email and ran git apply) and confirm libmesh compiles for you, I'll push it.

--
John