Mir 1.0
Mir application programming interface
Mir MPI Wrapper Library

Data Structures

struct  mirmpiw_status_t
 

Macros

#define MIR_MPI_WRAP   1
 
#define MIRMPIW_BUILDING   0
 
#define MIRMPIW_PREDEFINED_GLOBAL(type, global)   ((type) ((void *) &(global)))
 
#define MIRMPIW_MPI_THREAD_SINGLE   mirmpiw_mpi_thread_single
 
#define MIRMPIW_MPI_THREAD_FUNNELED   mirmpiw_mpi_thread_funneled
 
#define MIRMPIW_MPI_THREAD_SERIALIZED   mirmpiw_mpi_thread_serialized
 
#define MIRMPIW_MPI_THREAD_MULTIPLE   mirmpiw_mpi_thread_multiple
 
#define MIRMPIW_MPI_COMM_WORLD   mirmpiw_mpi_comm_world
 
#define MIRMPIW_MPI_ANY_SOURCE   mirmpiw_mpi_any_source
 
#define MIRMPIW_MPI_SUCCESS   mirmpiw_mpi_success
 
#define MIRMPIW_MPI_MAX_PROCESSOR_NAME   mirmpiw_mpi_max_processor_name
 
#define MIRMPIW_MPI_MAX_ERROR_STRING   mirmpiw_mpi_max_error_string
 
#define MIRMPIW_MPI_MAX_LIBRARY_VERSION_STRING   mirmpiw_mpi_max_library_version_string
 
#define MIRMPIW_MPI_SUM   mirmpiw_mpi_sum
 
#define MIRMPIW_MPI_CHAR   mirmpiw_mpi_char
 
#define MIRMPIW_MPI_INT   mirmpiw_mpi_int
 
#define MIRMPIW_MPI_DOUBLE   mirmpiw_mpi_double
 
#define MIRMPIW_MPI_BYTE   mirmpiw_mpi_byte
 

Typedefs

typedef struct mirmpiw_status_t mirmpiw_status_t
 
typedef struct mirmpiw_communicator_t * MIRMPIW_MPI_Comm
 
typedef struct mirmpiw_group_t * MIRMPIW_MPI_Group
 
typedef struct mirmpiw_datatype_t * MIRMPIW_MPI_Datatype
 
typedef struct mirmpiw_op_t * MIRMPIW_MPI_Op
 
typedef struct mirmpiw_status_t MIRMPIW_MPI_Status
 
typedef struct mirmpiw_request_t * MIRMPIW_MPI_Request
 

Functions

int MIRMPIW_MPI_Send (void *buf, int count, MIRMPIW_MPI_Datatype datatype, int dest, int tag, MIRMPIW_MPI_Comm comm)
 
int MIRMPIW_MPI_Recv (void *buf, int count, MIRMPIW_MPI_Datatype datatype, int source, int tag, MIRMPIW_MPI_Comm comm, MIRMPIW_MPI_Status *status)
 
int MIRMPIW_MPI_Sendrecv (const void *sendbuf, int sendcount, MIRMPIW_MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MIRMPIW_MPI_Datatype recvtype, int source, int recvtag, MIRMPIW_MPI_Comm comm, MIRMPIW_MPI_Status *status)
 
int MIRMPIW_MPI_Isend (void *buf, int count, MIRMPIW_MPI_Datatype datatype, int dest, int tag, MIRMPIW_MPI_Comm Comm, MIRMPIW_MPI_Request *Request)
 
int MIRMPIW_MPI_Irecv (void *buf, int count, MIRMPIW_MPI_Datatype datatype, int source, int tag, MIRMPIW_MPI_Comm Comm, MIRMPIW_MPI_Request *Request)
 
int MIRMPIW_MPI_Wait (MIRMPIW_MPI_Request *Request, MIRMPIW_MPI_Status *Status)
 
int MIRMPIW_MPI_Bcast (void *fer, int len, MIRMPIW_MPI_Datatype DataType, int root, MIRMPIW_MPI_Comm Comm)
 
int MIRMPIW_MPI_Reduce (void *sendbuf, void *recvbuf, int count, MIRMPIW_MPI_Datatype datatype, MIRMPIW_MPI_Op op, int root, MIRMPIW_MPI_Comm comm)
 
int MIRMPIW_MPI_Allreduce (void *sendbuf, void *recvbuf, int count, MIRMPIW_MPI_Datatype datatype, MIRMPIW_MPI_Op op, MIRMPIW_MPI_Comm comm)
 
int MIRMPIW_MPI_Gather (void *sendbuf, int sendcount, MIRMPIW_MPI_Datatype sendtype, void *recvbuf, int recvcount, MIRMPIW_MPI_Datatype recvtype, int root, MIRMPIW_MPI_Comm comm)
 
int MIRMPIW_MPI_Comm_rank (MIRMPIW_MPI_Comm Comm, int *rank)
 
int MIRMPIW_MPI_Comm_size (MIRMPIW_MPI_Comm Comm, int *size)
 
int MIRMPIW_MPI_Comm_dup (MIRMPIW_MPI_Comm comm_src, MIRMPIW_MPI_Comm *comm_dst)
 
int MIRMPIW_MPI_Comm_create (MIRMPIW_MPI_Comm comm, MIRMPIW_MPI_Group group, MIRMPIW_MPI_Comm *comm_out)
 
int MIRMPIW_MPI_Comm_free (MIRMPIW_MPI_Comm *comm)
 
int MIRMPIW_MPI_Comm_group (MIRMPIW_MPI_Comm comm, MIRMPIW_MPI_Group *group)
 
int MIRMPIW_MPI_Group_free (MIRMPIW_MPI_Group *group)
 
int MIRMPIW_MPI_Group_excl (MIRMPIW_MPI_Group group, int n, int *ranks, MIRMPIW_MPI_Group *newgroup)
 
int MIRMPIW_MPI_Finalize (void)
 
int MIRMPIW_MPI_Init (int *argc, char ***argv)
 
int MIRMPIW_MPI_Init_thread (int *argc, char ***argv, int thrr, int *thre)
 
double MIRMPIW_MPI_Wtime (void)
 
int MIRMPIW_MPI_Get_processor_name (char *name, int *resultlen)
 
int MIRMPIW_MPI_Get_library_version (char *version, int *resultlen)
 
int MIRMPIW_MPI_Get_version (int *version, int *subversion)
 
int MIRMPIW_MPI_Error_string (int errorcode, char *string, int *resultlen)
 
int MIRMPIW_MPI_Barrier (MIRMPIW_MPI_Comm comm)
 
int MIRMPIW_MPI_Abort (MIRMPIW_MPI_Comm Comm, int errorcode)
 

Variables

const int mirmpiw_mpi_thread_single
 
const int mirmpiw_mpi_thread_funneled
 
const int mirmpiw_mpi_thread_serialized
 
const int mirmpiw_mpi_thread_multiple
 
const MIRMPIW_MPI_Comm mirmpiw_mpi_comm_world
 
const int mirmpiw_mpi_success
 
const int mirmpiw_mpi_any_source
 
const int mirmpiw_mpi_max_processor_name
 
const int mirmpiw_mpi_max_error_string
 
const int mirmpiw_mpi_max_library_version_string
 
const MIRMPIW_MPI_Op mirmpiw_mpi_sum
 
const MIRMPIW_MPI_Datatype mirmpiw_mpi_char
 
const MIRMPIW_MPI_Datatype mirmpiw_mpi_int
 
const MIRMPIW_MPI_Datatype mirmpiw_mpi_double
 
const MIRMPIW_MPI_Datatype mirmpiw_mpi_byte
 

Detailed Description