On Wed, Nov 13, 2013 at 10:41 AM, Jed Brown <[email protected]> wrote:
> John Peterson <[email protected]> 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
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel