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

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

Back to Srun directory