<br><br><div class="gmail_quote">2009/5/11 Giuseppe Ghibò <span dir="ltr"><<a href="mailto:ghibo@mandriva.com">ghibo@mandriva.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Satish Balay wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 5 May 2009, Giuseppe Ghibò wrote:<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi.<br>
<br>
I'm trying to package petsc 2.3.3,<br>
<br>
</blockquote>
<br>
Why package this older version? Current version is 3.0.0.<br>
<br>
<br>
</blockquote>
Because I've to use bundled with libmesh (<a href="http://libmesh.sourceforge.net" target="_blank">http://libmesh.sourceforge.net</a>) and IIRC it talks only (or maybe advice don't remember exactly) about PetSC 2.3.3 and not 3.0.0.<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
but I didn't understand the logic of some options, in particular for<br>
umfpack. E.g. If I specify at the config stage:<br>
<br>
--with-umfpack-lib=[${_libdir}/libumfpack.a,${_libdir}/libamd.a]<br>
<br>
and the ${_libdir} path contains both shared and static libraries then<br>
the linking command are expanded to:<br>
<br>
-lumfpack -Wl,-rpath,<path of petsc> -lamd<br>
<br>
Ditto if I specify:<br>
<br>
--with-umfpack-lib=[libumfpack.a]<br>
<br>
they are expanded to the two libs "-lumpack -lamd" (i.e. it guesses the<br>
other lib "libamd" even if I don't specify).<br>
<br>
</blockquote>
<br>
petsc-3.0.0 won't add the extra -lamd<br>
<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Currently this is not possible. Perhpas it will be if "-Lfoo -lbar" is<br>
supported.<br>
<br>
</blockquote>
well, IIRC I tried and didn't worked (and -L was not even needed because of system-path), but maybe there could be added an extra behaviour (see my previous mail) to let the user take full control about which libraries should be passed to pass detecting tests.</blockquote>
<div><br>This definitely works in the latest release.<br><br> Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Bye<br><font color="#888888">
Giuseppe.<br></font></blockquote></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>