[petsc-users] reporting failing pcksp solves
Matthew Knepley
knepley at gmail.com
Fri Jun 18 17:09:03 CDT 2010
You can install a convergence test that just calls the default test, and
then does SETERRQ
if it fails.
Matt
On Fri, Jun 18, 2010 at 11:35 AM, Stephan Kramer <s.kramer at imperial.ac.uk>wrote:
> Dear all,
>
> Is there a way in petsc, when performing inner solves like PCKSP or
> MatSchurComplementGetKSP, to make the outer solve stop immediately and
> report back a negative convergence reason? I find that often when such
> "inner solves" fail, the outer solve happily continues and sometimes falsely
> reports convergence due to the preconditioner becoming rank deficient. I'd
> like our code, using petsc, to be able to trap that sort of situations and
> give a suitable error message.
>
> Cheers
> Stephan
>
--
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100618/39e42d9e/attachment.htm>
More information about the petsc-users
mailing list