Slurm constraints
Constraints allow users to make very specific requests to the scheduler such as requesting a specific CPU vendor or architecture features (e.g. AVX512).
To request a constraint, you must add the following line to your submit script:
#SBATCH --constraint=<feature_name>
Constraints are not needed by default and are intended only for advanced users who want to restrict the nodes when multiple architecture types belong to the same partition.
Cluster |
Partitions |
Feature |
Description |
---|---|---|---|
TinkerCliffs |
normal_q, preemptable_q |
amd |
Select only nodes with AMD CPUs |
TinkerCliffs |
normal_q, preemptable_q |
intel |
Select only nodes with Intel CPUs |
TinkerCliffs |
normal_q, preemptable_q |
avx512 |
Select only nodes with AVX512 |
TinkerCliffs |
a100_normal_q, a100_preemptable_q |
hpe-A100 |
Select only HPE nodes with A100 GPUs |
TinkerCliffs |
a100_normal_q, a100_preemptable_q |
dgx-A100 |
Select only DGX nodes with A100 GPUs |
Owl |
normal_q, preemptable_q |
avx512 |
Select only nodes with AVX512 |
To request multiple features/constraints, you must add the following line to your script using one of the following operators below:
Function |
Symbol |
Example |
---|---|---|
AND |
& (ampersand) |
|
OR |
| (pipe) |
|