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

Bobby Philip philipb at ornl.gov
Thu Nov 4 09:47:32 CDT 2010


On Nov 4, 2010, at 12:11 AM, Satish Balay wrote:

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

Is this just an extern C type issue?

>> In cases where I have enabled C++ in PETSc it has broken
> Are compiles broken or runs broken? If its compiles - perhaps its just
> a matter of correct #defines [managing c/c++ lang when including
> petsc?]

Compiles are broken...as far as I remember - but it's been a while.

> Satish

More information about the petsc-dev mailing list