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
|
|
|
* $Id: mpi.h,v 1.4 2004/01/07 07:53:25 jsquyres Exp $
|
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
|
|
|
|
|
2003-12-22 19:29:21 +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 10:53:25 +03:00
|
|
|
#endif /* LAM_MPI_H */
|