[petsc-users] How to include PETSc in an Eclipse CDT project

Matthew Knepley knepley at gmail.com
Wed Apr 18 12:17:59 CDT 2012


On Wed, Apr 18, 2012 at 1:14 PM, Christian Staudt <
christian.staudt at ira.uka.de> wrote:

>
> Am 18.04.2012 um 18:47 schrieb Matthew Knepley:
>
> I guarantee you there is a "Header not found" error up at the top that you
> cut off. ALWAYS send the full error message.
>
>    Matt
>
>
>
> You're right, Eclipse Console truncated the output - sorry. Here's the
> full error message: [1]
>
>
> Was petscconf.h found?
>
>
The include directories can be obtained using:

  make getincludedirs

and usually amount to

  -I${PETSC_DIR}/include -I${PETSC_DIR}/${PETSC_ARCH}/include

but can be modified by configure for certain packages.

   Matt


> /usr/local/petsc/include/petscsys.h:13:23: error: petscconf.h: No such
> file or directory
>
> petscconf.h was not found. What is petscconf.h and what can I do to fix
> this?
>
> Thank you
>
> Chris
>
>
> [1] http://pastebin.com/e7cqVvKg
>
>
>


-- 
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/20120418/facb5a2d/attachment.htm>


More information about the petsc-users mailing list