Skip to content

ch4/ofi: Always process window accumulate hints#7807

Open
raffenet wants to merge 1 commit into
pmodels:mainfrom
raffenet:rma-acc-hints
Open

ch4/ofi: Always process window accumulate hints#7807
raffenet wants to merge 1 commit into
pmodels:mainfrom
raffenet:rma-acc-hints

Conversation

@raffenet
Copy link
Copy Markdown
Contributor

@raffenet raffenet commented May 14, 2026

Pull Request Description

MPI_WIN_CREATE_DYNAMIC may attempt to register the whole virtual address space. When this fails, win_allgather exits early and skips over load_acc_hints. Later, after a collective MPI_WIN_ATTACH, processes may attempt accumulate operations. This results in a crash when querying the ops supported since the hints were never processed.

Always load the hints since it is a local operation on the control path (window construction). This was code can always safely access them later.

Author Checklist

  • Provide Description
    Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
  • Commits Follow Good Practice
    Commits are self-contained and do not do two things at once.
    Commit message is of the form: module: short description
    Commit message explains what's in the commit.
  • Passes All Tests
    Whitespace checker. Warnings test. Additional tests via comments.
  • Contribution Agreement
    For non-Argonne authors, check contribution agreement.
    If necessary, request an explicit comment from your companies PR approval manager.

MPI_WIN_CREATE_DYNAMIC may attempt to register the whole virtual
address space. When this fails, win_allgather exits early and skips
over load_acc_hints. Later, after a collective MPI_WIN_ATTACH,
processes may attempt accumulate operations. This results in a crash
when querying the ops supported since the hints were never processed.

Always load the hints since it is a local operation on the control
path (window construction). This was code can always safely access
them later.
@hzhou
Copy link
Copy Markdown
Contributor

hzhou commented May 14, 2026

test:mpich/ch4/most

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants