[petsc-dev] What is wrong with CHKERRQ() after PetscInitialize()?
Matthew Knepley
knepley at gmail.com
Mon Sep 17 20:20:05 CDT 2012
On Mon, Sep 17, 2012 at 8:18 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Mon, Sep 17, 2012 at 8:15 PM, Matthew Knepley <knepley at gmail.com>wrote:
>
>> What do you think we do when that Petsc Exception bottoms out?
>
>
> Return an error code and let the caller deal with it.
>
If a caller does not want to abort if PetscInit fails, alright.
However, we can still return a special error code that never goes into the
infrastructure.
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/20120917/b5bf9153/attachment.html>
More information about the petsc-dev
mailing list