salloc
TLDR
Start an interactive shell on a cluster node
$ salloc
Execute command on a cluster node$ salloc ls --all
Allocate nodes with constraints$ salloc -C "(amd|intel)&gpu"
SYNOPSIS
salloc [options] [command]
DESCRIPTION
salloc allocates resources from a Slurm cluster and starts an interactive shell or executes a specified command. It waits for resources to become available before starting.
Constraints can specify required node features like CPU type, GPU availability, or memory configuration.
PARAMETERS
-C, --constraint expr
Node feature constraints
CAVEATS
Resources are held until the shell exits or command completes. Allocation time depends on cluster load and requested resources.
HISTORY
Part of Slurm workload manager, providing interactive resource allocation for HPC clusters.


