git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7439 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user