Jed Brown writes: > On Mon, Mar 19, 2012 at 21:55, Dave Nystrom <dnystrom1 at comcast.net> wrote: > > > Is there a way to ask PETSc if it has cuda support compiled in from a > > Fortran > > code? > > > > #ifdef PETSC_HAVE_CUDA > > #endif OK. I was thinking of a function but that should work. Thanks, Dave