[petsc-users] Deactivate PETSc error handling

Richard Mills richardtmills at gmail.com
Tue Apr 19 03:58:13 CDT 2016


Hi Marco,

Try running with "-no_signal_handler" on the command line.

Cheers,
Richard

On Tue, Apr 19, 2016 at 1:26 AM, marco restelli <mrestelli at gmail.com> wrote:

> Dear all,
>    running a code linked against PETSc I get the following error:
>
> PETSC ERROR: Caught signal number 8 FPE: Floating Point
> Exception,probably divide by zero
>
> This message from PETSc is suppressing a much more useful error
> message from the compiler, which typically indicates the source line
> where the floating point exception happened. Is there a way to switch
> off any error handling from PETSc?
>
> Thank you,
>    Marco
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160419/5775d317/attachment.html>


More information about the petsc-users mailing list