@@ -1388,7 +1388,10 @@ OMPI_DECLSPEC extern struct ompi_predefined_datatype_t ompi_mpi_ub;
13881388/*
13891389 * MPI API
13901390 */
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 );
13921395OMPI_DECLSPEC int MPI_Abort (MPI_Comm comm , int errorcode );
13931396OMPI_DECLSPEC int MPI_Accumulate (const void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
13941397 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,
14181421 void * baseptr );
14191422OMPI_DECLSPEC int MPI_Allreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
14201423 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 );
14211426OMPI_DECLSPEC int MPI_Iallreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
14221427 MPI_Op op , MPI_Comm comm , MPI_Request * request );
14231428OMPI_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,
17731778 MPI_Status * status );
17741779OMPI_DECLSPEC int MPI_Irecv (void * buf , int count , MPI_Datatype datatype , int source ,
17751780 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 );
17761783OMPI_DECLSPEC int MPI_Irsend (const void * buf , int count , MPI_Datatype datatype , int dest ,
17771784 int tag , MPI_Comm comm , MPI_Request * request );
17781785OMPI_DECLSPEC int MPI_Isend (const void * buf , int count , MPI_Datatype datatype , int dest ,
17791786 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 );
17801789OMPI_DECLSPEC int MPI_Isendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
17811790 int dest , int sendtag , void * recvbuf , int recvcount ,
17821791 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
18811890 int tag , MPI_Comm comm , MPI_Request * request );
18821891OMPI_DECLSPEC int MPI_Recv (void * buf , int count , MPI_Datatype datatype , int source ,
18831892 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 );
18841895OMPI_DECLSPEC int MPI_Reduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
18851896 MPI_Op op , int root , MPI_Comm comm );
18861897OMPI_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
19561967 MPI_Request * request );
19571968OMPI_DECLSPEC int MPI_Send (const void * buf , int count , MPI_Datatype datatype , int dest ,
19581969 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 );
19591972OMPI_DECLSPEC int MPI_Sendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
19601973 int dest , int sendtag , void * recvbuf , int recvcount ,
19611974 MPI_Datatype recvtype , int source , int recvtag ,
@@ -2152,6 +2165,9 @@ OMPI_DECLSPEC int PMPI_Abort(MPI_Comm comm, int errorcode);
21522165OMPI_DECLSPEC int PMPI_Accumulate (const void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
21532166 int target_rank , MPI_Aint target_disp , int target_count ,
21542167 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 );
21552171OMPI_DECLSPEC int PMPI_Add_error_class (int * errorclass );
21562172OMPI_DECLSPEC int PMPI_Add_error_code (int errorclass , int * errorcode );
21572173OMPI_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,
21772193 void * baseptr );
21782194OMPI_DECLSPEC int PMPI_Allreduce (const void * sendbuf , void * recvbuf , int count ,
21792195 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 );
21802198OMPI_DECLSPEC int PMPI_Iallreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
21812199 MPI_Op op , MPI_Comm comm , MPI_Request * request );
21822200OMPI_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,
25342552 MPI_Status * status );
25352553OMPI_DECLSPEC int PMPI_Irecv (void * buf , int count , MPI_Datatype datatype , int source ,
25362554 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 );
25372557OMPI_DECLSPEC int PMPI_Irsend (const void * buf , int count , MPI_Datatype datatype , int dest ,
25382558 int tag , MPI_Comm comm , MPI_Request * request );
25392559OMPI_DECLSPEC int PMPI_Isend (const void * buf , int count , MPI_Datatype datatype , int dest ,
25402560 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 );
25412563OMPI_DECLSPEC int PMPI_Isendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
25422564 int dest , int sendtag , void * recvbuf , int recvcount ,
25432565 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
26422664 int tag , MPI_Comm comm , MPI_Request * request );
26432665OMPI_DECLSPEC int PMPI_Recv (void * buf , int count , MPI_Datatype datatype , int source ,
26442666 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 );
26452669OMPI_DECLSPEC int PMPI_Reduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
26462670 MPI_Op op , int root , MPI_Comm comm );
26472671OMPI_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
27172741 MPI_Request * request );
27182742OMPI_DECLSPEC int PMPI_Send (const void * buf , int count , MPI_Datatype datatype , int dest ,
27192743 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 );
27202746OMPI_DECLSPEC int PMPI_Sendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
27212747 int dest , int sendtag , void * recvbuf , int recvcount ,
27222748 MPI_Datatype recvtype , int source , int recvtag ,
@@ -3175,6 +3201,8 @@ OMPI_DECLSPEC int PMPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub)
31753201#define MPI_Type_ub (...) THIS_FUNCTION_WAS_REMOVED_IN_MPI30(MPI_Type_ub, MPI_Type_get_extent)
31763202#endif
31773203
3204+ #endif /* OMPI_NO_MPI_PROTOTYPES */
3205+
31783206#if defined(c_plusplus ) || defined(__cplusplus )
31793207 }
31803208#endif
0 commit comments