-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RQD] Fix core detection on Windows platforms (#1468)
**Link the Issue(s) this Pull Request is related to.** #1469 **Summarize your change.** Fix an error on Windows platforms where a submitted job could not be picked up properly due to available processors incorrect detection. The `reserveHT` method of the RQD `Machine` class relies on a `__procs_by_physid_and_coreid` attribute that is not correctly filled when on a Windows platform. See: - `reserveHT` relying on `__procs_by_physid_and_coreid`: https://github.com/AcademySoftwareFoundation/OpenCue/blob/master/rqd/rqd/rqmachine.py#L842 - `__procs_by_physid_and_coreid` being filled only if on a Linux platform: https://github.com/AcademySoftwareFoundation/OpenCue/blob/master/rqd/rqd/rqmachine.py#L613 --------- Signed-off-by: Diego Tavares <[email protected]> Co-authored-by: Diego Tavares <[email protected]> Co-authored-by: Kern Attila GERMAIN <[email protected]>
- Loading branch information
1 parent
471bc0f
commit eb494e7
Showing
2 changed files
with
63 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters