[petsc-users] using metis in petsc

RenZhengYong renzhengyong at gmail.com
Wed May 23 04:01:17 CDT 2012

Dear PETscs,

I want to use the metis in my code and calling petsc to solve the system of
linear equation.
I find that there is a libmetis.a included in petsc. So, I want to use the
metis routins via petsc.

However, when I included:

include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules

in my makefile.

And the compiler icpc told me that:
catastrophic error: cannot open source file "metis.h".

My question is where is the "metis.h" in petsc?

I actually installed the latest version of metis 5.0 in my disk.  And I
find the interfaces of this 5.0 version metis and the older version metis
in petsc-3.2-p7 are quite different. So, I want to use the metis in the

Best wishes
Zhengyong Ren
AUG Group, Institute of Geophysics
Department of Geosciences, ETH Zurich
NO H 47 Sonneggstrasse 5
CH-8092, Zürich, Switzerland
Tel: +41 44 633 37561
e-mail: zhengyong.ren at aug.ig.erdw.ethz.ch
Gmail: renzhengyong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120523/a4b90dce/attachment.html>

More information about the petsc-users mailing list