[petsc-dev] Problem with latest "petsc-dev" change
Satish Balay
balay at mcs.anl.gov
Wed Nov 3 17:43:14 CDT 2010
Perhaps you pulled petsc-dev - but not BuildSystem - so they are out-of-sync?
Satish
On Wed, 3 Nov 2010, Carl Ponder wrote:
>
> Satash -- the filepetsc-dev/include/petscsys.h contains a statement
>
> 25 #if defined(__cplusplus)
> *26 # define PETSC_FUNCTION_NAME PETSC_FUNCTION_NAME_CXX*
> 27 #else
> 28 # define PETSC_FUNCTION_NAME PETSC_FUNCTION_NAME_C
> 29 #endif
>
> I don't see thisPETSC_FUNCTION_NAME_CXX declared anywhere in the source base,
> and am running into errors of the form
>
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h: In
> function 'PetscErrorCode PetscMemcpy(void*, const void*, size_t)':
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1828:
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1829:
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1831:
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1831:
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope
> /home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1835:
> error: 'PETSC_FUNCTION_NAME_CXX' was not declared in this scope
>
> when I build SAMRAI. Can you tell me what is missing?
> Thanks,
>
> Carl Ponder
>
>
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may
> contain
> confidential information. Any unauthorized review, use, disclosure or
> distribution
> is prohibited. If you are not the intended recipient, please contact the
> sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------
>
More information about the petsc-dev
mailing list