[petsc-users] using metis in petsc

RenZhengYong renzhengyong at gmail.com
Wed May 23 07:14:39 CDT 2012


Hi, Matt.
Cool.
Thanks a lot for your great helps as usual.
Best wishes
Zhengyong


On Wed, May 23, 2012 at 1:42 PM, Matthew Knepley <knepley at gmail.com> wrote:

> 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
>



-- 
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/d35cbff3/attachment.html>


More information about the petsc-users mailing list