7 #define MPI_COMM_WORLD 0
14 #define MPI_ANY_SOURCE -1
15 #define MPI_ERR_OTHER -1
16 #define MPI_STATUS_SIZE 3
20 Status object. It is the only user-visible MPI data-structure
21 The "count" field is PRIVATE; use MPI_Get_count to access it.
31 /* MPI request objects */
32 typedef int MPI_Request;
35 typedef int MPI_Datatype;
46 void mpi_error( void );
48 int MPI_Irecv( void *buf,
50 MPI_Datatype datatype,
54 MPI_Request *request );
56 int MPI_Send( void *buf,
58 MPI_Datatype datatype,
63 int MPI_Wait( MPI_Request *request,
66 int MPI_Init( int *argc,
69 int MPI_Comm_rank( MPI_Comm comm,
72 int MPI_Comm_size( MPI_Comm comm,
75 double MPI_Wtime( void );
77 int MPI_Barrier( MPI_Comm comm );
79 int MPI_Finalize( void );
81 int MPI_Allreduce( void *sendbuf,
88 int MPI_Reduce( void *sendbuf,
96 int MPI_Alltoall( void *sendbuf,
98 MPI_Datatype sendtype,
101 MPI_Datatype recvtype,
104 int MPI_Alltoallv( void *sendbuf,
107 MPI_Datatype sendtype,
111 MPI_Datatype recvtype,