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