← 返回命令列表

Linux command

salloc 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

salloc

Execute command

salloc ls --all

Example

salloc -C "(amd|intel)&gpu"

说明

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.

参数

-C, --constraint _expr_
Node feature constraints

FAQ

What is the salloc command used for?

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.

How do I run a basic salloc example?

Run `salloc` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -C, --constraint _expr_ do in salloc?

Node feature constraints