> > > --CUDA_CXXFLAGS="-DLANDAU_MAX_Q=4 -DLANDAU_MAX_SPECIES=10 > -DPETSC_HAVE_CUDA_ATOMIC" > Thanks, this got me on the right track. I added these MAX defines to -CUDAFLAGS . -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210118/6e478ec0/attachment-0001.html>