MPI (Message Passing Interface) is a library that enables you to write parallel programs in C or Fortran77. The library uses commonly available operating system services to create parallel processes and exchange information among these processes.
This method converts an error code into an error class.
int MPI_Error_class(int errorcode, int *errorclass)
errorcode
is the error code returned by an MPI method.
errorclass
is the output parameter that is returned, representing the error class associated with the error code.
The function returns an error if it is unsuccessful. The error aborts the MPI job by default.
In case of success, it returns MPI_SUCCESS
, the value returned upon successful termination of any MPI routine.
Free Resources