installation Petsc 3.0.0 and parmetis

Barry Smith bsmith at
Tue May 5 15:37:24 CDT 2009

    This function is defined in libmetis.a but used by functions in  

    Likely the applications make file doesn't properly list -lparmetis  
-lmetis like it needs too?

    If this is not the problem then do (in the PETSc directory) nm -o  
$PETSC_ARCH/lib/lib*.a | grep METIS_mCPartGraphRecursive2
and send us the results.


On May 5, 2009, at 9:48 AM, Fredrik Bengzon wrote:

> Hi Petsc team
> I've installed petsc 3.0.0 with parmetis for use with superlu_dist.  
> Everything compiles well, but when I link with my application code I  
> get undefined reference to METIS_mCPartGraphRecursive2. Do I need to  
> set any LD paths or something pointing to the 'externalpackages'  
> directory or should this be taken care of by Petsc?
> Regards,
> Fredrik Bengzon

More information about the petsc-users mailing list