[petsc-users] Ghost communication

Jed Brown jed at 59A2.org
Thu Jun 23 10:11:09 CDT 2011


On Thu, Jun 23, 2011 at 16:58, Milan Mitrovic <milan.v.mitrovic at gmail.com>wrote:

> But I found out in the meantime that when I call
> MatMult(A,b,x,info) the communication does take place!
>
> So I guess my real question is how should I get KSPSolve to update the
> ghosts while solving a system? (before or after every multiplication)
>

KSPSolve does not do any "ghost update" for you, you have to do the
communication inside of your MatMult() implementation. Can you paste that
function so we can see what you're doing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110623/8b30f9d6/attachment-0001.htm>


More information about the petsc-users mailing list