salloc

Allocate Slurm cluster resources interactively

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

INSTALL

sudo apt install slurm-client

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.

SEE ALSO

srun(1), sbatch(1), squeue(1)