| Summary: | Open MPI launch fails when user selects version | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Greg Watson <g.watson> |
| Component: | RM.Open MPI | Assignee: | Greg Watson <g.watson> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Greg Watson
Yes, it does look like a bug. However, I'm a bit puzzled by what the code in the EffectiveOpenMPIResourceManagerConfiguration constructor is for, as the values seem to be already be set in OpenMPIConfigurationWizardPage#handleVersionSelected. Committing a simpler patch. I'm less sure about the change to setVersionId(). From what I can tell, the discover command is always run regardless of the auto setting, and the major/minor versions will always be updated with the discovered values. The only difference I can see between the auto setting and selecting a version is that in the latter case if the version doesn't match the detected version, an error dialog will be displayed. (In reply to comment #1) > Yes, it does look like a bug. However, I'm a bit puzzled by what the code in the > EffectiveOpenMPIResourceManagerConfiguration constructor is for, as the values > seem to be already be set in > OpenMPIConfigurationWizardPage#handleVersionSelected. Committing a simpler > patch. On further examination, it looks like OpenMPIConfigurationWizardPage#handleVersionSelected only sets the defaults for each version. The constructor for EffectiveOpenMPIResourceManagerConfiguration needs to check the detected version and select the correct commands for that version. Committed fix. |