Skip to content

add support for request_get_status_any/all/some #13279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

edgargabriel
Copy link
Member

Add support for the new MPI_Request_get_status_any/all/some functions introduced with MPI 4.1

This PR contains the C implementation for the functions as well as the man-pages.
There are however also some things missing:

  • in the C code generation python scripts, we need to introduce the ability to create const MPI_Request[], (I have currently removed the const from the function definitions in mpi.h.in in order to make the code compile).
  • Fortran interfaces

@edgargabriel edgargabriel force-pushed the topic/request-status-mult branch from d233c73 to 723b84e Compare May 26, 2025 20:46
@jsquyres jsquyres moved this to In Progress in MPI 4.1 compliance May 26, 2025
@jsquyres jsquyres marked this pull request as draft May 26, 2025 20:47
@hppritcha
Copy link
Member

Let me know if you want help with the python binding infrastructure.

@edgargabriel
Copy link
Member Author

Let me know if you want help with the python binding infrastructure.

@hppritcha yes, I would appreciate some help on that front (and the same applies for the fortran bindings, even if its just a conversation that I understand what needs to be done).

@jsquyres jsquyres added this to the v6.0.0 milestone May 27, 2025
@edgargabriel edgargabriel force-pushed the topic/request-status-mult branch from 723b84e to efd9cf5 Compare May 27, 2025 13:30
add the man pages for the newly implemented MPI_Request_get_status_all/any/some functions.

Signed-off-by: Edgar Gabriel <[email protected]>
@edgargabriel edgargabriel force-pushed the topic/request-status-mult branch from efd9cf5 to f21dff7 Compare May 27, 2025 13:32
Three new functions were added to the MPI API as part of the 4.1 standard.
These used an array of const MPI_Request s which the bindings code
didn't support.

This commit also fixes back the mpi.h prototypes to include the constants
and required changes to the new template files.

Signed-off-by: Howard Pritchard <[email protected]>
@hppritcha
Copy link
Member

@edgargabriel added new data type to the bindings code to add this new use of const MPI_Request reqs[] in the standard.

@hppritcha
Copy link
Member

I'll work on the fortran but that will have to wait till later in the week.

@hppritcha
Copy link
Member

note that mpi4py is probably not testing this since it keys off our MPI_Get_version return values for major/minor.
@edgargabriel have you tested mpi4py with VERSION faked to return 4.1?

@edgargabriel
Copy link
Member Author

@hppritcha thank you very much, I will test it later this week. I have not done the mpi4py test that you mentioned, will look into this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants