I deleted it. still seem to have the same problem. the signature for METIS_PartGraphKway is different for petsc and libmesh versions of parmetis. 5.0.2 vs 3.1, respectively. would it be possible to put the two version in different namespaces ?
btw what is the proper way to configure libmesh to undef LIBMESH_REQUIRE_SEPARATE_NAMESPACE ? /opt/apps/PETSC/petsc-dev/include/sieve/Partitioner.hh|239| error: there are no arguments to ‘METIS_PartGraphKway’ that depend on a template parameter, so a declaration of ‘METIS_PartGraphKway’ must be available /opt/apps/PETSC/petsc-dev/include/sieve/Partitioner.hh|239| note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /opt/apps/PETSC/petsc-dev/include/sieve/Partitioner.hh|245| error: cannot convert ‘PetscReal*’ to ‘float*’ for argument ‘10’ to ‘void ParMETIS_V3_PartKway(idxtype*, idxtype*, idxtype*, idxtype*, idxtype*, int*, int*, int*, int*, float*, float*, int*, int*, idxtype*, MPI_Comm*)’ SCRGP2$ svn diff include/base/ Index: include/base/libmesh_base.h =================================================================== --- include/base/libmesh_base.h (revision 5597) +++ include/base/libmesh_base.h (working copy) @@ -112,9 +112,5 @@ // Unless configured otherwise, we import all of namespace libMesh, // for backwards compatibility with pre-namespaced codes. -#ifndef LIBMESH_REQUIRE_SEPARATE_NAMESPACE -using namespace libMesh; -#endif On Wed, Apr 25, 2012 at 1:41 PM, Roy Stogner <royst...@ices.utexas.edu>wrote: > > On Wed, 25 Apr 2012, David Fuentes wrote: > > libmesh will not seem to build with sieve enabled in petsc. perhaps the >> two >> are using different versions of metis ? Is it possible to point libmesh to >> use the version of exodusii and metis that petsc is using ? >> > > Didn't we have a name collision with sieve at one point? Would > building libMesh without the "using namespace libMesh" enabled > help? > --- > Roy > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users