<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jun 5, 2016 at 1:42 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><br>
> On Jun 5, 2016, at 12:12 PM, David Knezevic <<a href="mailto:david.knezevic@akselos.com">david.knezevic@akselos.com</a>> wrote:<br>
><br>
> In PETSc-3.6, when I hit an error using the MUMPS solver, I would get an error like this:<br>
><br>
> [0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>
> [0]PETSC ERROR: Error in external library<br>
> [0]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-9, INFO(2)=351513<br>
><br>
> In PETSc-3.7, the solver now reports "KSP_DIVERGED_PCSETUP_FAILED" instead. The new behavior is definitely better, so thanks for the update! However, I'd still be curious to be able to see what error codes MUMPS returned (which was previously provided in INFO(1) and INFO(2)), since that can be helpful for diagnosing the reason for the solver failure. Is that info still available somehow?<br>
<br>
</span> David,<br>
<br>
There are a couple of ways to obtain them both clunky, we should also provide a simple function call interface such as MatMumpsGetInfo(Mat,int *infog,int *info);<br>
<br>
Anyways right now you can run with -info and it prints the information (along with too much other information) or you can run with -ksp_error_if_not_converged and then it reverts back to the old behavior of stopping immediately and printing the error message and info values.<br></blockquote><div> </div><div><br></div><div>OK, got it, thanks!<br></div><div><br></div><div>David</div><div><br></div></div></div></div>