On Wed, May 23, 2012 at 5:01 AM, RenZhengYong <span dir="ltr"><<a href="mailto:renzhengyong@gmail.com" target="_blank">renzhengyong@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear PETscs,<br><br>I want to use the metis in my code and calling petsc to solve the system of linear equation. <br>I find that there is a libmetis.a included in petsc. So, I want to use the metis routins via petsc. <br>
<br>
However, when I included:<br><br>include ${PETSC_DIR}/conf/variables<br>include ${PETSC_DIR}/conf/rules<br><br>in my makefile. <br><br>And the compiler icpc told me that:<br>catastrophic error: cannot open source file "metis.h".<br>

<br>My question is where is the "metis.h" in petsc?<br><br>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. <br>
</blockquote><div><br></div><div>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.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Best wishes<br>Zhengyong <br><span class="HOEnZb"><font color="#888888">-- <br>Zhengyong Ren<br>AUG Group, Institute of Geophysics<br>Department of Geosciences, ETH Zurich<br>NO H 47 Sonneggstrasse 5<br>CH-8092, Zürich, Switzerland<br>
Tel: +41 44 633 37561<br>
e-mail: <a href="mailto:zhengyong.ren@aug.ig.erdw.ethz.ch" target="_blank">zhengyong.ren@aug.ig.erdw.ethz.ch</a><br>Gmail: <a href="mailto:renzhengyong@gmail.com" target="_blank">renzhengyong@gmail.com</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>