Dear Jed,<br><br><div class="gmail_quote">On Tue, Nov 30, 2010 at 1:53 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@59a2.org">jed@59a2.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div class="im">On Tue, Nov 30, 2010 at 19:49, Ryan Yan <span dir="ltr"><<a href="mailto:vyan2000@gmail.com" target="_blank">vyan2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div>Thanks a lot for the info. But there is no explicit  assignment for PETSC_CC_INCLUDES in <br><div>/home/yyan/local/petsc-dev/conf<br></div></div></blockquote><div><br></div></div><div>It is written by configure to $PETSC_ARCH/conf/petscvariables which is included by conf/variables.</div>
<div class="im">
<div> </div></div></div></blockquote><div><br>Ok, I see......<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>And could you tell where is the target "getincludedirs"? It is not in /home/yyan/local/petsc-dev/makefile<br>

</div></blockquote><div><br></div></div><div>Your makefile should have</div><div><br></div><div> include ${PETSC_DIR}/conf/variables</div><div><br></div><div>to get the variables, and</div><div><br></div><div>include ${PETSC_DIR}/conf/rules</div>

<div><br></div><div>if you also need the rules.  The latter is where getincludedirs is defined.</div><div><br></div></div></blockquote><div><br>Ok, this is crystal clear explanation...<br></div></div><br>Many Thanks,<br>
Yan<br>