<div dir="ltr">Forgot to forward to the list.<br><br>Ciao again<br><div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Hoang Giang Bui</b> <span dir="ltr"><<a href="mailto:hgbk2008@gmail.com">hgbk2008@gmail.com</a>></span><br>
Date: Tue, Jul 30, 2013 at 12:08 AM<br>Subject: Re: [petsc-users] error linking<br>To: Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>><br><br><br><div dir="ltr"><div><div><br>The fact is that I compiled petsc with both metis and parms (I like to use preconditioner from parms) and I think there are no conflict since no compilation error is thrown. Now I want to link my program to petsc I have to link to both. If not it causes more error.<br>
<br></div>Ciao<br></div>Bui<br><br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 12:02 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>On Mon, Jul 29, 2013 at 4:41 PM, Hoang Giang Bui <span dir="ltr"><<a href="mailto:hgbk2008@gmail.com" target="_blank">hgbk2008@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><br clear="all">Hi<br><br></div>When I link my program to petsc. I have this linking error:<br>
<br>/opt/petsc/petsc-3.4.2-build1/lib/libmetis.a(error.c.o): In function `errexit':<br>error.c:(.text+0x80): multiple definition of `errexit'<br>
/opt/petsc/petsc-3.4.2-build1/lib/libparms.a(sets.o):sets.c:(.text+0x0): first defined here<br></div></div></div></div></blockquote><div><br></div></div><div>This looks like a conflict between PARMs and and Metis. Do you need both?</div>
<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
<div><div></div>I have linked to the libraries as the sequence in $PETSC_WITH_EXTERNAL_LIB. I also sent my configure.log (to <a href="http://www.mcs.anl.gov/petsc/documentation/bugreporting.html" target="_blank">petsc-maint@mcs.anl.gov</a>) for your information<br>
<br></div>Ciao<span><font color="#888888"><br></font></span></div><span><font color="#888888">Bui<br><br></font></span></div>
</blockquote></div></div><span><font color="#888888"><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
</font></span></div></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>With Best Regards !<br>Giang Bui<div>To learn and to excel</div>
</font></span></div>
</div><br><br clear="all"><br>-- <br>With Best Regards !<br>Giang Bui<div>To learn and to excel</div>
</div></div></div>