Skip to content

[v6.0.x] Add missing functions to Fortran use_mpi interface - #14304

Merged
hppritcha merged 1 commit into
v6.0.xfrom
backport/pr-14219-to-v6.0.x
Aug 17, 2026
Merged

[v6.0.x] Add missing functions to Fortran use_mpi interface#14304
hppritcha merged 1 commit into
v6.0.xfrom
backport/pr-14219-to-v6.0.x

Conversation

@ompi-backport-bot

Copy link
Copy Markdown

Backport of #14219 to v6.0.x.


There's currently two closely related bugs.

The PMPI define for MPI_Status_set_elements is defined in pmpi-ignore-tkr-interfaces.h but the actual interface is in mpi-ignore-tkr-interfaces-generated.h.
Then, in mpi-ignore-tkr.F90 both are included in that order. This leads to the preprocessor overwriting MPI_Status_set_elements with the PMPI version, and the normal one is omitted entirely.
This is fixed by the first commit which just removes the superfluous define.

Then, for the functions in mpi-ignore-tkr-interfaces-generated.h, no PMPI interface versions are being generated at the moment, since the define in that header is unused.
In the second commit, I include that header again in mpi-ignore-tkr.F90 with the define to ensure the PMPI interfaces are in the final output.

I'm a bit unsure about the second commit, would be grateful for a deeper look.

MPI_Status_set_elements was not callable, and many PMPI versions were
missing entirely.

The MPI_{Comm/Session}_attach_buffer_FTS functions were also not
generated.

Signed-off-by: Yussur Mustafa Oraji <yussur.oraji@tu-darmstadt.de>
(cherry picked from commit dd8326a)
@ompi-backport-bot ompi-backport-bot Bot added the target:v6.0.x Backport targeting the v6.0.x branch label Aug 10, 2026
@github-actions github-actions Bot added this to the v6.0.0 milestone Aug 10, 2026
@hppritcha
hppritcha merged commit 85e2137 into v6.0.x Aug 17, 2026
19 checks passed
@hppritcha
hppritcha deleted the backport/pr-14219-to-v6.0.x branch August 17, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Target: v6.0.x target:v6.0.x Backport targeting the v6.0.x branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants