Skip to content

Commit

Permalink
HTCONDOR-2371 Fix RequestMemory for whole-node jobs in new route syntax
Browse files Browse the repository at this point in the history
The old expression would evaluate to Undefined for grid universe jobs,
leading to no memory request being passed to the blahp.
  • Loading branch information
JaimeFrey committed Apr 5, 2024
1 parent 729edd2 commit 2a4ed8c
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 @@ -242,7 +242,7 @@ JOB_ROUTER_TRANSFORM_Memory @=jrt
COPY RequestMemory OriginalMemory
COPY RequestMemory remote_OriginalMemory
SET JobMemory JobIsRunning ? int(MATCH_EXP_JOB_GLIDEIN_Memory)*95/100 : OriginalMemory
SET RequestMemory TARGET.TotalMemory ? TotalMemory*95/100 : JobMemory
SET RequestMemory TARGET.TotalMemory*95/100 ?: JobMemory
endif

@jrt
Expand Down

0 comments on commit 2a4ed8c

Please sign in to comment.