On Wed, Nov 3, 2010 at 5:43 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Perhaps you pulled petsc-dev - but not BuildSystem - so they are out-of-sync?<br></blockquote><div><br></div><div>With petsc-dev, sometimes changes are made that require reconfiguration (like this one)</div><div>since the include is generated. If you pull BuildSystem and rerun configure, it should be fine.</div>
<div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Satish<br>
<br>
On Wed, 3 Nov 2010, Carl Ponder wrote:<br>
<br>
><br>
> Satash -- the filepetsc-dev/include/petscsys.h contains a statement<br>
<div class="im">><br>
> 25 #if defined(__cplusplus)<br>
> *26 # define PETSC_FUNCTION_NAME PETSC_FUNCTION_NAME_CXX*<br>
> 27 #else<br>
> 28 # define PETSC_FUNCTION_NAME PETSC_FUNCTION_NAME_C<br>
> 29 #endif<br>
><br>
</div>> I don't see thisPETSC_FUNCTION_NAME_CXX declared anywhere in the source base,<br>
<div class="im">> and am running into errors of the form<br>
><br>
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h: In<br>
> function 'PetscErrorCode PetscMemcpy(void*, const void*, size_t)':<br>
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1828:<br>
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope<br>
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1829:<br>
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope<br>
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1831:<br>
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope<br>
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1831:<br>
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope<br>
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1835:<br>
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope<br>
><br>
> when I build SAMRAI. Can you tell me what is missing?<br>
> Thanks,<br>
><br>
> Carl Ponder<br>
><br>
><br>
> -----------------------------------------------------------------------------------<br>
> This email message is for the sole use of the intended recipient(s) and may<br>
> contain<br>
> confidential information. Any unauthorized review, use, disclosure or<br>
> distribution<br>
> is prohibited. If you are not the intended recipient, please contact the<br>
> sender by<br>
> reply email and destroy all copies of the original message.<br>
</div>> -----------------------------------------------------------------------------------<br>
><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>