[petsc-dev] handling user domain errors

Jed Brown jed at jedbrown.org
Sat May 2 00:11:14 CDT 2015


Barry Smith <bsmith at mcs.anl.gov> writes:
>   The only other way I see to do it is carry a validity flag around
>   with each vector and reduce that flag in all the vector reductions;
>   but this alone is not enough we would also have to have some
>   propagation code for things like zero pivot, for example setting a
>   validity flag in the Mat factor (saying the factor is not valid) and
>   propagating up those flags. We get all these things "for free" with
>   the Inf Nan approach.

Yeah, NaN/Inf is simple and I think it's okay.  I just wanted to make
sure that the debugging side-effect had been considered.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150501/56cba1d9/attachment.sig>


More information about the petsc-dev mailing list