Re: [petsc-users] Kokkos PtAP error

2023-10-31 Thread Mark Adams
In reading the error message I see that I did not clone A, to get P, so P was the wrong type with a device. Thanks, Mark On Tue, Oct 31, 2023 at 2:24 PM Mark Adams wrote: > Correction, I get the same message with -mat_type aijcusparse. > > Thanks, > Mark > > On Tue, Oct 31, 2023 at 9:29 AM Mark

Re: [petsc-users] Kokkos PtAP error

2023-10-31 Thread Mark Adams
Correction, I get the same message with -mat_type aijcusparse. Thanks, Mark On Tue, Oct 31, 2023 at 9:29 AM Mark Adams wrote: > I am getting this error. > This is in GAMG/HEM setup. PtAP for the coarse grid construction works, > but I call this in a graph routine > (/global/u2/m/madams/petsc/sr

[petsc-users] Kokkos PtAP error

2023-10-31 Thread Mark Adams
I am getting this error. This is in GAMG/HEM setup. PtAP for the coarse grid construction works, but I call this in a graph routine (/global/u2/m/madams/petsc/src/mat/coarsen/impls/hem/hem.c:1043). Also, this PtAP does not need to be on the GPU anyway because P is extremely sparse ... can I pin, s