On Sun, 13 Mar 2011, Ataollah Mesgarnejad wrote: > I tried compiling Libmesh with petsc-3.1-p6 and p7 but with both I get bunch > of errors all concerning Mesh: > > Compiling C++ (in optimized mode) src/numerics/sparse_matrix.C... > /Users/ataollahmesgarnejad/Software/petsc-3.1-p6//include/petscmesh.h(47): > error: "Mesh" is ambiguous > EXTERN PetscErrorCode PETSCDM_DLLEXPORT MeshView(Mesh, PetscViewer); > ^ > any idea what is going wrong?
Looks like a conflict between libMesh::Mesh and DoesPetscUseNamespaces?::Mesh... Not sure what the easiest fix is going to be, but I'll try and check it out on my home system tonight. Worst case scenario, we're going to need some more using declarations everywhere... What were your PETSc configure options? --- Roy ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
