[petsc-dev] No PETSC_REAL for cuda build?
Tobin Isaac
tisaac at uchicago.edu
Mon Feb 13 10:39:27 CST 2017
On Mon, Feb 13, 2017 at 09:48:51AM -0600, Satish Balay wrote:
> 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
Thanks, turned out to be a typo that I just didn't pick up because I
didn't test single precision locally.
>
> Satish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170213/89eddf15/attachment.sig>
More information about the petsc-dev
mailing list