[petsc-dev] No PETSC_REAL for cuda build?

Satish Balay balay at mcs.anl.gov
Mon Feb 13 09:48:51 CST 2017


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



More information about the petsc-dev mailing list