<div dir="ltr"><div dir="ltr">On Mon, Mar 11, 2019 at 9:59 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Richardson has this "special case where it calls PCApplyRichardson() under certain circumstances (for efficiency) but KSPSolve_Richardson() has the check<br>
<br>
if (exists && maxit > 0 && richardsonP->scale == 1.0 && !ksp->numbermonitors && !ksp->transpose_solve && !nullsp) {<br>
<br>
so if monitoring is turned on it should run "the regular way" and call the monitor. I don't think there is any special code associated with its use in multigrid so I would expect it to work. I guess you need to check in the debugger why it is not following the appropriate route.<br></blockquote><div><br></div><div>Hmm. I can't see inside this users code, but the output is not printing for some reason. Take a look at the attached.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Barry<br>
<br>
Also check that it is not running with preonly which has its own special case.<br>
<br>
<br>
> On Mar 11, 2019, at 8:45 PM, Matthew Knepley via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov" target="_blank">petsc-dev@mcs.anl.gov</a>> wrote:<br>
> <br>
> Does Richardson not respond to -mg_levels_ksp_monitor by default? If so, how do you turn it on?<br>
> <br>
> Thanks,<br>
> <br>
> Matt<br>
> <br>
> -- <br>
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
> -- Norbert Wiener<br>
> <br>
> <a href="https://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>