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

Use the PMIx functions to check params #21

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

hppritcha
Copy link
Member

Break the multi-loop thru loading of param files
that caused us to overwrite values. Defer to the
PMIx pmdl components for obtaining envars and for
checking MCA param overlaps across projects.

Break the multi-loop thru loading of param files
that caused us to overwrite values. Defer to the
PMIx pmdl components for obtaining envars and for
checking MCA param overlaps across projects.

Signed-off-by: Ralph Castain <[email protected]>
@@ -2062,15 +1837,15 @@ static int detect_proxy(char *personalities)
/* this is a list of personalities we need to check -
* if it contains "ompi", then we are available */
if (NULL != strstr(personalities, "ompi")) {
return translate_params();
return 100;
Copy link

Choose a reason for hiding this comment

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

Why a hardocded value? Is this a priority value?

Copy link

Choose a reason for hiding this comment

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

I'm guessing since these are ported over commits, you just leave things unchanged from how they are in the main prrte repo.

Copy link

Choose a reason for hiding this comment

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

Why a hardocded value? Is this a priority value?

Yes, it is - the max value means "pick me!"

@hppritcha hppritcha merged commit 41014c1 into open-mpi:master Sep 30, 2024
11 checks passed
@rhc54
Copy link

rhc54 commented Sep 30, 2024

Please note that you also require a newer version of PMIx that includes openpmix@a68d647 so it correctly parses the params. I have not made that a configure-level requirement because it is effectively a bug fix - you can operate without it, but may encounter an error depending on usage.

@hppritcha
Copy link
Member Author

I'm not sure the commit you're referencing is the right one. Which Openpmix is the one needed?

@rhc54
Copy link

rhc54 commented Sep 30, 2024

No, that is the correct reference. You just need a PMIx hash at that point or beyond. Not in an official release yet.

@hppritcha
Copy link
Member Author

Please note that you also require a newer version of PMIx that includes https://github.com/openpmix/prrte/commit/a68d6470117558d4b2610d44fccb5df11cb67b38 so it correctly parses the params. I have not made that a configure-level requirement because it is effectively a bug fix - you can operate without it, but may encounter an error depending on usage.

that's not a openpmix commit but a prrte one

@rhc54
Copy link

rhc54 commented Sep 30, 2024

Ah crud - sorry for the confusion! openpmix/openpmix@2ef7524

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.

3 participants