[petsc-users] [petsc-maint #136411] PETSc Execution Error
Jed Brown
jedbrown at mcs.anl.gov
Sat Oct 20 22:55:46 CDT 2012
On Wed, Oct 17, 2012 at 1:45 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> Paul,
>
> With this type of problem you need to get a handle on exactly where
> the floating point exception appeared. This is done by running the debug
> version of the code in a debugger and asking the debugger to catch floating
> point exceptions (how to do this depends on the debugger). Once you see
> exactly where the floating point except ion comes from (for example a
> divide by zero, square root of a negative number etc) that can lead to
> seeing how to avoid it.
>
> Note to developers, we should have an answer for this in PETSc FAQ.
>
https://bitbucket.org/petsc/petsc-dev/changeset/6e2912899260e1c94b78c60754198048af02ca85
Can one of you Mac users figure out how to make -fp_trap work there?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121020/24c42497/attachment.html>
More information about the petsc-users
mailing list