<div class="gmail_quote">On Tue, May 22, 2012 at 9:54 AM, Klaij, Christiaan <span dir="ltr"><<a href="mailto:C.Klaij@marin.nl" target="_blank">C.Klaij@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":bp2">Yes, only the norms. As I understand now, GMRES will compute the<br>
norm of the total system residual [U,V,W,P], but I would like the<br>
norms of [U], [V], [W] and [P] residuals separated. Based on<br>
ex42, I got the impression that I have to use KSPBuildResidual.</div></blockquote></div><br><div>Yes, the cost of building the residual (check -log_summary to see how big it is) is a reason why people often avoid GMRES if they need the full residual. It's directly available with GCR, for example (which is otherwise similar in work to FGMRES) and with most of the non-residual-minimizing methods.</div>