You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On Windows platforms, hosts cannot pick up jobs due to available processors incorrect detection.
The following error is constantly raised:
CoreReservationFailureException: Not launching, insufficient hyperthreading cores to reserve based on frameCores (0 < 36)
Details:
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. It is actually only filled when on Linux.
**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 <dtavares@imageworks.com>
Co-authored-by: Diego Tavares <dtavares@imageworks.com>
Co-authored-by: Kern Attila GERMAIN <5556461+KernAttila@users.noreply.github.com>
Describe the bug
On Windows platforms, hosts cannot pick up jobs due to available processors incorrect detection.
The following error is constantly raised:
CoreReservationFailureException: Not launching, insufficient hyperthreading cores to reserve based on frameCores (0 < 36)
Details:
The
reserveHT
method of the RQDMachine
class relies on a__procs_by_physid_and_coreid
attribute that is not correctly filled when on a Windows platform. It is actually only filled when on Linux.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#L613To Reproduce
reserveHT
is skipped.Expected behavior
The job should be picked up without raising a
CoreReservationFailureException
error.Version Number
Spotted on
0.22.0
. But looking at the current state of master, it seems nothing has changed since.Additional context
Relates to #1171
A fix is already being addressed : #1468
The text was updated successfully, but these errors were encountered: