[RQD] Fix core detection on Windows platforms#1468
Conversation
9e79b17 to
d8e4190
Compare
d8e4190 to
ddeb921
Compare
DiegoTavares
left a comment
There was a problem hiding this comment.
Just minor comments. Everything else looks good to me.
|
Hi @anton-ubi If I'm not mistaken, this is your first contribution. Welcome to the project. Please sign the CLA to get the pipeline unblocked. |
Yes it is. Thank you. I'll look into that. |
Co-authored-by: Kern Attila GERMAIN <5556461+KernAttila@users.noreply.github.com> Signed-off-by: Diego Tavares <dtavares@imageworks.com>
Signed-off-by: Diego Tavares <dtavares@imageworks.com>
|
There are still some lint errors to be fixed before we can merge this PR |
|
@anton-ubi I'm in the process of implementing a proper core detection mechanism for Windows without dependency to WMI. |
|
[celebrate] Anton Brand reacted to your message:
…________________________________
From: Diego Tavares ***@***.***>
Sent: Wednesday, December 4, 2024 7:07:01 PM
To: AcademySoftwareFoundation/OpenCue ***@***.***>
Cc: Anton Brand ***@***.***>; Mention ***@***.***>
Subject: Re: [AcademySoftwareFoundation/OpenCue] [RQD] Fix core detection on Windows platforms (PR #1468)
Merged #1468<#1468> into master.
—
Reply to this email directly, view it on GitHub<#1468 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BDAVROHCNVHCZFVEEOIVYY32D5HFLAVCNFSM6AAAAABMQZ32VWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGUZTCMRTGYYDKNQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
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
reserveHTmethod of the RQDMachineclass relies on a__procs_by_physid_and_coreidattribute that is not correctly filled when on a Windows platform.See:
reserveHTrelying on__procs_by_physid_and_coreid: https://github.com/AcademySoftwareFoundation/OpenCue/blob/master/rqd/rqd/rqmachine.py#L842__procs_by_physid_and_coreidbeing filled only if on a Linux platform: https://github.com/AcademySoftwareFoundation/OpenCue/blob/master/rqd/rqd/rqmachine.py#L613