<div class="gmail_quote">On Thu, Mar 29, 2012 at 09:38, Dmitry Karpeev <span dir="ltr"><<a href="mailto:karpeev@mcs.anl.gov">karpeev@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I guess that works too, but I thought your suggestion applied to userland code right before calling KSPDestroy(&ksp)?</div>
<div>I suppose that will fix Mark's problem. Maybe that's the right approach: he got himself into this mess by reusing a pc</div><div>in the inner ksp, he should know how to extricate himself :-)</div></blockquote>
</div><br><div>At first blush, I think the interface is better to do it inside KSPDestroy. I don't think PCReset should be called in that context except via PCDestroy.</div>