[petsc-users] PETSc Execution Error

Jed Brown jedbrown at mcs.anl.gov
Wed Oct 17 09:52:01 CDT 2012


On Wed, Oct 17, 2012 at 9:30 AM, Jose E. Roman <jroman at dsic.upv.es> wrote:

> This is the same error you reported three weeks ago.
> Did you try our suggestions? Place a MatMult operation before the solve
> (and comment out the rest of the code). If the problem persists then you
> have a problem when creating the matrix. Check the values that you are
> passing in MatSetValues.
>

You can instantly locate the place where the floating point exception
occurred, if you are using glibc or a couple special architectures, by
running in a debugger and passing the command line option -fp_trap to your
application. It will break exactly at the place where the exception first
occurred.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121017/0cfd2b7b/attachment.html>


More information about the petsc-users mailing list