<div class="gmail_quote">On Tue, Nov 15, 2011 at 18:48, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">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 id=":jq">Yes, but you are advocating a really shitty infrastructure for doing this. How do you expose these when the user turns out to want<div>them (like ParMetis for instance)? How do you follow the chain back to find a bug if you have build logic scattered all over?</div>
</div></blockquote></div><br><div>The makefile is already used to indicate which files require optional packages.</div><div><br></div><div>If the user wants those headers, they can add $PETSC_PARMETIS_INCLUDES to their compile line and $PETSC_PARMETIS_LIBS to their link line. (Yes, I think that EVERY variable brought in by conf/variables should be namespaced.)</div>
<div><br></div><div>We shouldn't break the standard practices for shared libraries just because you might want to get access to all these optional things without stating that you want access.</div>