#include "petscsys.h" PetscErrorCode PetscAbortErrorHandler(MPI_Comm comm,int line,const char *fun,const char *file,PetscErrorCode n,PetscErrorType p,const char *mess,void *ctx)Not Collective Many br
comm | - communicator over which error occurred Many br | |
line | - the line number of the error (indicated by __LINE__) Many br | |
func | - function where error occured (indicated by __FUNCT__) Many br | |
file | - the file in which the error was detected (indicated by __FILE__) Many br | |
mess | - an error text string, usually just printed to the screen Many br | |
n | - the generic error number Many br | |
p | - specific error number Many br | |
ctx | - error handler context Many br |
-on_error_abort | - Activates aborting when an error is encountered Many br | |
-start_in_debugger [noxterm,dbx,xxgdb] [ | - display name] - Starts all Many brprocesses in the debugger and uses PetscAbortErrorHandler(). By default the Many brdebugger is gdb; alternatives are dbx and xxgdb. Many br |
Many br
SETERRQ(comm,number,mess)or its variants, SETERRQ1(number,formatstring,arg1), SETERRQ2(), ... that Many brallow including arguments in the message. Many br
Level:developer
Location:src/sys/error/errabort.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages