[petsc-dev] -mat_error_if_fpe?

Barry Smith bsmith at mcs.anl.gov
Tue Jun 2 15:21:40 CDT 2015


> On Jun 2, 2015, at 3:02 PM, Dmitry Karpeyev <karpeev at mcs.anl.gov> wrote:
> 
> Should we have a way to turn on/off MatErrorIfFPE() on the command line?

  Sure, one does it with -ksp_error_if_not_converged or -snes_error_if_not_converged  It only adds to user confusion, but no user benefit, to have a -mat_error_if_fpe thing. 

  What user case do think there is for a -mat_error_if_fpe ?

  Barry



> It is now turned off by default to allow Inf/NaNs to propagate and currently the only way to toggle it is programmatic.

   
> 
> Dmitry.




More information about the petsc-dev mailing list