Slurm Workload Manager: Difference between revisions

Content deleted Content added
m Typo fixing, possibly other edits, typo(s) fixed: user’s → user's (3)
fix some formatting, and attempt to use less formatting in the table
Line 118:
{{Div col end}}
 
==SLURMSlurm Commands==
 
The following is a list of useful commands available for SLURMSlurm. Some of these were built by CCR to allow easier reporting for users.
 
For usage information for these commands, use—helpuse {{code|--help}} (example: sinfo—help{{code|sinfo --help}}).
 
Use the linuxLinux command '{{code|man'}} for more information about most of these commands (example: {{code|man sinfo}}).
 
Bold-italicizedItalicized font on the commands below indicates user supplied information. Brackets indicate optional flags.
{| class="wikitable"
|-
! '''List SLURMSlurm commands ''' !! '''slurmhelp '''
|-
|[''' View information about SLURMSlurm nodes & partitions ''' ]|| sinfo '''[-p partition_name or -M cluster_name] '''
|-
|[''' List example SLURMSlurm scripts''' || ls -p /util/slurm-scripts less'''
|-
|[''' Submit a job script for later execution''' || sbatch ''''script-file'''
|-
|[''' Cancel a pending or running job''' || scancel '''jobid'''
|-
|[''' Check the state of a user's jobs''' || squeue—user='''username'''
|-
|[''' Allocate compute nodes for interactive use''' || salloc'''
|-
|[''' Run a command on allocated compute nodes''' || srun'''
|-
|[''' Display node information''' || snodes '''[node cluster/partition state]'''
|-
|[''' Launch an interactive job''' || fisbatch '''[various sbatch options]'''
|-
|[''' List priorities of queued jobs''' ||sranks'''
|-
|[''' Get the efficiency of a running job''' || sueff '''user-name'''
|-
|[''' Get SLURMSlurm accounting information for a user's jobs from start date to now''' || suacct start-date '''user-name'''
|-
|[''' Get SLURMSlurm accounting and node information for a job''' || slist '''jobid'''
|-
|[''' Get resource usage and accounting information for a user's jobs from start date to now''' || slogs '''start-date user-list'''
|-
|[''' Get estimated starting times for queued jobs''' || stimes '''[various squeue options]'''
|-
|[''' Monitor performance of a SLURMSlurm job''' || /util/ccrjobvis/slurmjobvis '''jobid'''
|}