srun
Verified for current stable LTS
Srun Command: Submit Interactive Job With Attributes
Use for submit interactive job with attributes with Srun. Exact CLI syntax to submit interactive job with attributes using Srun.
When to use this: Use for submit interactive job with attributes with Srun.
Command Syntax
srun --ntasks-per-node <num_cores> --mem-per-cpu <memory_MB> --pty /bin/bash srun --ntasks-per-node <num_cores> --mem-per-cpu <memory_MB> --pty /bin/bash Live Command Builder
Final Command
srun --ntasks-per-node <num_cores> --mem-per-cpu <memory_MB> --pty /bin/bash Command Breakdown
--ntasks-per-node- Command Option
- Tool-specific option used by this command invocation.
--mem-per-cpu- Command Option
- Tool-specific option used by this command invocation.
--pty- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to submit interactive job with attributes using Srun.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Srun Command: Allocate Memory For Job
srun --mem 8G <path/to/program> Srun Command: Connect To Worker Node With Job srun --jobid <job_id> --pty /bin/bash Srun Command: Run Interactive Command srun hostname Srun Command: Run Job And Save Output To File srun <path/to/program> > <path/to/output> Srun Command: Run Job On Specific Partition srun -p gpu <path/to/program>