Skip to content
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

ch4: fix win_shared_query for single process #6996

Merged
merged 2 commits into from Apr 29, 2024
Merged

Conversation

hzhou
Copy link
Contributor

@hzhou hzhou commented Apr 26, 2024

Pull Request Description

It was missing the single process case when rank == MPI_PROC_NULL.

Fixes #6994
[skip warnings]

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.

Missing the single process case when rank == MPI_PROC_NULL.
Add test to cover the issue of query a single process window.
@hzhou
Copy link
Contributor Author

hzhou commented Apr 27, 2024

test:mpich/ch3/most
test:mpich/ch4/most

Tests clean other than a known fail in ch4-ofi and osx down in ch3.

@hzhou hzhou requested a review from raffenet April 29, 2024 15:39
@hzhou hzhou merged commit 4e47dc6 into pmodels:main Apr 29, 2024
5 of 8 checks passed
@hzhou hzhou deleted the 2404_win_query branch April 29, 2024 15:56
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.

MPI_Win_shared_query give nullpointer with 1 process
2 participants