<div class="gmail_quote">On Thu, Jun 23, 2011 at 16:58, Milan Mitrovic <span dir="ltr"><<a href="mailto:milan.v.mitrovic@gmail.com">milan.v.mitrovic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":xx">But I found out in the meantime that when I call<br>
MatMult(A,b,x,info) the communication does take place!<br>
<br>
So I guess my real question is how should I get KSPSolve to update the<br>
ghosts while solving a system? (before or after every multiplication)</div></blockquote></div><br><div>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.</div>