-
Notifications
You must be signed in to change notification settings - Fork 900
oob/tcp: add cross version compatibility support #6157
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
oob/tcp: add cross version compatibility support #6157
Conversation
Since we intend to provide cross version compatibility between versions with the same major and minor, use MAJOR.MINOR.0 instead of orte_version_string (e.g. MAJOR.MINOR.RELEASEGREEK). Open MPI 4.0.0 has already been released, so in order to make it compatible with future 4.0.x releases, we have to use 4.0.0 as the version string, that is why we use MAJOR.MINOR.0 instead of MAJOR.MINOR Signed-off-by: Gilles Gouaillardet <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good.
Does the same change need to be made for the 'alps' component?
I think this change is fine. My concern is the buy in from the OMPI community to maintain this cross version commitment. I don't think that it would be difficult within a major+minor release series, but I would like to see some testing to make sure nothing sneaks in.
Just a suggestion. You have the actual version string there, so why not just check for it starting with "4.0", and then know that you have to use the entire string for that one case? You could check for major number -> if it is 4, then check for minor -> if it is 0, then check the release for 0. |
@jjhursey I could not find any version string being used in the I am not sure of what vendor MPI are sending through the wire @rhc54 my understanding is that both ends of an
|
@ggouaillardet You missed my point, but I likely didn't clearly explain it. Check out the handshake procedure. The This, of course, only solves the problem where Up to you - just pointing out that you have adequate info and controls to solve it. |
@rhc54 thanks ! I obviously missed the part when @jjhursey did you get a chance to discuss this topic at the telcon ? |
I had to miss the telecon this week. I can bring it up next week. |
@hppritcha I marked this as a blocker since Bottom line, if we want cross-compatibility between If we do not care about cross-compatibility, then please remove the blocker label. |
For purposes of clarification, the alps oob is essentially a do nothing for the case of native launch with alps aprun or slurm srun, so no impact of this PR on alps. |
closing because we're looking for a better long term fix on master. |
Since we intend to provide cross version compatibility
between versions with the same major and minor, use
MAJOR.MINOR.0 instead of orte_version_string
(e.g. MAJOR.MINOR.RELEASEGREEK).
Open MPI 4.0.0 has already been released, so in order to make
it compatible with future 4.0.x releases, we have to use 4.0.0
as the version string, that is why we use MAJOR.MINOR.0 instead
of MAJOR.MINOR
Signed-off-by: Gilles Gouaillardet [email protected]