CmdID

CmdID / Commands

srun

Run a command under the Slurm workload manager. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run a simple command interactively

srun hostnameIdentify

Run a job with 4 tasks (CPUs)

srun --ntasks 4 path/to/programIdentify

Allocate 8 GB of memory

srun --mem 8G path/to/programIdentify

Run a job on a specific partition

srun --partition gpu path/to/programIdentify

Run a job and save the output to a file

srun path/to/program >path/to/outputIdentify

Create an interactive slurm job or connect to an existing job.

Submit a basic interactive job

srun --pty /bin/bashIdentify

Submit an interactive job with different attributes

srun --ntasks-per-node num_cores --mem-per-cpu memory_MB --pty /bin/bashIdentify

Connect to a worker node with a job running

srun --jobid job_id --pty /bin/bashIdentify