@@ -1389,7 +1389,7 @@ OMPI_DECLSPEC extern struct ompi_predefined_datatype_t ompi_mpi_ub;
13891389/*
13901390 * MPI API
13911391 */
1392-
1392+ #ifndef OMPI_NO_MPI_PROTOTYPES
13931393OMPI_DECLSPEC int MPI_Abort (MPI_Comm comm , int errorcode );
13941394OMPI_DECLSPEC int MPI_Accumulate (const void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
13951395 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,
14191419 void * baseptr );
14201420OMPI_DECLSPEC int MPI_Allreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
14211421 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 );
14221424OMPI_DECLSPEC int MPI_Iallreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
14231425 MPI_Op op , MPI_Comm comm , MPI_Request * request );
14241426OMPI_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,
17741776 MPI_Status * status );
17751777OMPI_DECLSPEC int MPI_Irecv (void * buf , int count , MPI_Datatype datatype , int source ,
17761778 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 );
17771781OMPI_DECLSPEC int MPI_Irsend (const void * buf , int count , MPI_Datatype datatype , int dest ,
17781782 int tag , MPI_Comm comm , MPI_Request * request );
17791783OMPI_DECLSPEC int MPI_Isend (const void * buf , int count , MPI_Datatype datatype , int dest ,
17801784 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 );
17811787OMPI_DECLSPEC int MPI_Isendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
17821788 int dest , int sendtag , void * recvbuf , int recvcount ,
17831789 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
18821888 int tag , MPI_Comm comm , MPI_Request * request );
18831889OMPI_DECLSPEC int MPI_Recv (void * buf , int count , MPI_Datatype datatype , int source ,
18841890 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 );
18851893OMPI_DECLSPEC int MPI_Reduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
18861894 MPI_Op op , int root , MPI_Comm comm );
18871895OMPI_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
19571965 MPI_Request * request );
19581966OMPI_DECLSPEC int MPI_Send (const void * buf , int count , MPI_Datatype datatype , int dest ,
19591967 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 );
19601970OMPI_DECLSPEC int MPI_Sendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
19611971 int dest , int sendtag , void * recvbuf , int recvcount ,
19621972 MPI_Datatype recvtype , int source , int recvtag ,
@@ -2153,6 +2163,9 @@ OMPI_DECLSPEC int PMPI_Abort(MPI_Comm comm, int errorcode);
21532163OMPI_DECLSPEC int PMPI_Accumulate (const void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
21542164 int target_rank , MPI_Aint target_disp , int target_count ,
21552165 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 );
21562169OMPI_DECLSPEC int PMPI_Add_error_class (int * errorclass );
21572170OMPI_DECLSPEC int PMPI_Add_error_code (int errorclass , int * errorcode );
21582171OMPI_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,
21782191 void * baseptr );
21792192OMPI_DECLSPEC int PMPI_Allreduce (const void * sendbuf , void * recvbuf , int count ,
21802193 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 );
21812196OMPI_DECLSPEC int PMPI_Iallreduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
21822197 MPI_Op op , MPI_Comm comm , MPI_Request * request );
21832198OMPI_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,
25352550 MPI_Status * status );
25362551OMPI_DECLSPEC int PMPI_Irecv (void * buf , int count , MPI_Datatype datatype , int source ,
25372552 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 );
25382555OMPI_DECLSPEC int PMPI_Irsend (const void * buf , int count , MPI_Datatype datatype , int dest ,
25392556 int tag , MPI_Comm comm , MPI_Request * request );
25402557OMPI_DECLSPEC int PMPI_Isend (const void * buf , int count , MPI_Datatype datatype , int dest ,
25412558 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 );
25422561OMPI_DECLSPEC int PMPI_Isendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
25432562 int dest , int sendtag , void * recvbuf , int recvcount ,
25442563 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
26432662 int tag , MPI_Comm comm , MPI_Request * request );
26442663OMPI_DECLSPEC int PMPI_Recv (void * buf , int count , MPI_Datatype datatype , int source ,
26452664 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 );
26462667OMPI_DECLSPEC int PMPI_Reduce (const void * sendbuf , void * recvbuf , int count , MPI_Datatype datatype ,
26472668 MPI_Op op , int root , MPI_Comm comm );
26482669OMPI_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
27182739 MPI_Request * request );
27192740OMPI_DECLSPEC int PMPI_Send (const void * buf , int count , MPI_Datatype datatype , int dest ,
27202741 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 );
27212744OMPI_DECLSPEC int PMPI_Sendrecv (const void * sendbuf , int sendcount , MPI_Datatype sendtype ,
27222745 int dest , int sendtag , void * recvbuf , int recvcount ,
27232746 MPI_Datatype recvtype , int source , int recvtag ,
@@ -3176,6 +3199,8 @@ OMPI_DECLSPEC int PMPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub)
31763199#define MPI_Type_ub (...) THIS_FUNCTION_WAS_REMOVED_IN_MPI30(MPI_Type_ub, MPI_Type_get_extent)
31773200#endif
31783201
3202+ #endif /* OMPI_NO_MPI_PROTOTYPES */
3203+
31793204#if defined(c_plusplus ) || defined(__cplusplus )
31803205 }
31813206#endif
0 commit comments