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

Reply via email to