@@ -1389,7 +1389,7 @@ OMPI_DECLSPEC extern struct ompi_predefined_datatype_t ompi_mpi_ub;
1389
1389
/*
1390
1390
* MPI API
1391
1391
*/
1392
-
1392
+ #ifndef OMPI_NO_MPI_PROTOTYPES
1393
1393
OMPI_DECLSPEC int MPI_Abort (MPI_Comm comm , int errorcode );
1394
1394
OMPI_DECLSPEC int MPI_Accumulate (const void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
1395
1395
int target_rank , MPI_Aint target_disp , int target_count ,
@@ -1419,6 +1419,8 @@ OMPI_DECLSPEC int MPI_Alloc_mem(MPI_Aint size, MPI_Info info,
1419
1419
void * baseptr );
1420
1420
OMPI_DECLSPEC int MPI_Allreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
1421
1421
MPI_Op op , MPI_Comm comm );
1422
+ OMPI_DECLSPEC int MPI_Allreduce_c (const void * sendbuf , void * recvbuf , MPI_Count count , MPI_Datatype datatype ,
1423
+ MPI_Op op , MPI_Comm comm );
1422
1424
OMPI_DECLSPEC int MPI_Iallreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
1423
1425
MPI_Op op , MPI_Comm comm , MPI_Request * request );
1424
1426
OMPI_DECLSPEC int MPI_Allreduce_init (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
@@ -1774,10 +1776,14 @@ OMPI_DECLSPEC int MPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag,
1774
1776
MPI_Status * status );
1775
1777
OMPI_DECLSPEC int MPI_Irecv (void * buf , int count , MPI_Datatype datatype , int source ,
1776
1778
int tag , MPI_Comm comm , MPI_Request * request );
1779
+ OMPI_DECLSPEC int MPI_Irecv_c (void * buf , MPI_Count count , MPI_Datatype datatype , int source ,
1780
+ int tag , MPI_Comm comm , MPI_Request * request );
1777
1781
OMPI_DECLSPEC int MPI_Irsend (const void * buf , int count , MPI_Datatype datatype , int dest ,
1778
1782
int tag , MPI_Comm comm , MPI_Request * request );
1779
1783
OMPI_DECLSPEC int MPI_Isend (const void * buf , int count , MPI_Datatype datatype , int dest ,
1780
1784
int tag , MPI_Comm comm , MPI_Request * request );
1785
+ OMPI_DECLSPEC int MPI_Isend_c (const void * buf , MPI_Count count , MPI_Datatype datatype , int dest ,
1786
+ int tag , MPI_Comm comm , MPI_Request * request );
1781
1787
OMPI_DECLSPEC int MPI_Isendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
1782
1788
int dest , int sendtag , void * recvbuf , int recvcount ,
1783
1789
MPI_Datatype recvtype , int source , int recvtag ,
@@ -1882,6 +1888,8 @@ OMPI_DECLSPEC int MPI_Recv_init(void *buf, int count, MPI_Datatype datatype, in
1882
1888
int tag , MPI_Comm comm , MPI_Request * request );
1883
1889
OMPI_DECLSPEC int MPI_Recv (void * buf , int count , MPI_Datatype datatype , int source ,
1884
1890
int tag , MPI_Comm comm , MPI_Status * status );
1891
+ OMPI_DECLSPEC int MPI_Recv_c (void * buf , MPI_Count count , MPI_Datatype datatype , int source ,
1892
+ int tag , MPI_Comm comm , MPI_Status * status );
1885
1893
OMPI_DECLSPEC int MPI_Reduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
1886
1894
MPI_Op op , int root , MPI_Comm comm );
1887
1895
OMPI_DECLSPEC int MPI_Ireduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
@@ -1957,6 +1965,8 @@ OMPI_DECLSPEC int MPI_Send_init(const void *buf, int count, MPI_Datatype dataty
1957
1965
MPI_Request * request );
1958
1966
OMPI_DECLSPEC int MPI_Send (const void * buf , int count , MPI_Datatype datatype , int dest ,
1959
1967
int tag , MPI_Comm comm );
1968
+ OMPI_DECLSPEC int MPI_Send_c (const void * buf , MPI_Count count , MPI_Datatype datatype , int dest ,
1969
+ int tag , MPI_Comm comm );
1960
1970
OMPI_DECLSPEC int MPI_Sendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
1961
1971
int dest , int sendtag , void * recvbuf , int recvcount ,
1962
1972
MPI_Datatype recvtype , int source , int recvtag ,
@@ -2153,6 +2163,9 @@ OMPI_DECLSPEC int PMPI_Abort(MPI_Comm comm, int errorcode);
2153
2163
OMPI_DECLSPEC int PMPI_Accumulate (const void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
2154
2164
int target_rank , MPI_Aint target_disp , int target_count ,
2155
2165
MPI_Datatype target_datatype , MPI_Op op , MPI_Win win );
2166
+ OMPI_DECLSPEC int PMPI_Accumulate_c (const void * origin_addr , MPI_Count origin_count , MPI_Datatype origin_datatype ,
2167
+ int target_rank , MPI_Aint target_disp , MPI_Count target_count ,
2168
+ MPI_Datatype target_datatype , MPI_Op op , MPI_Win win );
2156
2169
OMPI_DECLSPEC int PMPI_Add_error_class (int * errorclass );
2157
2170
OMPI_DECLSPEC int PMPI_Add_error_code (int errorclass , int * errorcode );
2158
2171
OMPI_DECLSPEC int PMPI_Add_error_string (int errorcode , const char * string );
@@ -2178,6 +2191,8 @@ OMPI_DECLSPEC int PMPI_Alloc_mem(MPI_Aint size, MPI_Info info,
2178
2191
void * baseptr );
2179
2192
OMPI_DECLSPEC int PMPI_Allreduce (const void * sendbuf , void * recvbuf , int count ,
2180
2193
MPI_Datatype datatype , MPI_Op op , MPI_Comm comm );
2194
+ OMPI_DECLSPEC int PMPI_Allreduce_c (const void * sendbuf , void * recvbuf , MPI_Count count ,
2195
+ MPI_Datatype datatype , MPI_Op op , MPI_Comm comm );
2181
2196
OMPI_DECLSPEC int PMPI_Iallreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
2182
2197
MPI_Op op , MPI_Comm comm , MPI_Request * request );
2183
2198
OMPI_DECLSPEC int PMPI_Allreduce_init (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
@@ -2535,10 +2550,14 @@ OMPI_DECLSPEC int PMPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag,
2535
2550
MPI_Status * status );
2536
2551
OMPI_DECLSPEC int PMPI_Irecv (void * buf , int count , MPI_Datatype datatype , int source ,
2537
2552
int tag , MPI_Comm comm , MPI_Request * request );
2553
+ OMPI_DECLSPEC int PMPI_Irecv_c (void * buf , MPI_Count count , MPI_Datatype datatype , int source ,
2554
+ int tag , MPI_Comm comm , MPI_Request * request );
2538
2555
OMPI_DECLSPEC int PMPI_Irsend (const void * buf , int count , MPI_Datatype datatype , int dest ,
2539
2556
int tag , MPI_Comm comm , MPI_Request * request );
2540
2557
OMPI_DECLSPEC int PMPI_Isend (const void * buf , int count , MPI_Datatype datatype , int dest ,
2541
2558
int tag , MPI_Comm comm , MPI_Request * request );
2559
+ OMPI_DECLSPEC int PMPI_Isend_c (const void * buf , MPI_Count count , MPI_Datatype datatype , int dest ,
2560
+ int tag , MPI_Comm comm , MPI_Request * request );
2542
2561
OMPI_DECLSPEC int PMPI_Isendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
2543
2562
int dest , int sendtag , void * recvbuf , int recvcount ,
2544
2563
MPI_Datatype recvtype , int source , int recvtag ,
@@ -2643,6 +2662,8 @@ OMPI_DECLSPEC int PMPI_Recv_init(void *buf, int count, MPI_Datatype datatype, i
2643
2662
int tag , MPI_Comm comm , MPI_Request * request );
2644
2663
OMPI_DECLSPEC int PMPI_Recv (void * buf , int count , MPI_Datatype datatype , int source ,
2645
2664
int tag , MPI_Comm comm , MPI_Status * status );
2665
+ OMPI_DECLSPEC int PMPI_Recv_c (void * buf , MPI_Count count , MPI_Datatype datatype , int source ,
2666
+ int tag , MPI_Comm comm , MPI_Status * status );
2646
2667
OMPI_DECLSPEC int PMPI_Reduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
2647
2668
MPI_Op op , int root , MPI_Comm comm );
2648
2669
OMPI_DECLSPEC int PMPI_Ireduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
@@ -2718,6 +2739,8 @@ OMPI_DECLSPEC int PMPI_Send_init(const void *buf, int count, MPI_Datatype datat
2718
2739
MPI_Request * request );
2719
2740
OMPI_DECLSPEC int PMPI_Send (const void * buf , int count , MPI_Datatype datatype , int dest ,
2720
2741
int tag , MPI_Comm comm );
2742
+ OMPI_DECLSPEC int PMPI_Send_c (const void * buf , MPI_Count count , MPI_Datatype datatype , int dest ,
2743
+ int tag , MPI_Comm comm );
2721
2744
OMPI_DECLSPEC int PMPI_Sendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
2722
2745
int dest , int sendtag , void * recvbuf , int recvcount ,
2723
2746
MPI_Datatype recvtype , int source , int recvtag ,
@@ -3176,6 +3199,8 @@ OMPI_DECLSPEC int PMPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub)
3176
3199
#define MPI_Type_ub (...) THIS_FUNCTION_WAS_REMOVED_IN_MPI30(MPI_Type_ub, MPI_Type_get_extent)
3177
3200
#endif
3178
3201
3202
+ #endif /* OMPI_NO_MPI_PROTOTYPES */
3203
+
3179
3204
#if defined(c_plusplus ) || defined(__cplusplus )
3180
3205
}
3181
3206
#endif
0 commit comments