<div dir="ltr">On Thu, Jan 31, 2013 at 7:34 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">On Thu, Jan 31, 2013 at 7:25 PM, Geoffrey Irving <span dir="ltr"><<a href="mailto:irving@naml.us" target="_blank">irving@naml.us</a>></span> wrote:<br>
<div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We have an scons build system linking against PETSc, and it would be<br>
nice to have an automatic way of determining the list of libraries<br>
that a statically linked, installed version of PETSc wants (e.g., the<br>
MacPorts installed version). What's a good way to do such a thing<br>
from *outside* the PETSc build system?<br></blockquote><div><br></div><div>It depends on how much work you want to do. For at least two years I think,</div><div>our default had been -lpetsc. I would just do this.</div></div>
</div></div></blockquote><div><br></div><div style>Satish is right, use 'make getlinklibs'.</div><div style><br></div><div style>However, if you don't have to waste time on a life or family, you may want to consider</div>
<div style>getting the info straight from the configure. You can load up the Python module from</div><div style>from $PETSC_ARCH/conf/RDict.db and pull out all these things. There is an example</div><div style>in configVars.py.</div>
<div style><br></div><div style> Matt</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 class="gmail_extra"><div class="gmail_quote">
<div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks,<br>
Geoffrey<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><span class="HOEnZb"><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"><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
</div></div>