<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">I learned users should call KSPGetConvergedReason to check if a KSPSolve was successful. But if users directly call MatSolve() or MatMatSolve etc, how can they know it was successful?
<div>I see in MatSolve_MUMPS, it first checks factor errors. If there is, it sets the solution to infinity;  But it does not do that in MatMatSolve.  Also, in MatSolve_MUMPS, if the factorization was fine but the solve failed, the code just aborts. Is it wrong
 in a KSP context?</div>
<div>
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr"><br>
</div>
<div dir="ltr">--Junchao Zhang</div>
</div>
</div>
</div>
</div>
</body>
</html>