[petsc-dev] Fwd: Where is the PETSC_INCLUDE?

Jed Brown jed at 59A2.org
Tue Nov 30 12:53:43 CST 2010

On Tue, Nov 30, 2010 at 19:49, Ryan Yan <vyan2000 at gmail.com> wrote:

> Thanks a lot for the info. But there is no explicit  assignment for
> /home/yyan/local/petsc-dev/conf

It is written by configure to $PETSC_ARCH/conf/petscvariables which is
included by conf/variables.

> And could you tell where is the target "getincludedirs"? It is not in
> /home/yyan/local/petsc-dev/makefile

Your makefile should have

 include ${PETSC_DIR}/conf/variables

to get the variables, and

include ${PETSC_DIR}/conf/rules

if you also need the rules.  The latter is where getincludedirs is defined.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101130/43bb8141/attachment.html>

More information about the petsc-dev mailing list