Draft: expose required Hydra PMI_FD handling for MANA checkpoint/restart - #491
Draft
alan-lira wants to merge 1 commit into
Draft
Draft: expose required Hydra PMI_FD handling for MANA checkpoint/restart#491alan-lira wants to merge 1 commit into
alan-lira wants to merge 1 commit into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #485
Why I am opening this draft in MANA
My complete multi-node MPICH/Hydra checkpoint/restart environment requires one additional condition in the DMTCP socket plugin bundled by MANA:
(getenv("PMI_FD"))Without this condition, the complete validated environment does not checkpoint/restart correctly. With the complete modified stack, repeated chained checkpoint/restart tests pass across multiple nodes and ranks.
I am reporting the requirement to MANA first because it is exposed by MANA's MPICH/Hydra workflow and because MANA selects the DMTCP revision used by its releases. At the same time, I do not want to propose a final dependency on my personal DMTCP fork or assume that MANA must permanently carry a downstream patch.
What this draft contains
This branch adds the exact DMTCP patch as a normal file under
contrib/dmtcp-patches, together with an idempotent helper that applies it to the checked-out submodule for local validation.The relevant source change is:
The PR deliberately does not:
.gitmodulesat my fork;What I am asking from the maintainers
I would appreciate guidance on which final path the project prefers:
I am prepared to follow whichever route is most maintainable for the project.
Reproduction and validation
The full validation environment covers:
MPI_Allreducecommunication;Results included with the submission:
Status
This is intentionally a draft proof-of-concept and ownership discussion. It makes the required source delta concrete and testable while leaving the final upstream/downstream decision to the maintainers.