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

Fix spawn functionality with pmi2 #5849

Merged
merged 6 commits into from
Feb 18, 2022
Merged

Conversation

raffenet
Copy link
Contributor

@raffenet raffenet commented Feb 15, 2022

Pull Request Description

Fixes in ch3, hydra, and simple pmi2. test/mpi/spawn should now pass in the --with-pmi=pmi2/simple configuration.

TODO: add support for PMI2_Job_Spawn in src/util/mpir_pmi.c.

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.

@raffenet raffenet force-pushed the pmi2-spawn branch 2 times, most recently from 3e08da7 to 0740b0e Compare February 15, 2022 20:11
@raffenet
Copy link
Contributor Author

test:mpich/pmi

3 similar comments
@raffenet
Copy link
Contributor Author

test:mpich/pmi

@raffenet
Copy link
Contributor Author

test:mpich/pmi

@raffenet
Copy link
Contributor Author

test:mpich/pmi

@raffenet
Copy link
Contributor Author

test:mpich/pmi

Use the correct key (PORT_KEY) to search the lookup response message.
appnum was always hardcoded to 0 in the PMI2_Init response. Get the
information out of the executable list and return it like in pmi1.
This causes a compile error if not using pmi1.
This value is used in a couple different places in the device. Define it
once in a header instead of in multiple files. Fixes a compile error
with ch3:sock + pmi2.
@raffenet
Copy link
Contributor Author

test:mpich/pmi

1 similar comment
@raffenet
Copy link
Contributor Author

test:mpich/pmi

@raffenet
Copy link
Contributor Author

test:mpich/pmi

Eliminate duplicate code already present in the MPIR layer.
@raffenet
Copy link
Contributor Author

test:mpich/pmi

1 similar comment
@raffenet
Copy link
Contributor Author

test:mpich/pmi

Copy link
Contributor

@hzhou hzhou left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants