<div class="gmail_quote">On Fri, Feb 10, 2012 at 14:49, recrusader <span dir="ltr"><<a href="mailto:recrusader@gmail.com">recrusader@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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().<br><br>Which PETSc examples can test this function?</blockquote>
<div><br></div><div>Try src/ksp/ksp/examples/tutorials/ex43.c and src/snes/examples/tutorials/ex48.c</div></div>