[petsc-dev] link error with parmetis
Satish Balay
balay at mcs.anl.gov
Thu Apr 28 20:21:28 CDT 2011
perhaps you are missing -lparmetis in your link command?
Satish
On Thu, 28 Apr 2011, Mark F. Adams wrote:
> I'm getting this link error with petsc-dev, any ideas?
> Thanks,
> Mark
>
> /global/homes/m/madams/petsc-dev/cray-xe6_O/lib/libpetsc.a(pmetis.o): In function `MatPartitioningApply_Parmetis(_p_MatPartitioning*, _p_IS**)':
> pmetis.c:(.text+0x53f): undefined reference to `ParMETIS_V3_PartKway'
> /global/homes/m/madams/petsc-dev/cray-xe6_O/lib/libpetsc.a(pmetis.o): In function `MatMeshToCellGraph(_p_Mat*, int, _p_Mat**)':
> pmetis.c:(.text+0x117d): undefined reference to `ParMETIS_V3_Mesh2Dual'
> collect2: ld returned 1 exit status
>
>
More information about the petsc-dev
mailing list