ompi icon indicating copy to clipboard operation
ompi copied to clipboard

MPI_Parrived has wrong signature in mpi.h

Open jprotze opened this issue 3 years ago • 1 comments

Background information

What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)

v5.0.0rc7 and git/main

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

Independent of installation. The problem is in the public API header

Please describe the system on which you are running

Independent of system. The problem is in the public API header


Details of the problem

The mpi.h header defines MPI_Parrived with MPI_Count partition: https://github.com/open-mpi/ompi/blob/main/ompi/include/mpi.h.in#L1857

The MPI standard and also OpenMPI doc defines MPI_Parrived with int partition: https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Parrived.3.html

jprotze avatar Sep 21 '22 11:09 jprotze

Excellent catch; thank you!

I've filed #10831 to fix main; will cherry-pick it to v5.0.x when that PR is merged.

jsquyres avatar Sep 21 '22 18:09 jsquyres

PRs have been merged:

  • main https://github.com/open-mpi/ompi/pull/10831
  • v5.0.x https://github.com/open-mpi/ompi/pull/10839

jjhursey avatar Oct 10 '22 19:10 jjhursey