Syntax:
Basidatentypen wie MPI_INT, MPI_REAL, MPI_CHAR usw. müssen nicht explizit mit MPI_Type_commit angemeldet werden.
Aufruf:
#include "mpi.h"
int count;
MPI_Datatype datatype;
...
MPI_Type_contiguous(count, MPI_CHAR, &datatype);
MPI_Type_commit(&datatype);
...
MPI_Type_free(&datatype);
Beispiel