Skip to content
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

HTCONDOR-2193 gpu-reqs #592

Merged
merged 1 commit into from
Dec 20, 2023
Merged

HTCONDOR-2193 gpu-reqs #592

merged 1 commit into from
Dec 20, 2023

Conversation

JaimeFrey
Copy link
Member

Condor-C jobs won't have this check added automatically and startds that don't have GPU detection won't include a check. If we don't add a check here, then jobs with RequestGPUs set can end up running on machines with no GPUs when routed to a local HTCondor pool.

We only set Requirements if it's currently the literal value 'true'. We expect newer clients to start setting all of the automatic requirements clauses for Condor-C jobs, and we don't want to ignore those.

Condor-C jobs won't have this check added automatically and startds that
don't have GPU detection won't include a check. If we don't add a check
here, then jobs with RequestGPUs set can end up running on machines with
no GPUs when routed to a local HTCondor pool.

We only set Requirements if it's currently the literal value 'true'. We
expect newer clients to start setting all of the automatic requirements
clauses for Condor-C jobs, and we don't want to ignore those.
Copy link
Contributor

@johnkn johnkn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johnkn johnkn merged commit 450dcd9 into V23-branch Dec 20, 2023
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants