#include <petscsys.h> PETSCABORT(MPI_Comm comm, PetscErrorCode ierr)Collective
|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|
If XX is zero, this means that the call was made in the routine main(). If XX is one, that means 1) the file is not in PETSc (it may be in users code); OR 2) the file is in PETSc but PetscAbortSourceFiles is out of date. PETSc developers have to update it. Otherwise, look up the value of XX in the table PetscAbortSourceFiles in src/sys/error/err.c to map XX back to the source file where the PETSCABORT() was called.
If the option -start_in_debugger was used then this calls abort() to stop the program in the debugger.