-
Notifications
You must be signed in to change notification settings - Fork 868
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 finding "prte" for singleton comm_spawn #12390
Conversation
We don't have a way of putting a time limit on how long a PR can be posted, so I'll just put one here by comment. I'll close this PR out on Mar 11 if not committed by then. |
@jsquyres did you add the suggested strdup? I don't see it in the diff. |
Copy the search code from mpirun to use when starting "prte" in support of comm_spawn. This respects things like OPAL_PREFIX. Signed-off-by: Ralph Castain <rhc@pmix.org>
Wow; I goofed there. I think I fixed it; have a look. |
I had no spare time to actually test the patch, but the code looks totally good. I'm still concerned about a the use of |
Here's my $0.02:
Then I think we should merge it and file an issue with the remaining case(s) that need to be fixed (pointing back to the original issue and pair of PRs so that all the history / context / discussion is preserved, etc.). |
Wow, that's quite a comment. If true, my apologies - not my intent. I was simply trying to say that while I understand your point, the fact is that we have decided to go a different route. No point in continually arguing a point that we simply decided against following. Not every recommendation or concern can be addressed - sometimes, the answer is just "thanks, but no". |
@jsquyres You want me to update this branch and squash it? |
No matter how polite you pretended to be, I took this comment #12363 (comment) as an explicit request to shut up. No problem at all, really, it's your prerogative and I'm not a snowflake. Just don't get surprised if people dislike you way to approach discussions.
I don't think you understood my point, not at all. And rather than trying, or asking for clarification, you just told me shutting me down. I'm going to write here, once again, what is my concern, which is mostly about aesthetics, consistency, symmetry, and usability. Although often dismissed, attention to detail prevent bugs and surprises, so I consider my addmitedly annoying insistence worthwhile.
I ask again: I'm getting all this wrong? To add to my confussion, |
Sorry, I'll not be able to test this today. I'll do my best to leave a note tomorrow with a confirmation. |
@dalcinl Ok, thanks. Please let us know how the test goes. I think the root issue here is that we probably named the environment variable poorly: it probably really shouldn't have been named
Note that I also talked to @bosilca (on the phone): we did clear up something. He was thinking that this PR would set |
I should point out that @rhc54 and I chatted on the phone about this for a while this afternoon. My comment above represents the results of that discussion. |
As per my local testing, things seem to be working OK when setting
but that is probably unrelated. I tried to NOT set |
I think this assert is fixed by this - openpmix/prrte#1929 |
@jsquyres per the 1-2-3 steps you outlined above i will merge this PR as step 1. I will open an issue for step 2 hopefully today but more likely tomorrow. |
@jsquyres do you think we should still do number two item above? maybe specific to v5.0.x? |
Copy the search code from mpirun to use when starting "prte" in support of comm_spawn. This respects things like OPAL_PREFIX.