PETSCABORT#

Call MPI_Abort with an informative error code

Synopsis#

#include <petscsys.h>
PETSCABORT(MPI_Comm comm, PetscErrorCode ierr)

Collective

Input Parameters#

  • comm - A communicator, so that the error can be collective

  • ierr - nonzero error code, see the list of standard error codes in include/petscerror.h

Notes#

If the option -start_in_debugger was used then this calls abort() to stop the program in the debugger.

if PetscCIEnabledPortableErrorOutput is set it strives to exit cleanly without call MPI_Abort()

Level#

advanced

Location#

include/petscerror.h


Edit on GitLab

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages