PetscMPIErrorString#

Given an MPI error code returns the MPI_Error_string() appropriately formatted for displaying with the PETSc error handlers.

Synopsis#

#include "petscsys.h" 
void PetscMPIErrorString(PetscMPIInt err, char *string)

Input Parameter#

  • err - the MPI error code

Output Parameter#

  • string - the MPI error message, should declare its length to be larger than MPI_MAX_ERROR_STRING

Note#

Does not return an error code or do error handling because it may be called from inside an error handler

Level#

developer

Location#

src/sys/error/err.c


Edit on GitLab

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