0 : (0,0) | 1 : (0,1) | 2 : (0,2) | 3: (0,3) | 4 : (1,0) | 5 : (1,1) | 6 : (1,2) | 7: (1,3) | 8 : (2,0) | 9 : (2,1) | 10 : (2,2) | 11: (2,3) | 12 : (3,0) | 13 : (3,1) | 13 : (3,2) | 15: (3,3) | 16 : (4,0) | 17 : (4,1) | 18 : (4,2) | 19: (4,3) |
int MPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
int MPI_Type_vector(int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype * newtype)
MPI_Type_commit(MPI_Type * datatype)
MPI_Type_free(MPI_Type * datatype)