Skip to content

Commit 7433fe5

Browse files
committed
fix Psend_init per MPI errata
Signed-off-by: Jeff Hammond <[email protected]>
1 parent 611cd30 commit 7433fe5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mpi.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,8 @@ int MPI_Pready_list(int length, const int array_of_partitions[], MPI_Request req
954954
int MPI_Pready_range(int partition_low, int partition_high, MPI_Request request);
955955
int MPI_Precv_init(void *buf, int partitions, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request);
956956
int MPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status *status);
957-
int MPI_Psend_init(const void *buf, int partitions, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request);
957+
int MPI_Psend_init(const void *buf, int partitions, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request);
958+
int MPI_Psend_init_c(const void *buf, int partitions, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request);
958959
int MPI_Publish_name(const char *service_name, MPI_Info info, const char *port_name);
959960
int MPI_Put(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win);
960961
int MPI_Put_c(const void *origin_addr, MPI_Count origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, MPI_Count target_count, MPI_Datatype target_datatype, MPI_Win win);
@@ -1624,7 +1625,8 @@ int PMPI_Pready_list(int length, const int array_of_partitions[], MPI_Request re
16241625
int PMPI_Pready_range(int partition_low, int partition_high, MPI_Request request);
16251626
int PMPI_Precv_init(void *buf, int partitions, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request);
16261627
int PMPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status *status);
1627-
int PMPI_Psend_init(const void *buf, int partitions, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request);
1628+
int PMPI_Psend_init(const void *buf, int partitions, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request);
1629+
int PMPI_Psend_init_c(const void *buf, int partitions, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request);
16281630
int PMPI_Publish_name(const char *service_name, MPI_Info info, const char *port_name);
16291631
int PMPI_Put(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win);
16301632
int PMPI_Put_c(const void *origin_addr, MPI_Count origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, MPI_Count target_count, MPI_Datatype target_datatype, MPI_Win win);

0 commit comments

Comments
 (0)