[petsc-dev] Fwd: Where is the PETSC_INCLUDE?
Ryan Yan
vyan2000 at gmail.com
Tue Nov 30 13:06:05 CST 2010
Dear Jed,
On Tue, Nov 30, 2010 at 1:53 PM, Jed Brown <jed at 59a2.org> wrote:
> 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
>> PETSC_CC_INCLUDES in
>> /home/yyan/local/petsc-dev/conf
>>
>
> It is written by configure to $PETSC_ARCH/conf/petscvariables which is
> included by conf/variables.
>
>
Ok, I see......
> 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.
>
>
Ok, this is crystal clear explanation...
Many Thanks,
Yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101130/28087adf/attachment.html>
More information about the petsc-dev
mailing list