[petsc-dev] SETERRQ for void methods

Matthew Knepley knepley at gmail.com
Mon May 15 12:45:59 CDT 2017


On Mon, May 15, 2017 at 10:27 AM, Mark Adams <mfadams at lbl.gov> wrote:

> Is there a way to get a stack trace, when you get a segv, inside of a void
> method? (Plex point functions)
>

You can do SETERRV(), but I would just use the debugger or valgrind.

   Matt

-- 
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-dev/attachments/20170515/8cfb3489/attachment.html>


More information about the petsc-dev mailing list