Make '-x' a PRTE personality CLI option#813
Conversation
|
|
@acolinisi This should fix the problem you were working on in PR #795 |
|
Some documentation on expected behavior. I'll add something to the man page with this PR, but want to preview it here in case there are any objections. I was working towards behavior parity with Open MPI v4.1.x. The PRRTE output below represents the current behavior in this branch without having to specify the personality. I'm working on the Open MPI v4.1.xDefault: Do not forward envars (except for MCA) Forward version from environment (warn if not present) Allow command line to override the environment If multiple '-x' options match the same parameter then the last takes precedence PRRTE masterDefault: Do not forward envars (except for MCA) Forward version from environment (warn if not present) Allow command line to override the environment If multiple '-x' options match the same parameter then the last takes precedence Different rule for MCA parameters Note that the below is redundant since we automatically forward MCA parameters |
* Fixes openpmix#801 Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
|
This also works correctly with |
rhc54
left a comment
There was a problem hiding this comment.
This looks fine - thanks for doing it!
prun should not require the prte personality - even though it doesn't call prte_init, it is still a PRRTE tool.
We will probably have to do something about -x in the OMPI personality as there is some cross-talk between it and the --tune option. Can look at that as a separate problem.
This will conflict with my schizo refactor branch (where I fully separate out the command lines), but I'll take care of it once this is merged.
Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
|
I think this is ready now. I just pushed a clarification to the man page - no code changes since Ralph's review. The |
|
I was afraid of this - the OMPI cmd line parsing wrt envars is a horrid mess, and this change broke the expected behavior for Mellanox: I'll restore the original |
|
Wow. OMPI v5 is a good time for them to fix that, but that's for them to discuss. As long as we preserve the |
|
Yeah, I can preserve it. What I'm doing is ensuring that only one schizo component gets to define and parse the cmd line. That way OMPI can do whatever the heck it wants without worries about cross-talk with PRRTE, and vice-versa. It's the only solution I could come up with. I've had the argument about all this envar/tune crud - not worth revisiting. There is too much history already out there that would break if we force the required changes. |
|
Ref: #413 |

-xa core prte CLI option #801-xhandling from theompipersonality to theprtepersonality