LAM/MPI logo

MPI binding for MPI_ERROR_STRING

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_ERROR_STRING( errorcode, string, resultlen )
[ IN errorcode] Error code returned by an MPI routine
[ OUT string] Text that corresponds to the errorcode
[ OUT resultlen] Length (in printable characters) of the result returned in string


C Binding

int MPI_Error_string(int errorcode, char *string, int *resultlen)

FORTRAN Binding

MPI_ERROR_STRING(ERRORCODE, STRING, RESULTLEN, IERROR)
INTEGER ERRORCODE, RESULTLEN, IERROR
CHARACTER*(*) STRING

C++ Binding
(in the MPI:: namespace)

void Get_error_string(int errorcode, char* name, int& resultlen)