10 Feb
2012
10 Feb
'12
3:12 p.m.
Dear Jed, The first example works. However, the example uses MatSetValuesStencil() not MatSetValues(). Are they same? Thanks a lot, Yujie On Fri, Feb 10, 2012 at 2:51 PM, Jed Brown <[email protected]> wrote:
On Fri, Feb 10, 2012 at 14:49, recrusader <[email protected]> wrote:
Since MATMPIAIJ works (I didn't change anything. Just set the vec and mat types to mpicusp and mpiaijcusp for GPU), I think the problem is likely from MatSetValues_MPIAIJ().
Which PETSc examples can test this function?
Try src/ksp/ksp/examples/tutorials/ex43.c and src/snes/examples/tutorials/ex48.c