Skip to content

Commit

Permalink
Merge pull request #534 from htcondor/v5-HTCONDOR-1016-branch
Browse files Browse the repository at this point in the history
HTCONDOR-1016 remove incorrect MY. from $$ expression
  • Loading branch information
timtheisen authored Mar 23, 2022
2 parents b9796db + 770e3c9 commit c4c307c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/01-ce-router-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ JOB_ROUTER_TRANSFORM_Cpus @=jrt
SET JobIsRunning (JobStatus =!= 1) && (JobStatus =!= 5)

if $(test_want_whole_node)
SET JOB_GLIDEIN_Cpus "$$([MY.TotalCpus ?: JobCpus])"
SET JOB_GLIDEIN_Cpus "$$([TotalCpus ?: JobCpus])"
# MATCH_EXP_JOB_GLIDEIN_Cpus is based on the value of JOB_GLIDEIN_Cpus once the routed job is matched to an
# HTCondor slot
SET GlideinCpusIsGood int(MATCH_EXP_JOB_GLIDEIN_Cpus ?: "0") isnt error
Expand All @@ -196,7 +196,7 @@ JOB_ROUTER_TRANSFORM_Gpus @=jrt
# GPUs on that machine
REQUIREMENTS RequestGpus isnt undefined
if $(test_want_whole_node)
SET JOB_GLIDEIN_GPUs "$$([MY.TotalGPUs ?: JobGPUs])"
SET JOB_GLIDEIN_GPUs "$$([TotalGPUs ?: JobGPUs])"
# MATCH_EXP_JOB_GLIDEIN_GPUs is based on the value of JOB_GLIDEIN_GPUs once the routed job is matched to an
# HTCondor slot
SET GlideinGPUsIsGood int(MATCH_EXP_JOB_GLIDEIN_GPUs ?: "0") isnt error
Expand Down

0 comments on commit c4c307c

Please sign in to comment.