#include <petscsys.h> PetscErrorCode SETERRMPI(MPI_Comm comm,PetscErrorCode ierr,char *message)Collective on MPI_Comm
comm | - A communicator, use PETSC_COMM_SELF unless you know all ranks of another communicator will detect the error | |
ierr | - nonzero error code, see the list of standard error codes in include/petscerror.h | |
message | - error message |