[petsc-dev] What is wrong with CHKERRQ() after PetscInitialize()?

Jed Brown jedbrown at mcs.anl.gov
Mon Sep 17 20:14:06 CDT 2012


On Mon, Sep 17, 2012 at 8:10 PM, Matthew Knepley <knepley at gmail.com> wrote:

> This is bad design. We should setup CHKERRQ structs first. If they fail
> during setup we should MPI_Abort.


It is never okay to unconditionally call MPI_Abort.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120917/e6faeea9/attachment.html>


More information about the petsc-dev mailing list