[petsc-users] petsc-users Digest, Vol 71, Issue 59

Satish Balay balay at mcs.anl.gov
Mon Nov 24 13:52:29 CST 2014


On Mon, 24 Nov 2014, Eric Bavier wrote:

> Evan,
> 
> It looks like you're encountering a known bug in the cray release of
> petsc 3.5.1.0, which affects use of petsc with C++ compilers.  This bug
> will be fixed in cray-petsc/3.5.2.0.  In the meantime, you should be
> able to safely add the following two lines before #include <petscksp.h>
> ::
> 
> #define PETSC_CXX_STATIC_INLINE static inline  
> #define PETSC_CXX_RESTRICT __restrict__ 

Eric,

Glad to know the issue will be fixed in cray-petsc/3.5.2.0.
Thanks for the update.

Satish


More information about the petsc-users mailing list