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

Satish Balay balay at mcs.anl.gov
Wed Nov 3 23:11:27 CDT 2010


On Wed, 3 Nov 2010, Bobby Philip wrote:

> As far as I can tell SAMRAI uses petsc assuming the C style calls
> for petsc.

Yeah - the issue comes up when building PETSc with a c compiler - and
then compiling user code [in this case SAMRAI] that includes petsc.h
with c++ compiler.

> In cases where I have enabled C++ in PETSc it has broken
> SAMRAI.

Are compiles broken or runs broken? If its compiles - perhaps its just
a matter of correct #defines [managing c/c++ lang when including
petsc?]

Satish



More information about the petsc-dev mailing list