[petsc-users] Turning off PETSC errors
Matthew Knepley
knepley at gmail.com
Fri Apr 27 16:43:39 CDT 2012
On Fri, Apr 27, 2012 at 4:57 PM, Andrew Spott <andrew.spott at gmail.com>wrote:
> I keep getting a floating point error, unfortunately I can't seem to
> figure out where it is coming from, because the PETSC error codes keep
> being kicked out before my own code can tell me anything. (And the error
> codes aren't telling me where my errors are). Is there anyway to turn off
> the errors by petsc, without recompiling petsc?
>
To be specific, are you getting a SIGFPE? If so, you should be able to pull
up the debugger and see
exactly what line it occurs on. You can turn off the trap with
http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Sys/PetscFPTrapPush.html#PetscFPTrapPush
Matt
> Thanks
>
> Andrew
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120427/16484ca8/attachment.htm>
More information about the petsc-users
mailing list