On Thu, Jan 5, 2012 at 2:12 PM, Wen Jiang <span dir="ltr">&lt;<a href="mailto:jiangwen84@gmail.com">jiangwen84@gmail.com</a>&gt;</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">
Hi,<br><br>I built PETSc with parmetis, and tried to call a Metis routine in my PETSc code. But it cannot be linked correctly. I got the error like<br><br>&quot;undefined reference to &#39;METIS_PartMeshNodal(int*,int*,int*,int*,int*,int*,int*,int*,int*) &quot;<br>

<br> I don&#39;t know whether I should do anything
    special with my PETSc c++ code(s) in order to call a Metis routine.<br></blockquote><div><br></div><div>You MUST send the entire link line AND error message. Without data, this is just fortune telling.</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">Thanks.<span class="HOEnZb"><font color="#888888"><br>Wen<br><br><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>