Skip to content

Commit

Permalink
Merge pull request #604 from JaimeFrey/V23-HTCONDOR-2501-whole-node-gpus
Browse files Browse the repository at this point in the history
HTCONDOR-2501 Fix whole-node gpu routing to work with non-condor systems
  • Loading branch information
JaimeFrey authored Jun 14, 2024
2 parents 80ae54b + 415ff16 commit 7bd6614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/01-ce-router-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ JOB_ROUTER_TRANSFORM_Gpus @=jrt
SET GlideinGPUsIsGood int(MATCH_EXP_JOB_GLIDEIN_GPUs ?: "0") isnt error
COPY RequestGPUs OriginalGPUs
SET JobGPUs JobIsRunning ? int(MATCH_EXP_JOB_GLIDEIN_GPUs) : OriginalGPUs
SET RequestGPUs (TARGET.TotalGPUs > 0) ? TotalGPUs: JobGPUs
SET RequestGPUs ((TARGET.TotalGPUs ?: 0) > 0) ? TotalGPUs: JobGPUs
endif
@jrt

Expand Down

0 comments on commit 7bd6614

Please sign in to comment.