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-2703 whole-node #618

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions config/01-ce-router-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ JOB_ROUTER_USE_DEPRECATED_ROUTER_ENTRIES = False
#################################

JOB_ROUTER_PRE_ROUTE_TRANSFORM_NAMES = Base Cleanup OrigRequests
JOB_ROUTER_POST_ROUTE_TRANSFORM_NAMES = Cpus Gpus Memory Queue BatchRuntime CERequirements OnExitHold
JOB_ROUTER_POST_ROUTE_TRANSFORM_NAMES = WholeNode Cpus Gpus Memory Queue BatchRuntime CERequirements OnExitHold

JOB_ROUTER_TRANSFORM_Base @=jrt
# Always set the following routed job attributes
Expand Down Expand Up @@ -159,10 +159,15 @@ JOB_ROUTER_TRANSFORM_OrigRequests @=jrt
COPY environment orig_environment
# the BLAHP uses WholeNodes=true for the same thing that we use WantWholeNode=true
COPY WantWholeNode WholeNodes
@jrt


JOB_ROUTER_TRANSFORM_WholeNode @=jrt
# Support whole node job requests against HTCondor pools if the source job specifies 'WantWholeNode = True'
# 'if' can't handle complex expressions yet so we evaluate it here for use in post-transforms
EVALMACRO test_want_whole_node $(MY.WantWholeNode:False)
# 'if' can't handle complex expressions yet so we evaluate it here for use in later post-transforms
# This only works if submitting directly to the local schedd (i.e. not via
# the grid universe).
EVALMACRO test_want_whole_node $(MY.WantWholeNode:False) && $(TargetUniverse)==5
@jrt


Expand Down
Loading