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

Matthew Knepley knepley at gmail.com
Wed Nov 3 17:46:16 CDT 2010


On Wed, Nov 3, 2010 at 5:43 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> Perhaps you pulled petsc-dev - but not BuildSystem - so they are
> out-of-sync?
>

With petsc-dev, sometimes changes are made that require reconfiguration
(like this one)
since the include is generated. If you pull BuildSystem and rerun configure,
it should be fine.

   Matt


> 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.
> >
> -----------------------------------------------------------------------------------
> >
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101103/abedaa88/attachment.html>


More information about the petsc-dev mailing list