[petsc-users] call Metis routine in PETSc codes

Matthew Knepley knepley at gmail.com
Thu Jan 5 14:16:09 CST 2012


On Thu, Jan 5, 2012 at 2:12 PM, Wen Jiang <jiangwen84 at gmail.com> wrote:

> Hi,
>
> 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*) "
>
> I don't know whether I should do anything special with my PETSc c++
> code(s) in order to call a Metis routine.
>

You MUST send the entire link line AND error message. Without data, this is
just fortune telling.

  Matt


> Thanks.
> Wen
>
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120105/6d8be3ca/attachment.htm>


More information about the petsc-users mailing list