On Mon, 3 May 2010 14:18:29 -0700, Barry Smith <bsmith at mcs.anl.gov> wrote: > > On May 3, 2010, at 12:18 PM, Jed Brown wrote: > > > I > > > > In lieu of that, you can always pass -fp_trap and run in a > > debugger. It > > will break when the exception occurs and you can check the flags with > > fetestexcept(FE_ALL_EXCEPT), see fenv.h for the enum values (probably > > /usr/include/bits/fenv.h). > > Jed, could you please add this very useful information to the > manual page for PetscSetFPTrap()? (is that where it should go?).
Sure. Jed
