Skip to content

MPI_T_Events: but wait there is more!#13197

Merged
hppritcha merged 1 commit into
open-mpi:mainfrom
hppritcha:oops_missing_event_functions
Apr 21, 2025
Merged

MPI_T_Events: but wait there is more!#13197
hppritcha merged 1 commit into
open-mpi:mainfrom
hppritcha:oops_missing_event_functions

Conversation

@hppritcha

Copy link
Copy Markdown
Member

Turns out I forgot to run the pcvs checker when adding MPI_T event stubs in PR #13086 and missed a couple of events related functions. Also it looks like these were not included in PR #8057.

With this patch, the PCVS MPI API checker passes for MPI 4.0 standard.

The PCVS MPI API checker is described here https://dl.acm.org/doi/abs/10.1145/3615318.3615329

Turns out I forgot to run the pcvs checker when adding MPI_T event stubs
in PR open-mpi#13086 and missed a couple of events related functions.  Also it
looks like these were not included in PR open-mpi#8057.

With this patch, the PCVS MPI API checker passes for MPI 4.0 standard.

The PCVS MPI API checker is described here https://dl.acm.org/doi/abs/10.1145/3615318.3615329

Signed-off-by: Howard Pritchard <howardp@lanl.gov>

@jsquyres jsquyres left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we specify anywhere in the docs that the MPI_T implementation is currently a shell / will always return 0 events?


#include <mpi.h>

int MPI_T_category_get_events(int cat_index, int len, int indices[])

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to update this PR or #13179, depending on who merges first (i.e., generate the bindings that appear in the man pages).

@hppritcha

Copy link
Copy Markdown
Member Author

No we havent. Per discussion today we can first add a blurb to the relevant man Pages.

@hppritcha hppritcha merged commit f6fe1d4 into open-mpi:main Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants