Funktionsübersicht . . Errorhandling und Environment

Hilfesystem für den Message Passing Interface Standard MPI


MPI_Error_string

Liefert den Text zu einem Fehlercode

Syntax:

Input Parameter: Output Parameter: Aufruf:
#include "mpi.h"

    int     errorcode, resultlen;
    char    *string;

    ...
    string=(char *)malloc(MPI_MAX_ERROR_STRING * sizeof(char));
    MPI_Error_string(errorcode, string, &resultlen);
    ...

Beispiel