diff --git a/config/01-ce-router-defaults.conf b/config/01-ce-router-defaults.conf index 2ca1070f2..bd19fd73f 100644 --- a/config/01-ce-router-defaults.conf +++ b/config/01-ce-router-defaults.conf @@ -175,7 +175,7 @@ JOB_ROUTER_TRANSFORM_Cpus @=jrt SET JobIsRunning (JobStatus =!= 1) && (JobStatus =!= 5) if $(test_want_whole_node) - SET JOB_GLIDEIN_Cpus "$$([TotalCpus ?: JobCpus])" + SET JOB_GLIDEIN_Cpus "$$([int(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 @@ -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 "$$([TotalGPUs ?: JobGPUs])" + SET JOB_GLIDEIN_GPUs "$$([int(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