19 #define MPI_STATUS_IGNORE NULL
23 typedef int MPI_Datatype;
33 enum {MPI_BYTE, MPI_INT, MPI_DOUBLE, MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_MAX, MPI_SUCCESS, MPI_COMM_WORLD};
39 int MPI_Initialized(
int *flag);
40 int MPI_Barrier(MPI_Comm comm);
42 int MPI_Abort(MPI_Comm comm,
int errorcode);
43 int MPI_Comm_rank(MPI_Comm comm,
int *rank);
44 int MPI_Comm_size(MPI_Comm comm,
int *size);
46 int MPI_Get_count(
const MPI_Status *status, MPI_Datatype datatype,
int *count);
47 int MPI_Send(
const void *buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm);
48 int MPI_Recv(
void *buf,
int count, MPI_Datatype datatype,
int source,
int tag, MPI_Comm comm,
MPI_Status *status);
49 int MPI_Irecv(
void *buf,
int count, MPI_Datatype datatype,
int source,
int tag, MPI_Comm comm,
MPI_Request *request);
50 int MPI_Isend(
const void *buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm,
MPI_Request *request);
51 int MPI_Reduce(
const void *sendbuf,
void *recvbuf,
int count, MPI_Datatype datatype, MPI_Op op,
int root, MPI_Comm comm);