00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef AMPI_NOIMPL_ONLY
00014
00015 #ifndef AMPI_FUNC
00016 # error You must define AMPI_FUNC before including this file!
00017 #endif
00018 #ifndef AMPI_CUSTOM_FUNC
00019 # error You must define AMPI_CUSTOM_FUNC before including this file!
00020 #endif
00021
00022 #if CMK_CUDA
00023 #include "hapi_functions.h"
00024 #endif
00025
00026 AMPI_CUSTOM_FUNC(void, AMPI_Exit, int exitCode)
00027
00028 AMPI_CUSTOM_FUNC(void, ampiMarkAtexit, void)
00029
00030 #ifndef MPI_COMM_NULL_COPY_FN
00031 #define MPI_COMM_NULL_COPY_FN MPI_comm_null_copy_fn
00032 #endif
00033 #ifndef MPI_COMM_NULL_DELETE_FN
00034 #define MPI_COMM_NULL_DELETE_FN MPI_comm_null_delete_fn
00035 #endif
00036 #ifndef MPI_COMM_DUP_FN
00037 #define MPI_COMM_DUP_FN MPI_comm_dup_fn
00038 #endif
00039
00040 #ifndef MPI_NULL_COPY_FN
00041 #define MPI_NULL_COPY_FN MPI_comm_null_copy_fn
00042 #endif
00043 #ifndef MPI_NULL_DELETE_FN
00044 #define MPI_NULL_DELETE_FN MPI_comm_null_delete_fn
00045 #endif
00046 #ifndef MPI_DUP_FN
00047 #define MPI_DUP_FN MPI_comm_dup_fn
00048 #endif
00049
00050 AMPI_CUSTOM_FUNC(int, MPI_COMM_NULL_COPY_FN , MPI_Comm, int, void *, void *, void *, int * )
00051 AMPI_CUSTOM_FUNC(int, MPI_COMM_NULL_DELETE_FN , MPI_Comm, int, void *, void * )
00052 AMPI_CUSTOM_FUNC(int, MPI_COMM_DUP_FN , MPI_Comm, int, void *, void *, void *, int * )
00053
00054 #ifndef MPI_TYPE_NULL_DELETE_FN
00055 #define MPI_TYPE_NULL_DELETE_FN MPI_type_null_delete_fn
00056 #endif
00057 #ifndef MPI_TYPE_NULL_COPY_FN
00058 #define MPI_TYPE_NULL_COPY_FN MPI_type_null_copy_fn
00059 #endif
00060 #ifndef MPI_TYPE_DUP_FN
00061 #define MPI_TYPE_DUP_FN MPI_type_dup_fn
00062 #endif
00063
00064 AMPI_CUSTOM_FUNC(int, MPI_TYPE_NULL_COPY_FN , MPI_Datatype, int, void *, void *, void *, int * )
00065 AMPI_CUSTOM_FUNC(int, MPI_TYPE_NULL_DELETE_FN , MPI_Datatype, int, void *, void * )
00066 AMPI_CUSTOM_FUNC(int, MPI_TYPE_DUP_FN , MPI_Datatype, int, void *, void *, void *, int * )
00067
00068 #include "pup_c_functions.h"
00069
00070
00071 AMPI_FUNC(int, MPI_Send, const void *msg, int count, MPI_Datatype type, int dest,
00072 int tag, MPI_Comm comm)
00073 AMPI_FUNC(int, MPI_Ssend, const void *msg, int count, MPI_Datatype type, int dest,
00074 int tag, MPI_Comm comm)
00075 AMPI_FUNC(int, MPI_Recv, void *msg, int count, MPI_Datatype type, int src, int tag,
00076 MPI_Comm comm, MPI_Status *status)
00077 AMPI_FUNC(int, MPI_Mrecv, void* buf, int count, MPI_Datatype datatype, MPI_Message *message,
00078 MPI_Status *status)
00079 AMPI_FUNC(int, MPI_Get_count, const MPI_Status *sts, MPI_Datatype dtype, int *count)
00080 AMPI_FUNC(int, MPI_Bsend, const void *buf, int count, MPI_Datatype datatype,
00081 int dest, int tag,MPI_Comm comm)
00082 AMPI_FUNC(int, MPI_Rsend, const void *buf, int count, MPI_Datatype datatype,
00083 int dest, int tag,MPI_Comm comm)
00084 AMPI_FUNC(int, MPI_Buffer_attach, void *buffer, int size)
00085 AMPI_FUNC(int, MPI_Buffer_detach, void *buffer, int *size)
00086 AMPI_FUNC(int, MPI_Isend, const void *buf, int count, MPI_Datatype datatype, int dest,
00087 int tag, MPI_Comm comm, MPI_Request *request)
00088 AMPI_FUNC(int, MPI_Ibsend, const void *buf, int count, MPI_Datatype datatype, int dest,
00089 int tag, MPI_Comm comm, MPI_Request *request)
00090 AMPI_FUNC(int, MPI_Issend, const void *buf, int count, MPI_Datatype datatype, int dest,
00091 int tag, MPI_Comm comm, MPI_Request *request)
00092 AMPI_FUNC(int, MPI_Irsend, const void *buf, int count, MPI_Datatype datatype, int dest,
00093 int tag, MPI_Comm comm, MPI_Request *request)
00094 AMPI_FUNC(int, MPI_Irecv, void *buf, int count, MPI_Datatype datatype, int src,
00095 int tag, MPI_Comm comm, MPI_Request *request)
00096 AMPI_FUNC(int, MPI_Imrecv, void* buf, int count, MPI_Datatype datatype, MPI_Message *message,
00097 MPI_Request *request)
00098 AMPI_FUNC(int, MPI_Wait, MPI_Request *request, MPI_Status *sts)
00099 AMPI_FUNC(int, MPI_Test, MPI_Request *request, int *flag, MPI_Status *sts)
00100 AMPI_FUNC(int, MPI_Waitany, int count, MPI_Request *request, int *index, MPI_Status *sts)
00101 AMPI_FUNC(int, MPI_Testany, int count, MPI_Request *request, int *index, int *flag, MPI_Status *status)
00102 AMPI_FUNC(int, MPI_Waitall, int count, MPI_Request *request, MPI_Status *sts)
00103 AMPI_FUNC(int, MPI_Testall, int count, MPI_Request *request, int *flag, MPI_Status *sts)
00104 AMPI_FUNC(int, MPI_Waitsome, int incount, MPI_Request *array_of_requests, int *outcount,
00105 int *array_of_indices, MPI_Status *array_of_statuses)
00106 AMPI_FUNC(int, MPI_Testsome, int incount, MPI_Request *array_of_requests, int *outcount,
00107 int *array_of_indices, MPI_Status *array_of_statuses)
00108 AMPI_FUNC(int, MPI_Request_get_status, MPI_Request request, int *flag, MPI_Status *sts)
00109 AMPI_FUNC(int, MPI_Request_free, MPI_Request *request)
00110 AMPI_FUNC(int, MPI_Grequest_start, MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn,\
00111 MPI_Grequest_cancel_function *cancel_fn, void *extra_state, MPI_Request *request)
00112 AMPI_FUNC(int, MPI_Grequest_complete, MPI_Request request)
00113 AMPI_FUNC(int, MPI_Cancel, MPI_Request *request)
00114 AMPI_FUNC(int, MPI_Test_cancelled, const MPI_Status *status, int *flag)
00115 AMPI_FUNC(int, MPI_Status_set_cancelled, MPI_Status *status, int flag)
00116 AMPI_FUNC(int, MPI_Iprobe, int src, int tag, MPI_Comm comm, int *flag, MPI_Status *sts)
00117 AMPI_FUNC(int, MPI_Probe, int source, int tag, MPI_Comm comm, MPI_Status *sts)
00118 AMPI_FUNC(int, MPI_Improbe, int source, int tag, MPI_Comm comm, int *flag,
00119 MPI_Message *message, MPI_Status *status)
00120 AMPI_FUNC(int, MPI_Mprobe, int source, int tag, MPI_Comm comm, MPI_Message *message,
00121 MPI_Status *status)
00122 AMPI_FUNC(int, MPI_Send_init, const void *buf, int count, MPI_Datatype type, int dest, int tag,
00123 MPI_Comm comm, MPI_Request *req)
00124 AMPI_FUNC(int, MPI_Ssend_init, const void *buf, int count, MPI_Datatype type, int dest, int tag,
00125 MPI_Comm comm, MPI_Request *req)
00126 AMPI_FUNC(int, MPI_Rsend_init, const void *buf, int count, MPI_Datatype type, int dest, int tag,
00127 MPI_Comm comm, MPI_Request *req)
00128 AMPI_FUNC(int, MPI_Bsend_init, const void *buf, int count, MPI_Datatype type, int dest, int tag,
00129 MPI_Comm comm, MPI_Request *req)
00130 AMPI_FUNC(int, MPI_Recv_init, void *buf, int count, MPI_Datatype type, int src, int tag,
00131 MPI_Comm comm, MPI_Request *req)
00132 AMPI_FUNC(int, MPI_Start, MPI_Request *reqnum)
00133 AMPI_FUNC(int, MPI_Startall, int count, MPI_Request *array_of_requests)
00134 AMPI_FUNC(int, MPI_Sendrecv, const void *sbuf, int scount, MPI_Datatype stype, int dest,
00135 int stag, void *rbuf, int rcount, MPI_Datatype rtype,
00136 int src, int rtag, MPI_Comm comm, MPI_Status *sts)
00137 AMPI_FUNC(int, MPI_Sendrecv_replace, void* buf, int count, MPI_Datatype datatype,
00138 int dest, int sendtag, int source, int recvtag,
00139 MPI_Comm comm, MPI_Status *status)
00140
00141
00142 AMPI_FUNC(int, MPI_Type_contiguous, int count, MPI_Datatype oldtype,
00143 MPI_Datatype *newtype)
00144 AMPI_FUNC(int, MPI_Type_vector, int count, int blocklength, int stride,
00145 MPI_Datatype oldtype, MPI_Datatype *newtype)
00146 AMPI_FUNC(int, MPI_Type_create_hvector, int count, int blocklength, MPI_Aint stride,
00147 MPI_Datatype oldtype, MPI_Datatype *newtype)
00148 AMPI_FUNC(int, MPI_Type_hvector, int count, int blocklength, MPI_Aint stride,
00149 MPI_Datatype oldtype, MPI_Datatype *newtype)
00150 AMPI_FUNC(int, MPI_Type_indexed, int count, const int* arrBlength, const int* arrDisp,
00151 MPI_Datatype oldtype, MPI_Datatype *newtype)
00152 AMPI_FUNC(int, MPI_Type_create_hindexed, int count, const int* arrBlength, const MPI_Aint* arrDisp,
00153 MPI_Datatype oldtype, MPI_Datatype *newtype)
00154 AMPI_FUNC(int, MPI_Type_create_indexed_block, int count, int Blength, const int *arrDisp,
00155 MPI_Datatype oldtype, MPI_Datatype *newtype)
00156 AMPI_FUNC(int, MPI_Type_create_hindexed_block, int count, int Blength, const MPI_Aint *arrDisp,
00157 MPI_Datatype oldtype, MPI_Datatype *newtype)
00158 AMPI_FUNC(int, MPI_Type_hindexed, int count, int* arrBlength, MPI_Aint* arrDisp,
00159 MPI_Datatype oldtype, MPI_Datatype *newtype)
00160 AMPI_FUNC(int, MPI_Type_create_struct, int count, const int* arrBLength, const MPI_Aint* arrDisp,
00161 const MPI_Datatype *oldType, MPI_Datatype *newType)
00162 AMPI_FUNC(int, MPI_Type_struct, int count, int* arrBLength, MPI_Aint* arrDisp,
00163 MPI_Datatype *oldType, MPI_Datatype *newType)
00164 AMPI_FUNC(int, MPI_Type_get_envelope, MPI_Datatype datatype, int *num_integers, int *num_addresses,
00165 int *num_datatypes, int *combiner)
00166 AMPI_FUNC(int, MPI_Type_get_contents, MPI_Datatype datatype, int max_integers, int max_addresses,
00167 int max_datatypes, int array_of_integers[], MPI_Aint array_of_addresses[],
00168 MPI_Datatype array_of_datatypes[])
00169 AMPI_FUNC(int, MPI_Type_commit, MPI_Datatype *datatype)
00170 AMPI_FUNC(int, MPI_Type_free, MPI_Datatype *datatype)
00171 AMPI_FUNC(int, MPI_Type_get_extent, MPI_Datatype datatype, MPI_Aint *lb, MPI_Aint *extent)
00172 AMPI_FUNC(int, MPI_Type_get_extent_x, MPI_Datatype datatype, MPI_Count *lb, MPI_Count *extent)
00173 AMPI_FUNC(int, MPI_Type_extent, MPI_Datatype datatype, MPI_Aint *extent)
00174 AMPI_FUNC(int, MPI_Type_get_true_extent, MPI_Datatype datatype, MPI_Aint *true_lb, MPI_Aint *true_extent)
00175 AMPI_FUNC(int, MPI_Type_get_true_extent_x, MPI_Datatype datatype, MPI_Count *true_lb, MPI_Count *true_extent)
00176 AMPI_FUNC(int, MPI_Type_size, MPI_Datatype datatype, int *size)
00177 AMPI_FUNC(int, MPI_Type_size_x, MPI_Datatype datatype, MPI_Count *size)
00178 AMPI_FUNC(int, MPI_Type_lb, MPI_Datatype datatype, MPI_Aint* displacement)
00179 AMPI_FUNC(int, MPI_Type_ub, MPI_Datatype datatype, MPI_Aint* displacement)
00180 AMPI_FUNC(int, MPI_Type_set_name, MPI_Datatype datatype, const char *name)
00181 AMPI_FUNC(int, MPI_Type_get_name, MPI_Datatype datatype, char *name, int *resultlen)
00182 AMPI_FUNC(int, MPI_Type_dup, MPI_Datatype oldtype, MPI_Datatype *newtype)
00183 AMPI_FUNC(int, MPI_Type_create_resized, MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype)
00184 AMPI_FUNC(int, MPI_Type_set_attr, MPI_Datatype datatype, int type_keyval, void *attribute_val)
00185 AMPI_FUNC(int, MPI_Type_get_attr, MPI_Datatype datatype, int type_keyval, void *attribute_val, int *flag)
00186 AMPI_FUNC(int, MPI_Type_delete_attr, MPI_Datatype datatype, int type_keyval)
00187 AMPI_FUNC(int, MPI_Type_create_keyval, MPI_Type_copy_attr_function *type_copy_attr_fn,
00188 MPI_Type_delete_attr_function *type_delete_attr_fn,
00189 int *type_keyval, void *extra_state)
00190 AMPI_FUNC(int, MPI_Type_free_keyval, int *type_keyval)
00191 AMPI_FUNC(int, MPI_Type_create_darray, int size, int rank, int ndims,
00192 const int array_of_gsizes[], const int array_of_distribs[],
00193 const int array_of_dargs[], const int array_of_psizes[],
00194 int order, MPI_Datatype oldtype, MPI_Datatype *newtype)
00195 AMPI_FUNC(int, MPI_Type_create_subarray, int ndims, const int array_of_sizes[],
00196 const int array_of_subsizes[], const int array_of_starts[], int order,
00197 MPI_Datatype oldtype, MPI_Datatype *newtype)
00198 AMPI_FUNC(int, MPI_Get_address, const void* location, MPI_Aint *address)
00199 AMPI_FUNC(int, MPI_Address, void* location, MPI_Aint *address)
00200 AMPI_FUNC(int, MPI_Status_set_elements, MPI_Status *status, MPI_Datatype datatype, int count)
00201 AMPI_FUNC(int, MPI_Status_set_elements_x, MPI_Status *status, MPI_Datatype datatype, MPI_Count count)
00202 AMPI_FUNC(int, MPI_Get_elements, const MPI_Status *status, MPI_Datatype datatype, int *count)
00203 AMPI_FUNC(int, MPI_Get_elements_x, const MPI_Status *status, MPI_Datatype datatype, MPI_Count *count)
00204 AMPI_FUNC(int, MPI_Pack, const void *inbuf, int incount, MPI_Datatype dtype, void *outbuf,
00205 int outsize, int *position, MPI_Comm comm)
00206 AMPI_FUNC(int, MPI_Unpack, const void *inbuf, int insize, int *position, void *outbuf,
00207 int outcount, MPI_Datatype dtype, MPI_Comm comm)
00208 AMPI_FUNC(int, MPI_Pack_size, int incount,MPI_Datatype datatype,MPI_Comm comm,int *sz)
00209
00210
00211 AMPI_FUNC(int, MPI_Barrier, MPI_Comm comm)
00212 AMPI_FUNC(int, MPI_Ibarrier, MPI_Comm comm, MPI_Request *request)
00213 AMPI_FUNC(int, MPI_Bcast, void *buf, int count, MPI_Datatype type, int root, MPI_Comm comm)
00214 AMPI_FUNC(int, MPI_Ibcast, void *buf, int count, MPI_Datatype type, int root, MPI_Comm comm,
00215 MPI_Request *request)
00216 AMPI_FUNC(int, MPI_Gather, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00217 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00218 int root, MPI_Comm comm)
00219 AMPI_FUNC(int, MPI_Igather, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00220 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00221 int root, MPI_Comm comm, MPI_Request *request)
00222 AMPI_FUNC(int, MPI_Gatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00223 void *recvbuf, const int *recvcounts, const int *displs,
00224 MPI_Datatype recvtype, int root, MPI_Comm comm)
00225 AMPI_FUNC(int, MPI_Igatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00226 void *recvbuf, const int *recvcounts, const int *displs,
00227 MPI_Datatype recvtype, int root, MPI_Comm comm,
00228 MPI_Request *request)
00229 AMPI_FUNC(int, MPI_Scatter, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00230 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00231 int root, MPI_Comm comm)
00232 AMPI_FUNC(int, MPI_Iscatter, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00233 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00234 int root, MPI_Comm comm, MPI_Request *request)
00235 AMPI_FUNC(int, MPI_Scatterv, const void *sendbuf, const int *sendcounts, const int *displs, MPI_Datatype sendtype,
00236 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00237 int root, MPI_Comm comm)
00238 AMPI_FUNC(int, MPI_Iscatterv, const void *sendbuf, const int *sendcounts, const int *displs, MPI_Datatype sendtype,
00239 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00240 int root, MPI_Comm comm, MPI_Request *request)
00241 AMPI_FUNC(int, MPI_Allgather, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00242 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00243 MPI_Comm comm)
00244 AMPI_FUNC(int, MPI_Iallgather, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00245 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00246 MPI_Comm comm, MPI_Request* request)
00247 AMPI_FUNC(int, MPI_Allgatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00248 void *recvbuf, const int *recvcounts, const int *displs,
00249 MPI_Datatype recvtype, MPI_Comm comm)
00250 AMPI_FUNC(int, MPI_Iallgatherv, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00251 void *recvbuf, const int *recvcounts, const int *displs,
00252 MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request)
00253 AMPI_FUNC(int, MPI_Alltoall, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00254 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00255 MPI_Comm comm)
00256 AMPI_FUNC(int, MPI_Ialltoall, const void *sendbuf, int sendcount, MPI_Datatype sendtype,
00257 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00258 MPI_Comm comm, MPI_Request *request)
00259 AMPI_FUNC(int, MPI_Alltoallv, const void *sendbuf, const int *sendcounts, const int *sdispls,
00260 MPI_Datatype sendtype, void *recvbuf, const int *recvcounts,
00261 const int *rdispls, MPI_Datatype recvtype, MPI_Comm comm)
00262 AMPI_FUNC(int, MPI_Ialltoallv, void *sendbuf, int *sendcounts, int *sdispls,
00263 MPI_Datatype sendtype, void *recvbuf, int *recvcounts,
00264 int *rdispls, MPI_Datatype recvtype, MPI_Comm comm,
00265 MPI_Request *request)
00266 AMPI_FUNC(int, MPI_Alltoallw, const void *sendbuf, const int *sendcounts, const int *sdispls,
00267 const MPI_Datatype *sendtypes, void *recvbuf, const int *recvcounts,
00268 const int *rdispls, const MPI_Datatype *recvtypes, MPI_Comm comm)
00269 AMPI_FUNC(int, MPI_Ialltoallw, const void *sendbuf, const int *sendcounts, const int *sdispls,
00270 const MPI_Datatype *sendtypes, void *recvbuf, const int *recvcounts,
00271 const int *rdispls, const MPI_Datatype *recvtypes, MPI_Comm comm,
00272 MPI_Request *request)
00273 AMPI_FUNC(int, MPI_Reduce, const void *inbuf, void *outbuf, int count, MPI_Datatype type,
00274 MPI_Op op, int root, MPI_Comm comm)
00275 AMPI_FUNC(int, MPI_Ireduce, const void *sendbuf, void *recvbuf, int count, MPI_Datatype type,
00276 MPI_Op op, int root, MPI_Comm comm, MPI_Request *request)
00277 AMPI_FUNC(int, MPI_Allreduce, const void *inbuf, void *outbuf, int count, MPI_Datatype type,
00278 MPI_Op op, MPI_Comm comm)
00279 AMPI_FUNC(int, MPI_Iallreduce, const void *inbuf, void *outbuf, int count, MPI_Datatype type,
00280 MPI_Op op, MPI_Comm comm, MPI_Request *request)
00281 AMPI_FUNC(int, MPI_Reduce_local, const void *inbuf, void *outbuf, int count,
00282 MPI_Datatype datatype, MPI_Op op)
00283 AMPI_FUNC(int, MPI_Reduce_scatter_block, const void* sendbuf, void* recvbuf, int count,
00284 MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
00285 AMPI_FUNC(int, MPI_Ireduce_scatter_block, const void* sendbuf, void* recvbuf, int count,
00286 MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request)
00287 AMPI_FUNC(int, MPI_Reduce_scatter, const void* sendbuf, void* recvbuf, const int *recvcounts,
00288 MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
00289 AMPI_FUNC(int, MPI_Ireduce_scatter, const void* sendbuf, void* recvbuf, const int *recvcounts,
00290 MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request)
00291 AMPI_FUNC(int, MPI_Scan, const void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00292 MPI_Op op, MPI_Comm comm )
00293 AMPI_FUNC(int, MPI_Iscan, const void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00294 MPI_Op op, MPI_Comm comm, MPI_Request *request)
00295 AMPI_FUNC(int, MPI_Exscan, const void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00296 MPI_Op op, MPI_Comm comm)
00297 AMPI_FUNC(int, MPI_Iexscan, const void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00298 MPI_Op op, MPI_Comm comm, MPI_Request *request)
00299
00300
00301 AMPI_FUNC(int, MPI_Neighbor_alltoall, const void* sendbuf, int sendcount, MPI_Datatype sendtype,
00302 void* recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
00303 AMPI_FUNC(int, MPI_Ineighbor_alltoall, const void* sendbuf, int sendcount, MPI_Datatype sendtype,
00304 void* recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm,
00305 MPI_Request* request)
00306 AMPI_FUNC(int, MPI_Neighbor_alltoallv, const void* sendbuf, const int* sendcounts, const int* sdispls,
00307 MPI_Datatype sendtype, void* recvbuf, const int* recvcounts, const int* rdispls,
00308 MPI_Datatype recvtype, MPI_Comm comm)
00309 AMPI_FUNC(int, MPI_Ineighbor_alltoallv, const void* sendbuf, const int* sendcounts, const int* sdispls,
00310 MPI_Datatype sendtype, void* recvbuf, const int* recvcounts, const int* rdispls,
00311 MPI_Datatype recvtype, MPI_Comm comm, MPI_Request* request)
00312 AMPI_FUNC(int, MPI_Neighbor_alltoallw, const void* sendbuf, const int* sendcounts, const MPI_Aint* sdipls,
00313 const MPI_Datatype* sendtypes, void* recvbuf, const int* recvcounts, const MPI_Aint* rdispls,
00314 const MPI_Datatype* recvtypes, MPI_Comm comm)
00315 AMPI_FUNC(int, MPI_Ineighbor_alltoallw, const void* sendbuf, const int* sendcounts, const MPI_Aint* sdispls,
00316 const MPI_Datatype* sendtypes, void* recvbuf, const int* recvcounts, const MPI_Aint* rdispls,
00317 const MPI_Datatype* recvtypes, MPI_Comm comm, MPI_Request* request)
00318 AMPI_FUNC(int, MPI_Neighbor_allgather, const void* sendbuf, int sendcount, MPI_Datatype sendtype,
00319 void* recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
00320 AMPI_FUNC(int, MPI_Ineighbor_allgather, const void* sendbuf, int sendcount, MPI_Datatype sendtype,
00321 void* recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm,
00322 MPI_Request *request)
00323 AMPI_FUNC(int, MPI_Neighbor_allgatherv, const void* sendbuf, int sendcount, MPI_Datatype sendtype,
00324 void* recvbuf, const int* recvcounts, const int* displs, MPI_Datatype recvtype,
00325 MPI_Comm comm)
00326 AMPI_FUNC(int, MPI_Ineighbor_allgatherv, const void* sendbuf, int sendcount, MPI_Datatype sendtype,
00327 void* recvbuf, const int* recvcounts, const int* displs, MPI_Datatype recvtype,
00328 MPI_Comm comm, MPI_Request *request)
00329
00330
00331 AMPI_FUNC(int, MPI_Op_create, MPI_User_function *function, int commute, MPI_Op *op)
00332 AMPI_FUNC(int, MPI_Op_free, MPI_Op *op)
00333 AMPI_FUNC(int, MPI_Op_commutative, MPI_Op op, int* commute)
00334
00335
00336 AMPI_FUNC(int, MPI_Group_size, MPI_Group group, int *size)
00337 AMPI_FUNC(int, MPI_Group_rank, MPI_Group group, int *rank)
00338 AMPI_FUNC(int, MPI_Group_translate_ranks, MPI_Group group1, int n, const int *ranks1, MPI_Group group2, int *ranks2)
00339 AMPI_FUNC(int, MPI_Group_compare, MPI_Group group1,MPI_Group group2, int *result)
00340 AMPI_FUNC(int, MPI_Comm_group, MPI_Comm comm, MPI_Group *group)
00341 AMPI_FUNC(int, MPI_Group_union, MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
00342 AMPI_FUNC(int, MPI_Group_intersection, MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
00343 AMPI_FUNC(int, MPI_Group_difference, MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
00344 AMPI_FUNC(int, MPI_Group_incl, MPI_Group group, int n, const int *ranks, MPI_Group *newgroup)
00345 AMPI_FUNC(int, MPI_Group_excl, MPI_Group group, int n, const int *ranks, MPI_Group *newgroup)
00346 AMPI_FUNC(int, MPI_Group_range_incl, MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup)
00347 AMPI_FUNC(int, MPI_Group_range_excl, MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup)
00348 AMPI_FUNC(int, MPI_Group_free, MPI_Group *group)
00349
00350
00351 AMPI_FUNC(int, MPI_Intercomm_create, MPI_Comm local_comm, int local_leader, MPI_Comm peer_comm,
00352 int remote_leader, int tag, MPI_Comm *newintercomm)
00353 AMPI_FUNC(int, MPI_Intercomm_merge, MPI_Comm intercomm, int high, MPI_Comm *newintracomm)
00354 AMPI_FUNC(int, MPI_Comm_create, MPI_Comm comm, MPI_Group group, MPI_Comm* newcomm)
00355 AMPI_FUNC(int, MPI_Comm_create_group, MPI_Comm comm, MPI_Group group, int tag, MPI_Comm *newcomm)
00356 AMPI_FUNC(int, MPI_Comm_size, MPI_Comm comm, int *size)
00357 AMPI_FUNC(int, MPI_Comm_rank, MPI_Comm comm, int *rank)
00358 AMPI_FUNC(int, MPI_Comm_compare, MPI_Comm comm1,MPI_Comm comm2, int *result)
00359 AMPI_FUNC(int, MPI_Comm_split, MPI_Comm src, int color, int key, MPI_Comm *dest)
00360 AMPI_FUNC(int, MPI_Comm_split_type, MPI_Comm src, int split_type, int key, MPI_Info info, MPI_Comm *dest)
00361 AMPI_FUNC(int, MPI_Comm_dup, MPI_Comm src, MPI_Comm *dest)
00362 AMPI_FUNC(int, MPI_Comm_idup, MPI_Comm comm, MPI_Comm *newcomm, MPI_Request *request)
00363 AMPI_FUNC(int, MPI_Comm_dup_with_info, MPI_Comm src, MPI_Info info, MPI_Comm *dest)
00364 AMPI_FUNC(int, MPI_Comm_idup_with_info, MPI_Comm src, MPI_Info info, MPI_Comm *dest, MPI_Request *request)
00365 AMPI_FUNC(int, MPI_Comm_free, MPI_Comm *comm)
00366 AMPI_FUNC(int, MPI_Comm_test_inter, MPI_Comm comm, int *flag)
00367 AMPI_FUNC(int, MPI_Comm_remote_size, MPI_Comm comm, int *size)
00368 AMPI_FUNC(int, MPI_Comm_remote_group, MPI_Comm comm, MPI_Group *group)
00369 AMPI_FUNC(int, MPI_Comm_set_name, MPI_Comm comm, const char *name)
00370 AMPI_FUNC(int, MPI_Comm_get_name, MPI_Comm comm, char *comm_name, int *resultlen)
00371 AMPI_FUNC(int, MPI_Comm_set_info, MPI_Comm comm, MPI_Info info)
00372 AMPI_FUNC(int, MPI_Comm_get_info, MPI_Comm comm, MPI_Info *info)
00373 AMPI_FUNC(int, MPI_Comm_call_errhandler, MPI_Comm comm, int errorcode)
00374 AMPI_FUNC(int, MPI_Comm_create_errhandler, MPI_Comm_errhandler_fn *function, MPI_Errhandler *errhandler)
00375 AMPI_FUNC(int, MPI_Comm_set_errhandler, MPI_Comm comm, MPI_Errhandler errhandler)
00376 AMPI_FUNC(int, MPI_Comm_get_errhandler, MPI_Comm comm, MPI_Errhandler *errhandler)
00377 AMPI_FUNC(int, MPI_Comm_free_errhandler, MPI_Errhandler *errhandler)
00378 AMPI_FUNC(int, MPI_Comm_create_keyval, MPI_Comm_copy_attr_function *copy_fn, MPI_Comm_delete_attr_function *delete_fn,
00379 int *keyval, void* extra_state)
00380 AMPI_FUNC(int, MPI_Comm_free_keyval, int *keyval)
00381 AMPI_FUNC(int, MPI_Comm_set_attr, MPI_Comm comm, int keyval, void* attribute_val)
00382 AMPI_FUNC(int, MPI_Comm_get_attr, MPI_Comm comm, int keyval, void *attribute_val, int *flag)
00383 AMPI_FUNC(int, MPI_Comm_delete_attr, MPI_Comm comm, int keyval)
00384
00385
00386 AMPI_FUNC(int, MPI_Keyval_create, MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn,
00387 int *keyval, void* extra_state)
00388 AMPI_FUNC(int, MPI_Keyval_free, int *keyval)
00389 AMPI_FUNC(int, MPI_Attr_put, MPI_Comm comm, int keyval, void* attribute_val)
00390 AMPI_FUNC(int, MPI_Attr_get, MPI_Comm comm, int keyval, void *attribute_val, int *flag)
00391 AMPI_FUNC(int, MPI_Attr_delete, MPI_Comm comm, int keyval)
00392
00393
00394 AMPI_FUNC(int, MPI_Cart_create, MPI_Comm comm_old, int ndims, const int *dims,
00395 const int *periods, int reorder, MPI_Comm *comm_cart)
00396 AMPI_FUNC(int, MPI_Graph_create, MPI_Comm comm_old, int nnodes, const int *index,
00397 const int *edges, int reorder, MPI_Comm *comm_graph)
00398 AMPI_FUNC(int, MPI_Dist_graph_create_adjacent, MPI_Comm comm_old, int indegree, const int sources[],
00399 const int sourceweights[], int outdegree,
00400 const int destinations[], const int destweights[],
00401 MPI_Info info, int reorder, MPI_Comm *comm_dist_graph)
00402 AMPI_FUNC(int, MPI_Dist_graph_create, MPI_Comm comm_old, int n, const int sources[], const int degrees[],
00403 const int destintations[], const int weights[], MPI_Info info,
00404 int reorder, MPI_Comm *comm_dist_graph)
00405 AMPI_FUNC(int, MPI_Topo_test, MPI_Comm comm, int *status)
00406 AMPI_FUNC(int, MPI_Cart_map, MPI_Comm comm, int ndims, const int *dims, const int *periods,
00407 int *newrank)
00408 AMPI_FUNC(int, MPI_Graph_map, MPI_Comm comm, int nnodes, const int *index, const int *edges,
00409 int *newrank)
00410 AMPI_FUNC(int, MPI_Cartdim_get, MPI_Comm comm, int *ndims)
00411 AMPI_FUNC(int, MPI_Cart_get, MPI_Comm comm, int maxdims, int *dims, int *periods, int *coords)
00412 AMPI_FUNC(int, MPI_Cart_rank, MPI_Comm comm, const int *coords, int *rank)
00413 AMPI_FUNC(int, MPI_Cart_coords, MPI_Comm comm, int rank, int maxdims, int *coords)
00414 AMPI_FUNC(int, MPI_Cart_shift, MPI_Comm comm, int direction, int disp, int *rank_source, int *rank_dest)
00415 AMPI_FUNC(int, MPI_Graphdims_get, MPI_Comm comm, int *nnodes, int *nedges)
00416 AMPI_FUNC(int, MPI_Graph_get, MPI_Comm comm, int maxindex, int maxedges, int *index, int *edges)
00417 AMPI_FUNC(int, MPI_Graph_neighbors_count, MPI_Comm comm, int rank, int *nneighbors)
00418 AMPI_FUNC(int, MPI_Graph_neighbors, MPI_Comm comm, int rank, int maxneighbors, int *neighbors)
00419 AMPI_FUNC(int, MPI_Dims_create, int nnodes, int ndims, int *dims)
00420 AMPI_FUNC(int, MPI_Cart_sub, MPI_Comm comm, const int *remain_dims, MPI_Comm *newcomm)
00421 AMPI_FUNC(int, MPI_Dist_graph_neighbors, MPI_Comm comm, int maxindegree, int sources[], int sourceweights[],
00422 int maxoutdegree, int destinations[], int destweights[])
00423 AMPI_FUNC(int, MPI_Dist_graph_neighbors_count, MPI_Comm comm, int *indegree, int *outdegree, int *weighted)
00424
00425
00426 AMPI_FUNC(int, MPI_Errhandler_create, MPI_Handler_function *function, MPI_Errhandler *errhandler)
00427 AMPI_FUNC(int, MPI_Errhandler_set, MPI_Comm comm, MPI_Errhandler errhandler)
00428 AMPI_FUNC(int, MPI_Errhandler_get, MPI_Comm comm, MPI_Errhandler *errhandler)
00429 AMPI_FUNC(int, MPI_Errhandler_free, MPI_Errhandler *errhandler)
00430 AMPI_FUNC(int, MPI_Add_error_code, int errorclass, int *errorcode)
00431 AMPI_FUNC(int, MPI_Add_error_class, int *errorclass)
00432 AMPI_FUNC(int, MPI_Add_error_string, int errorcode, const char *errorstring)
00433 AMPI_FUNC(int, MPI_Error_class, int errorcode, int *errorclass)
00434 AMPI_FUNC(int, MPI_Error_string, int errorcode, char *string, int *resultlen)
00435 AMPI_FUNC(int, MPI_Get_version, int *version, int *subversion)
00436 AMPI_FUNC(int, MPI_Get_library_version, char *version, int *resultlen)
00437 AMPI_FUNC(int, MPI_Get_processor_name, char *name, int *resultlen)
00438 AMPI_FUNC(double, MPI_Wtime, void)
00439 AMPI_FUNC(double, MPI_Wtick, void)
00440 AMPI_FUNC(int, MPI_Is_thread_main, int *flag)
00441 AMPI_FUNC(int, MPI_Query_thread, int *provided)
00442 AMPI_FUNC(int, MPI_Init_thread, int *argc, char*** argv, int required, int *provided)
00443 AMPI_FUNC(int, MPI_Init, int *argc, char*** argv)
00444 AMPI_FUNC(int, MPI_Initialized, int *isInit)
00445 AMPI_FUNC(int, MPI_Finalize, void)
00446 AMPI_FUNC(int, MPI_Finalized, int *finalized)
00447 AMPI_FUNC(int, MPI_Abort, MPI_Comm comm, int errorcode)
00448 AMPI_FUNC(int, MPI_Pcontrol, const int level, ...)
00449
00450
00451 #ifndef MPI_WIN_NULL_DELETE_FN
00452 #define MPI_WIN_NULL_DELETE_FN MPI_win_null_delete_fn
00453 #endif
00454 #ifndef MPI_WIN_NULL_COPY_FN
00455 #define MPI_WIN_NULL_COPY_FN MPI_win_null_copy_fn
00456 #endif
00457 #ifndef MPI_WIN_DUP_FN
00458 #define MPI_WIN_DUP_FN MPI_win_dup_fn
00459 #endif
00460
00461 AMPI_CUSTOM_FUNC(int, MPI_WIN_NULL_COPY_FN , MPI_Win, int, void *, void *, void *, int * )
00462 AMPI_CUSTOM_FUNC(int, MPI_WIN_NULL_DELETE_FN , MPI_Win, int, void *, void * )
00463 AMPI_CUSTOM_FUNC(int, MPI_WIN_DUP_FN , MPI_Win, int, void *, void *, void *, int * )
00464
00465
00466 AMPI_FUNC(int, MPI_Win_create, void *base, MPI_Aint size, int disp_unit,
00467 MPI_Info info, MPI_Comm comm, MPI_Win *newwin)
00468 AMPI_FUNC(int, MPI_Win_free, MPI_Win *win)
00469 AMPI_FUNC(int, MPI_Win_create_errhandler, MPI_Win_errhandler_function *win_errhandler_fn,
00470 MPI_Errhandler *errhandler)
00471 AMPI_FUNC(int, MPI_Win_call_errhandler, MPI_Win win, int errorcode)
00472 AMPI_FUNC(int, MPI_Win_get_errhandler, MPI_Win win, MPI_Errhandler *errhandler)
00473 AMPI_FUNC(int, MPI_Win_set_errhandler, MPI_Win win, MPI_Errhandler errhandler)
00474 AMPI_FUNC(int, MPI_Win_create_keyval, MPI_Win_copy_attr_function *copy_fn,
00475 MPI_Win_delete_attr_function *delete_fn,
00476 int *keyval, void *extra_state)
00477 AMPI_FUNC(int, MPI_Win_free_keyval, int *keyval)
00478 AMPI_FUNC(int, MPI_Win_delete_attr, MPI_Win win, int key)
00479 AMPI_FUNC(int, MPI_Win_get_attr, MPI_Win win, int win_keyval, void *attribute_val, int *flag)
00480 AMPI_FUNC(int, MPI_Win_set_attr, MPI_Win win, int win_keyval, void *attribute_val)
00481 AMPI_FUNC(int, MPI_Win_get_group, MPI_Win win, MPI_Group *group)
00482 AMPI_FUNC(int, MPI_Win_set_name, MPI_Win win, const char *name)
00483 AMPI_FUNC(int, MPI_Win_get_name, MPI_Win win, char *name, int *length)
00484 AMPI_FUNC(int, MPI_Win_set_info, MPI_Win win, MPI_Info info)
00485 AMPI_FUNC(int, MPI_Win_get_info, MPI_Win win, MPI_Info *info)
00486 AMPI_FUNC(int, MPI_Win_fence, int assertion, MPI_Win win)
00487 AMPI_FUNC(int, MPI_Win_lock, int lock_type, int rank, int assert, MPI_Win win)
00488 AMPI_FUNC(int, MPI_Win_unlock, int rank, MPI_Win win)
00489 AMPI_FUNC(int, MPI_Win_post, MPI_Group group, int assertion, MPI_Win win)
00490 AMPI_FUNC(int, MPI_Win_wait, MPI_Win win)
00491 AMPI_FUNC(int, MPI_Win_start, MPI_Group group, int assertion, MPI_Win win)
00492 AMPI_FUNC(int, MPI_Win_complete, MPI_Win win)
00493 AMPI_FUNC(int, MPI_Win_test, MPI_Win win, int *flag)
00494 AMPI_FUNC(int, MPI_Alloc_mem, MPI_Aint size, MPI_Info info, void *baseptr)
00495 AMPI_FUNC(int, MPI_Free_mem, void *base)
00496 AMPI_FUNC(int, MPI_Put, const void *orgaddr, int orgcnt, MPI_Datatype orgtype, int rank,
00497 MPI_Aint targdisp, int targcnt, MPI_Datatype targtype, MPI_Win win)
00498 AMPI_FUNC(int, MPI_Get, void *orgaddr, int orgcnt, MPI_Datatype orgtype, int rank,
00499 MPI_Aint targdisp, int targcnt, MPI_Datatype targtype, MPI_Win win)
00500 AMPI_FUNC(int, MPI_Accumulate, const void *orgaddr, int orgcnt, MPI_Datatype orgtype, int rank,
00501 MPI_Aint targdisp, int targcnt, MPI_Datatype targtype,
00502 MPI_Op op, MPI_Win win)
00503 AMPI_FUNC(int, MPI_Get_accumulate, const void *orgaddr, int orgcnt, MPI_Datatype orgtype,
00504 void *resaddr, int rescnt, MPI_Datatype restype,
00505 int rank, MPI_Aint targdisp, int targcnt,
00506 MPI_Datatype targtype, MPI_Op op, MPI_Win win)
00507 AMPI_FUNC(int, MPI_Rput, const void *orgaddr, int orgcnt, MPI_Datatype orgtype, int targrank,
00508 MPI_Aint targdisp, int targcnt, MPI_Datatype targtype, MPI_Win win,
00509 MPI_Request *request)
00510 AMPI_FUNC(int, MPI_Rget, void *orgaddr, int orgcnt, MPI_Datatype orgtype, int rank,
00511 MPI_Aint targdisp, int targcnt, MPI_Datatype targtype, MPI_Win win,
00512 MPI_Request *request)
00513 AMPI_FUNC(int, MPI_Raccumulate, const void *orgaddr, int orgcnt, MPI_Datatype orgtype, int rank,
00514 MPI_Aint targdisp, int targcnt, MPI_Datatype targtype,
00515 MPI_Op op, MPI_Win win, MPI_Request *request)
00516 AMPI_FUNC(int, MPI_Rget_accumulate, const void *orgaddr, int orgcnt, MPI_Datatype orgtype,
00517 void *resaddr, int rescnt, MPI_Datatype restype,
00518 int rank, MPI_Aint targdisp, int targcnt,
00519 MPI_Datatype targtype, MPI_Op op, MPI_Win win,
00520 MPI_Request *request)
00521 AMPI_FUNC(int, MPI_Fetch_and_op, const void *orgaddr, void *resaddr, MPI_Datatype type,
00522 int rank, MPI_Aint targdisp, MPI_Op op, MPI_Win win)
00523 AMPI_FUNC(int, MPI_Compare_and_swap, const void *orgaddr, const void *compaddr, void *resaddr,
00524 MPI_Datatype type, int rank, MPI_Aint targdisp,
00525 MPI_Win win)
00526
00527
00528 AMPI_FUNC(int, MPI_Info_create, MPI_Info *info)
00529 AMPI_FUNC(int, MPI_Info_set, MPI_Info info, const char *key, const char *value)
00530 AMPI_FUNC(int, MPI_Info_delete, MPI_Info info, const char *key)
00531 AMPI_FUNC(int, MPI_Info_get, MPI_Info info, const char *key, int valuelen, char *value, int *flag)
00532 AMPI_FUNC(int, MPI_Info_get_valuelen, MPI_Info info, const char *key, int *valuelen, int *flag)
00533 AMPI_FUNC(int, MPI_Info_get_nkeys, MPI_Info info, int *nkeys)
00534 AMPI_FUNC(int, MPI_Info_get_nthkey, MPI_Info info, int n, char *key)
00535 AMPI_FUNC(int, MPI_Info_dup, MPI_Info info, MPI_Info *newinfo)
00536 AMPI_FUNC(int, MPI_Info_free, MPI_Info *info)
00537
00538
00539
00540 AMPI_FUNC(int, MPIX_Grequest_start, MPI_Grequest_query_function *query_fn,
00541 MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn,
00542 MPIX_Grequest_poll_function *poll_fn, void *extra_state, MPI_Request *request)
00543 AMPI_FUNC(int, MPIX_Grequest_class_create, MPI_Grequest_query_function *query_fn,
00544 MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn,
00545 MPIX_Grequest_poll_function *poll_fn, MPIX_Grequest_wait_function *wait_fn,
00546 MPIX_Grequest_class *greq_class)
00547 AMPI_FUNC(int, MPIX_Grequest_class_allocate, MPIX_Grequest_class greq_class,
00548 void *extra_state, MPI_Request *request)
00549
00550
00551 #include "mpio_functions.h"
00552
00553
00554
00555 AMPI_CUSTOM_FUNC(int, AMPI_Init_universe, int * unicomm)
00556 AMPI_CUSTOM_FUNC(char **, AMPI_Get_argv, void)
00557 AMPI_CUSTOM_FUNC(int, AMPI_Get_argc, void)
00558 AMPI_CUSTOM_FUNC(int, AMPI_Migrate, MPI_Info hints)
00559 AMPI_CUSTOM_FUNC(int, AMPI_Load_start_measure, void)
00560 AMPI_CUSTOM_FUNC(int, AMPI_Load_stop_measure, void)
00561 AMPI_CUSTOM_FUNC(int, AMPI_Load_reset_measure, void)
00562 AMPI_CUSTOM_FUNC(int, AMPI_Load_set_value, double value)
00563 AMPI_CUSTOM_FUNC(int, AMPI_Migrate_to_pe, int dest)
00564 AMPI_CUSTOM_FUNC(int, AMPI_Set_migratable, int mig)
00565 AMPI_CUSTOM_FUNC(int, AMPI_Register_pup, MPI_PupFn fn, void *data, int *idx)
00566 AMPI_CUSTOM_FUNC(int, AMPI_Get_pup_data, int idx, void *data)
00567 AMPI_CUSTOM_FUNC(int, AMPI_Register_main, MPI_MainFn mainFn, const char *name)
00568 AMPI_CUSTOM_FUNC(int, AMPI_Register_about_to_migrate, MPI_MigrateFn fn)
00569 AMPI_CUSTOM_FUNC(int, AMPI_Register_just_migrated, MPI_MigrateFn fn)
00570 AMPI_CUSTOM_FUNC(int, AMPI_Iget, MPI_Aint orgdisp, int orgcnt, MPI_Datatype orgtype, int rank,
00571 MPI_Aint targdisp, int targcnt, MPI_Datatype targtype,
00572 MPI_Win win, MPI_Request *request)
00573 AMPI_CUSTOM_FUNC(int, AMPI_Iget_wait, MPI_Request *request, MPI_Status *status, MPI_Win win)
00574 AMPI_CUSTOM_FUNC(int, AMPI_Iget_free, MPI_Request *request, MPI_Status *status, MPI_Win win)
00575 AMPI_CUSTOM_FUNC(int, AMPI_Iget_data, void *data, MPI_Status status)
00576 AMPI_CUSTOM_FUNC(int, AMPI_Type_is_contiguous, MPI_Datatype datatype, int *flag)
00577 #if CMK_FAULT_EVAC
00578 AMPI_CUSTOM_FUNC(int, AMPI_Evacuate, void)
00579 #endif
00580 AMPI_CUSTOM_FUNC(int, AMPI_Yield, void)
00581 AMPI_CUSTOM_FUNC(int, AMPI_Suspend, void)
00582 AMPI_CUSTOM_FUNC(int, AMPI_Resume, int dest, MPI_Comm comm)
00583 AMPI_CUSTOM_FUNC(int, AMPI_Print, const char *str)
00584 AMPI_CUSTOM_FUNC(int, AMPI_Trace_begin, void)
00585 AMPI_CUSTOM_FUNC(int, AMPI_Trace_end, void)
00586 AMPI_CUSTOM_FUNC(int, AMPI_Alltoall_medium, void *sendbuf, int sendcount, MPI_Datatype sendtype,
00587 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00588 MPI_Comm comm)
00589 AMPI_CUSTOM_FUNC(int, AMPI_Alltoall_long, void *sendbuf, int sendcount, MPI_Datatype sendtype,
00590 void *recvbuf, int recvcount, MPI_Datatype recvtype,
00591 MPI_Comm comm)
00592
00593 #if CMK_BIGSIM_CHARM
00594 AMPI_CUSTOM_FUNC(int, AMPI_Set_start_event, MPI_Comm comm)
00595 AMPI_CUSTOM_FUNC(int, AMPI_Set_end_event, void)
00596 AMPI_CUSTOM_FUNC(void, beginTraceBigSim, char* msg)
00597 AMPI_CUSTOM_FUNC(void, endTraceBigSim, char* msg, char* param)
00598 #endif
00599
00600 #ifdef __cplusplus
00601 #if CMK_CUDA
00602 AMPI_CUSTOM_FUNC(int, AMPI_GPU_Iinvoke_wr, hapiWorkRequest *to_call, MPI_Request *request)
00603 AMPI_CUSTOM_FUNC(int, AMPI_GPU_Iinvoke, cudaStream_t stream, MPI_Request *request)
00604 AMPI_CUSTOM_FUNC(int, AMPI_GPU_Invoke_wr, hapiWorkRequest *to_call)
00605 AMPI_CUSTOM_FUNC(int, AMPI_GPU_Invoke, cudaStream_t stream)
00606 #endif
00607 #endif
00608
00609
00610 AMPI_CUSTOM_FUNC(int, AMPI_System, const char *cmd)
00611
00612
00613 AMPI_CUSTOM_FUNC(long, ampiCurrentStackUsage, void)
00614
00615 #endif
00616
00617
00618
00619
00620
00621 #if defined __GNUC__ || defined __clang__
00622 # pragma GCC diagnostic push
00623 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
00624 #elif defined _MSC_VER
00625 # pragma warning(push)
00626 # pragma warning(disable : 4996)
00627 #elif defined __INTEL_COMPILER
00628 # pragma warning push
00629 # pragma warning disable 1478
00630 #endif
00631
00632 #ifndef AMPI_FUNC_NOIMPL
00633 # error You must define AMPI_FUNC_NOIMPL before including this file!
00634 #endif
00635
00636
00637
00638
00639
00640
00641
00642
00643
00644 AMPI_FUNC_NOIMPL(int, MPI_Pack_external, const char datarep[], const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, MPI_Aint outsize, MPI_Aint *position)
00645 AMPI_FUNC_NOIMPL(int, MPI_Pack_external_size, const char datarep[], int incount, MPI_Datatype datatype, MPI_Aint *size)
00646 AMPI_FUNC_NOIMPL(int, MPI_Unpack_external, const char datarep[], const void *inbuf, MPI_Aint insize, MPI_Aint *position, void *outbuf, int outcount, MPI_Datatype datatype)
00647
00648
00649
00650
00651
00652
00653
00654 AMPI_FUNC_NOIMPL(int, MPI_File_call_errhandler, MPI_File fh, int errorcode)
00655 AMPI_FUNC_NOIMPL(int, MPI_File_create_errhandler, MPI_File_errhandler_function *file_errhandler_fn, MPI_Errhandler *errhandler)
00656 AMPI_FUNC_NOIMPL(int, MPI_File_get_errhandler, MPI_File file, MPI_Errhandler *errhandler)
00657 AMPI_FUNC_NOIMPL(int, MPI_File_set_errhandler, MPI_File file, MPI_Errhandler errhandler)
00658
00659
00660
00661
00662
00663
00664 AMPI_FUNC_NOIMPL(int, MPI_Close_port, const char *port_name)
00665 AMPI_FUNC_NOIMPL(int, MPI_Comm_accept, const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm)
00666 AMPI_FUNC_NOIMPL(int, MPI_Comm_connect, const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm)
00667 AMPI_FUNC_NOIMPL(int, MPI_Comm_disconnect, MPI_Comm *comm)
00668 AMPI_FUNC_NOIMPL(int, MPI_Comm_get_parent, MPI_Comm *parent)
00669 AMPI_FUNC_NOIMPL(int, MPI_Comm_join, int fd, MPI_Comm *intercomm)
00670 AMPI_FUNC_NOIMPL(int, MPI_Comm_spawn, const char *command, char *argv[], int maxprocs, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[])
00671 AMPI_FUNC_NOIMPL(int, MPI_Comm_spawn_multiple, int count, char *array_of_commands[], char **array_of_argv[], const int array_of_maxprocs[], const MPI_Info array_of_info[], int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[])
00672 AMPI_FUNC_NOIMPL(int, MPI_Lookup_name, const char *service_name, MPI_Info info, char *port_name)
00673 AMPI_FUNC_NOIMPL(int, MPI_Open_port, MPI_Info info, char *port_name)
00674 AMPI_FUNC_NOIMPL(int, MPI_Publish_name, const char *service_name, MPI_Info info, const char *port_name)
00675 AMPI_FUNC_NOIMPL(int, MPI_Unpublish_name, const char *service_name, MPI_Info info, const char *port_name)
00676
00677
00678
00679
00680 AMPI_FUNC_NOIMPL(int, MPI_Win_allocate, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win)
00681 AMPI_FUNC_NOIMPL(int, MPI_Win_allocate_shared, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win)
00682 AMPI_FUNC_NOIMPL(int, MPI_Win_attach, MPI_Win win, void *base, MPI_Aint size)
00683 AMPI_FUNC_NOIMPL(int, MPI_Win_create_dynamic, MPI_Info info, MPI_Comm comm, MPI_Win *win)
00684 AMPI_FUNC_NOIMPL(int, MPI_Win_detach, MPI_Win win, const void *base)
00685 AMPI_FUNC_NOIMPL(int, MPI_Win_flush, int rank, MPI_Win win)
00686 AMPI_FUNC_NOIMPL(int, MPI_Win_flush_all, MPI_Win win)
00687 AMPI_FUNC_NOIMPL(int, MPI_Win_flush_local, int rank, MPI_Win win)
00688 AMPI_FUNC_NOIMPL(int, MPI_Win_flush_local_all, MPI_Win win)
00689 AMPI_FUNC_NOIMPL(int, MPI_Win_lock_all, int assert, MPI_Win win)
00690 AMPI_FUNC_NOIMPL(int, MPI_Win_shared_query, MPI_Win win, int rank, MPI_Aint *size, int *disp_unit, void *baseptr)
00691 AMPI_FUNC_NOIMPL(int, MPI_Win_sync, MPI_Win win)
00692 AMPI_FUNC_NOIMPL(int, MPI_Win_unlock_all, MPI_Win win)
00693
00694
00695
00696
00697
00698
00699 AMPI_FUNC_NOIMPL(int, MPI_CONVERSION_FN_NULL, void *userbuf, MPI_Datatype datatype, int count, void *filebuf, MPI_Offset position, void *extra_state)
00700 AMPI_FUNC_NOIMPL(int, MPI_File_iread_all, MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
00701 AMPI_FUNC_NOIMPL(int, MPI_File_iread_at_all, MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
00702 AMPI_FUNC_NOIMPL(int, MPI_File_iwrite_all, MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
00703 AMPI_FUNC_NOIMPL(int, MPI_File_iwrite_at_all, MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
00704
00705
00706
00707
00708
00709 AMPI_FUNC_NOIMPL(int, MPI_Status_f082f, MPI_F08_status *f08_status, MPI_Fint *f_status)
00710 AMPI_FUNC_NOIMPL(int, MPI_Status_f2f08, MPI_Fint *f_status, MPI_F08_status *f08_status)
00711 AMPI_FUNC_NOIMPL(int, MPI_Type_create_f90_complex, int p, int r, MPI_Datatype *newtype)
00712 AMPI_FUNC_NOIMPL(int, MPI_Type_create_f90_integer, int r, MPI_Datatype *newtype)
00713 AMPI_FUNC_NOIMPL(int, MPI_Type_create_f90_real, int p, int r, MPI_Datatype *newtype)
00714 AMPI_FUNC_NOIMPL(int, MPI_Type_match_size, int typeclass, int size, MPI_Datatype *datatype)
00715 AMPI_FUNC_NOIMPL(MPI_Fint, MPI_Message_c2f, MPI_Message message)
00716 AMPI_FUNC_NOIMPL(MPI_Message, MPI_Message_f2c, MPI_Fint message)
00717 AMPI_FUNC_NOIMPL(int, MPI_Status_c2f, const MPI_Status *c_status, MPI_Fint *f_status)
00718 AMPI_FUNC_NOIMPL(int, MPI_Status_c2f08, const MPI_Status *c_status, MPI_F08_status *f08_status)
00719 AMPI_FUNC_NOIMPL(int, MPI_Status_f082c, const MPI_F08_status *f08_status, MPI_Status *c_status)
00720 AMPI_FUNC_NOIMPL(int, MPI_Status_f2c, const MPI_Fint *f_status, MPI_Status *c_status)
00721
00722
00723
00724
00725 AMPI_FUNC_NOIMPL(int, MPI_T_category_changed, int *stamp)
00726 AMPI_FUNC_NOIMPL(int, MPI_T_category_get_categories, int cat_index, int len, int indices[])
00727 AMPI_FUNC_NOIMPL(int, MPI_T_category_get_cvars, int cat_index, int len, int indices[])
00728 AMPI_FUNC_NOIMPL(int, MPI_T_category_get_index, const char *name, int *cat_index)
00729 AMPI_FUNC_NOIMPL(int, MPI_T_category_get_info, int cat_index, char *name, int *name_len, char *desc, int *desc_len, int *num_cvars, int *num_pvars, int *num_categories)
00730 AMPI_FUNC_NOIMPL(int, MPI_T_category_get_num, int *num_cat)
00731 AMPI_FUNC_NOIMPL(int, MPI_T_category_get_pvars, int cat_index, int len, int indices[])
00732 AMPI_FUNC_NOIMPL(int, MPI_T_cvar_get_index, const char *name, int *cvar_index)
00733 AMPI_FUNC_NOIMPL(int, MPI_T_cvar_get_info, int cvar_index, char *name, int *name_len, int *verbosity, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *bind, int *scope)
00734 AMPI_FUNC_NOIMPL(int, MPI_T_cvar_get_num, int *num_cvar)
00735 AMPI_FUNC_NOIMPL(int, MPI_T_cvar_handle_alloc, int cvar_index, void *obj_handle, MPI_T_cvar_handle *handle, int *count)
00736 AMPI_FUNC_NOIMPL(int, MPI_T_cvar_handle_free, MPI_T_cvar_handle *handle)
00737 AMPI_FUNC_NOIMPL(int, MPI_T_cvar_read, MPI_T_cvar_handle handle, void* buf)
00738 AMPI_FUNC_NOIMPL(int, MPI_T_cvar_write, MPI_T_cvar_handle handle, const void* buf)
00739 AMPI_FUNC_NOIMPL(int, MPI_T_enum_get_info, MPI_T_enum enumtype, int *num, char *name, int *name_len)
00740 AMPI_FUNC_NOIMPL(int, MPI_T_enum_get_item, MPI_T_enum enumtype, int index, int *value, char *name, int *name_len)
00741 AMPI_FUNC_NOIMPL(int, MPI_T_finalize, void)
00742 AMPI_FUNC_NOIMPL(int, MPI_T_init_thread, int required, int *provided)
00743 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_get_index, const char *name, int var_class, int *pvar_index)
00744 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_get_info, int pvar_index, char *name, int *name_len, int *verbosity, int *var_class, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *bind, int *readonly, int *continuous, int *atomic)
00745 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_get_num, int *num_pvar)
00746 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_handle_alloc, MPI_T_pvar_session session, int pvar_index, void *obj_handle, MPI_T_pvar_handle *handle, int *count)
00747 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_handle_free, MPI_T_pvar_session session,MPI_T_pvar_handle *handle)
00748 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_read, MPI_T_pvar_session session, MPI_T_pvar_handle handle,void* buf)
00749 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_readreset, MPI_T_pvar_session session,MPI_T_pvar_handle handle, void* buf)
00750 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_reset, MPI_T_pvar_session session, MPI_T_pvar_handle handle)
00751 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_session_create, MPI_T_pvar_session *session)
00752 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_session_free, MPI_T_pvar_session *session)
00753 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_start, MPI_T_pvar_session session, MPI_T_pvar_handle handle)
00754 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_stop, MPI_T_pvar_session session, MPI_T_pvar_handle handle)
00755 AMPI_FUNC_NOIMPL(int, MPI_T_pvar_write, MPI_T_pvar_session session, MPI_T_pvar_handle handle, const void* buf)
00756
00757
00758
00759
00760
00761 #if defined __GNUC__ || defined __clang__
00762 # pragma GCC diagnostic pop
00763 #elif defined _MSC_VER
00764 # pragma warning(pop)
00765 #elif defined __INTEL_COMPILER
00766 # pragma warning pop
00767 #endif