~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to src/STUBS/mpi.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
#define MPI_MAX_PROCESSOR_NAME 128
66
66
 
 
67
typedef void MPI_User_function(void *invec, void *inoutvec, 
 
68
                               int *len, MPI_Datatype *datatype);
 
69
 
67
70
/* MPI data structs */
68
71
 
69
72
struct _MPI_Status {
75
78
 
76
79
int MPI_Init(int *argc, char ***argv);
77
80
int MPI_Initialized(int *flag);
 
81
int MPI_Finalized(int *flag);
78
82
void MPI_Get_processor_name(char *name, int *resultlen);
79
83
 
80
84
int MPI_Comm_rank(MPI_Comm comm, int *me);
122
126
                   int *source, int *dest);
123
127
int MPI_Cart_rank(MPI_Comm comm, int *coords, int *rank);
124
128
 
 
129
int MPI_Type_contiguous(int count, MPI_Datatype oldtype, 
 
130
                        MPI_Datatype *newtype);
 
131
int MPI_Type_commit(MPI_Datatype *datatype);
 
132
int MPI_Type_free(MPI_Datatype *datatype);
 
133
 
 
134
int MPI_Op_create(MPI_User_function *function, int commute, MPI_Op *op);
 
135
int MPI_Op_free(MPI_Op *op);
125
136
 
126
137
int MPI_Barrier(MPI_Comm comm);
127
138
int MPI_Bcast(void *buf, int count, MPI_Datatype datatype,