2003-11-22 19:36:58 +03:00
|
|
|
/*
|
2004-01-07 10:53:25 +03:00
|
|
|
* $HEADER$
|
2003-11-22 19:36:58 +03:00
|
|
|
*/
|
|
|
|
|
2004-01-07 10:53:25 +03:00
|
|
|
#ifndef LAM_MPI_H
|
|
|
|
#define LAM_MPI_H
|
2003-11-22 19:36:58 +03:00
|
|
|
|
|
|
|
#define MPI_SUCCESS 0
|
2003-11-22 19:57:54 +03:00
|
|
|
#define MPI_MAX_OBJECT_NAME 64
|
2003-11-22 19:36:58 +03:00
|
|
|
|
2004-01-07 10:53:25 +03:00
|
|
|
#define LAM_MPI 1
|
|
|
|
|
2004-01-08 00:45:50 +03:00
|
|
|
typedef struct lam_communicator *MPI_Comm;
|
|
|
|
typedef struct lam_group *MPI_Group;
|
|
|
|
typedef struct lam_datatype *MPI_Datatype;
|
2003-11-22 19:36:58 +03:00
|
|
|
|
|
|
|
extern MPI_Comm MPI_COMM_NULL;
|
|
|
|
extern MPI_Comm MPI_COMM_WORLD;
|
|
|
|
extern MPI_Comm MPI_COMM_SELF;
|
|
|
|
|
|
|
|
extern MPI_Datatype MPI_TYPE_NULL;
|
|
|
|
|
2004-01-07 11:32:16 +03:00
|
|
|
int MPI_Comm_set_name(MPI_Comm comm, char *name);
|
2003-11-22 19:36:58 +03:00
|
|
|
|
2004-01-07 10:53:25 +03:00
|
|
|
#endif /* LAM_MPI_H */
|