On Mon, 13 Feb 2017, Tobin Isaac wrote:

> My changes in next broke one of the cuda examples, because
> `PETSC_REAL` wasn't defined:
> 
> http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2017/02/13/make_next_arch-cuda-single_es.log
> 
> It looks like PETSC_REAL should always be defined, with a default to
> PETSC_DOUBLE.  What am I missing?

petscsys.h uses petscmath.h - and then declares PETSC_REAL - so its not 
available for use in petscmath.h

Satish

Reply via email to