[petsc-users] using metis in petsc
Matthew Knepley
knepley at gmail.com
Wed May 23 06:42:25 CDT 2012
On Wed, May 23, 2012 at 5:01 AM, RenZhengYong <renzhengyong at gmail.com>wrote:
> 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
> petsc-3.2-p7.
>
If you want to use Metis 5.0, upgrade to petsc-dev. We are frozen for
release, so its the same as 3.3 now anyway.
Matt
> Best wishes
> Zhengyong
> --
> 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
>
--
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/20120523/67f8dc88/attachment-0001.html>
More information about the petsc-users
mailing list