Skip to content

Commit 47ab2fc

Browse files
committed
man: fix MPI_Neighbor_alltoall{v,w} prototypes
Thanks Willem Vermin for bringing this to our attention
1 parent 700a210 commit 47ab2fc

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

ompi/mpi/man/man3/MPI_Neighbor_alltoallv.3in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
.nf
1616
#include <mpi.h>
1717
int MPI_Neighbor_alltoallv(const void *\fIsendbuf\fP, const int \fIsendcounts\fP[],
18-
const int \fIsdispls\f[]P, MPI_Datatype \fIsendtype\fP,
18+
const int \fIsdispls\fP[], MPI_Datatype \fIsendtype\fP,
1919
void *\fIrecvbuf\fP, const int\fI recvcounts\fP[],
2020
const int \fIrdispls\fP[], MPI_Datatype \fIrecvtype\fP, MPI_Comm \fIcomm\fP)
2121

2222
int MPI_Ineighbor_alltoallv(const void *\fIsendbuf\fP, const int \fIsendcounts\fP[],
23-
const int \fIsdispls\f[]P, MPI_Datatype \fIsendtype\fP,
23+
const int \fIsdispls\fP[], MPI_Datatype \fIsendtype\fP,
2424
void *\fIrecvbuf\fP, const int\fI recvcounts\fP[],
2525
const int \fIrdispls\fP[], MPI_Datatype \fIrecvtype\fP, MPI_Comm \fIcomm\fP,
26-
MPI_Request \fI*request\fP)
26+
MPI_Request \fI*request\fP)
2727

2828
.fi
2929
.SH Fortran Syntax

ompi/mpi/man/man3/MPI_Neighbor_alltoallw.3in

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
.nf
1717
#include <mpi.h>
1818
int MPI_Neighbor_alltoallw(const void *\fIsendbuf\fP, const int \fIsendcounts\fP[],
19-
const int \fIsdispls\fP[], const MPI_Datatype \fIsendtypes\fP[],
20-
void *\fIrecvbuf\fP, const int \fIrecvcounts\fP[], const int \fIrdispls\fP[],
21-
const MPI_Datatype \fIrecvtypes\fP[], MPI_Comm \fIcomm\fP)
19+
const MPI_Aint \fIsdispls\fP[], const MPI_Datatype \fIsendtypes\fP[],
20+
void *\fIrecvbuf\fP, const int \fIrecvcounts\fP[], const MPI_Aint \fIrdispls\fP[],
21+
const MPI_Datatype \fIrecvtypes\fP[], MPI_Comm \fIcomm\fP)
2222

2323
int MPI_Ineighbor_alltoallw(const void *\fIsendbuf\fP, const int \fIsendcounts\fP[],
24-
const int \fIsdispls\fP[], const MPI_Datatype \fIsendtypes\fP[],
25-
void *\fIrecvbuf\fP, const int \fIrecvcounts\fP[], const int \fIrdispls\fP[],
26-
const MPI_Datatype \fIrecvtypes\fP[], MPI_Comm \fIcomm\fP, MPI_Request \fI*request\fP)
24+
const MPI_Aint \fIsdispls\fP[], const MPI_Datatype \fIsendtypes\fP[],
25+
void *\fIrecvbuf\fP, const int \fIrecvcounts\fP[], const MPI_Aint \fIrdispls\fP[],
26+
const MPI_Datatype \fIrecvtypes\fP[], MPI_Comm \fIcomm\fP, MPI_Request \fI*request\fP)
2727

2828
.fi
2929
.SH Fortran Syntax
@@ -34,16 +34,18 @@ MPI_NEIGHBOR_ALLTOALLW(\fISENDBUF, SENDCOUNTS, SDISPLS, SENDTYPES,
3434
RECVBUF, RECVCOUNTS, RDISPLS, RECVTYPES, COMM, IERROR\fP)
3535

3636
<type> \fISENDBUF(*), RECVBUF(*)\fP
37-
INTEGER \fISENDCOUNTS(*), SDISPLS(*), SENDTYPES(*)\fP
38-
INTEGER \fIRECVCOUNTS(*), RDISPLS(*), RECVTYPES(*)\fP
37+
INTEGER \fISENDCOUNTS(*), SENDTYPES(*)\fP
38+
INTEGER \fIRECVCOUNTS(*), RECVTYPES(*)\fP
39+
INTEGER(KIND=MPI_ADDRESS_KIND) \fISDISPLS(*), RDISPLS(*)\fP
3940
INTEGER \fICOMM, IERROR\fP
4041

4142
MPI_INEIGHBOR_ALLTOALLW(\fISENDBUF, SENDCOUNTS, SDISPLS, SENDTYPES,
4243
RECVBUF, RECVCOUNTS, RDISPLS, RECVTYPES, COMM, REQUEST, IERROR\fP)
4344

4445
<type> \fISENDBUF(*), RECVBUF(*)\fP
45-
INTEGER \fISENDCOUNTS(*), SDISPLS(*), SENDTYPES(*)\fP
46-
INTEGER \fIRECVCOUNTS(*), RDISPLS(*), RECVTYPES(*)\fP
46+
INTEGER \fISENDCOUNTS(*), SENDTYPES(*)\fP
47+
INTEGER \fIRECVCOUNTS(*), RECVTYPES(*)\fP
48+
INTEGER(KIND=MPI_ADDRESS_KIND) \fISDISPLS(*), RDISPLS(*)\fP
4749
INTEGER \fICOMM, REQUEST, IERROR\fP
4850

4951
.fi

0 commit comments

Comments
 (0)