<div dir="ltr">I see kokkos and hyper have a sm_70 flag, but I don't see one for PETSc.<br><br>It looks like you have to specify this to get modern atomics to work in Cuda. I get:<div><br></div><div>/ccs/home/adams/petsc/include/petscaijdevice.h(99): error: no instance of overloaded function "atomicAdd" matches the argument list<br>            argument types are: (double *, double)<br></div><div><br></div><div>I tried using a Kokkos configuration, thinking I could get these sm_70 flags, but that did not work.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Mark</div></div>