[petsc-users] Important Petsc header files to include

Matthew Knepley knepley at gmail.com
Sat Feb 25 18:50:13 CST 2012


On Sat, Feb 25, 2012 at 6:01 PM, Mengda Wu <wumengda at gmail.com> wrote:

> Hi all,
>
>     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?
>

It sounds like what you want is installation. Configure using
--prefix=<directory> and then 'make; make install'. Everything you
need will be in that directory.

   Matt


> Thanks,
> Mengda
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120225/110696b0/attachment.htm>


More information about the petsc-users mailing list