<div dir="ltr"><div class="gmail_extra">On Wed, Jan 2, 2013 at 11:39 AM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div class="gmail_extra">On Wed, Jan 2, 2013 at 11:32 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra">I fixed the simple thing, but the PrintMatSetValues() is problematic. Right now, it just prints using</div>

<div class="gmail_extra">PetscPrintf, which is wrong for errors like this, but correct for other things. For normal things, I</div>
<div class="gmail_extra">could make it take a viewer, which could be PETSC_VIEWER_STDOUT_SELF, and reproduce</div><div class="gmail_extra">this behavior. However, do we need to add default viewers for the error streams?</div>

</blockquote></div><br></div></div><div class="gmail_extra">Like PETSC_VIEWER_STDERR_ ?</div></blockquote></div><br></div><div class="gmail_extra" style>Actually, that's not great because it always prints the rest of PetscError with PETSC_ERROR_INITIAL.</div>
</div>