[petsc-dev] Problem with latest "petsc-dev" change

Carl Ponder CPonder at NVidia.Com
Wed Nov 3 17:38:55 CDT 2010


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.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101103/ce693af2/attachment.html>


More information about the petsc-dev mailing list