On Thu, Jan 5, 2012 at 14:12, Wen Jiang <jiangwen84 at gmail.com> wrote:
> I built PETSc with parmetis, and tried to call a Metis routine in my PETSc > code. But it cannot be linked correctly. I got the error like > > "undefined reference to > 'METIS_PartMeshNodal(int*,int*,int*,int*,int*,int*,int*,int*,int*) " > metis.h has extern "C" in the header, so you must have gotten this declaration from somewhere else. > > I don't know whether I should do anything special with my PETSc c++ > code(s) in order to call a Metis routine. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120105/71b5d396/attachment.htm>
