Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Command

Description

salloc -A <project-name> -t <wall-time>

salloc --account <project-name> --time <wall-time>

Create an interactive session.

Notice use of short and long form options.

  • Format for: -t/--time: Acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".

sbatch <submission-script>

Submit a job to the cluster.

scancel <job-id>

Cancel a pending/running job.

Variations:

scancel -u <username>: cancel all your <username> jobs.

squeue -u <username>

View the status of your currently running jobs.

sacct -u <username>

View jobs that have finished.

Use the -S option to define a start time. Default is 00:00:00 of the current day.

seff <job-id>

View the cpu and memory efficiency of a job.

Only accurate is the job successfully completes. If a job fails with an Out-Of-Memory (OOM) this will not be accurate.

sinfo

View the status of the Slurm partitions/nodes.

arccjobs

Print a table showing active projects and jobs.

pestat

Print a nodes node list with allocated jobs - can query individual nodes.

...