<div class="gmail_quote">On Sat, Feb 25, 2012 at 18:01, Mengda Wu <span dir="ltr">&lt;<a href="mailto:wumengda@gmail.com">wumengda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am trying to select a set of important petsc header files to included in my installation of Petsc. Basically, I would like the header and library files to be outside of Petsc source directory. I found there are many headers under PETSC_DIR/include. Are these all necessary for a program to just use PETSC functions?</blockquote>
</div><br><div>It depends which level interface you use (e.g. if you only use KSP, you wouldn&#39;t need the SNES or TS headers). But why do you want to copy these somewhere? (You&#39;re going to have endless problems if you don&#39;t know what you&#39;re doing.) It sounds like a waste of time to me.</div>