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
