git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7439 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-01-06 17:53:44 +00:00
parent a10a777640
commit 4c698a05e5
3 changed files with 18 additions and 14 deletions

View File

@ -14,6 +14,12 @@
#ifndef MPI_STUBS
#define MPI_STUBS
/* use C bindings for MPI interface */
#ifdef __cplusplus
extern "C" {
#endif
/* Dummy defs for MPI stubs */
#define MPI_COMM_WORLD 0
@ -46,9 +52,10 @@
/* MPI data structs */
struct MPI_Status {
struct _MPI_Status {
int MPI_SOURCE;
};
typedef struct _MPI_Status MPI_Status;
/* Function prototypes for MPI stubs */
@ -121,4 +128,8 @@ int MPI_Scatterv(void *sendbuf, int *sendcounts, int *displs,
MPI_Datatype sendtype, void *recvbuf, int recvcount,
MPI_Datatype recvtype, int root, MPI_Comm comm);
#ifdef __cplusplus
}
#endif
#endif