Whole-Node Jobs

Request: +WantWholeNode = true
Availability: limited subset of worker nodes only

A whole-node job gets an entire worker node to itself: all of its CPU cores, all of its advertised memory, and its full available disk space. No other job – from any user – will run on that node while a whole-node job is running there. This is intended for applications that genuinely need an entire machine’s resources at once (e.g. multi-process workloads that don’t fit the normal per-core scheduling model), not as a way to get more cores or memory for an otherwise ordinary job.

To request a whole node, add the following line to your job_submission_file:

+WantWholeNode = true

Do not set request_cpus, request_memory, or request_disk yourself – the batch system overrides these automatically to match the whole node your job lands on, so any value you set would be ignored anyway.

A minimal example:

universe                = vanilla
executable              = whole_node_job.sh
should_transfer_files   = yes
when_to_transfer_output = on_exit
output                  = whole_node_job.out
error                   = whole_node_job.err
log                     = whole_node_job.log
+WantWholeNode          = true
queue

Only a limited, rotating subset of worker nodes is eligible to run whole-node jobs at any given time, so a whole-node job will typically not start immediately. The batch system first needs to drain an eligible node of its current jobs before your job can start there – depending on what else is running, this can take anywhere from a few minutes up to a few days. Please take this into account and only request a whole node when your workload genuinely requires it.

You can check whether your job has been assigned a node and is running with the usual condor_q, and see which worker nodes currently accept whole-node jobs with:

condor_status -constraint 'WholeNodeEligible is true' -af Machine WholeNode Cpus TotalCpus
Přejít nahoru