--- title: Slurm Workload Manager breadcrumbs: - title: Configuration - title: IoT --- {% include header.md %} ## Usage ### Basics - Cluster information: - Show partitions: `scontrol show partition [-a]` - Show node capabilities: `sinfo -o "%20N %8c %10m %25f %10G"` (example) - Accounting: - Show accounts for user: `sacctmgr show assoc where user= format=account` - Show default account for user: `sacctmgr show user format=defaultaccount` - Job and job queue information: - Show job queue: `squeue [-u ] [-t ] [-p ]` - Show job details: `scontrol show jobid -dd ` - Job handling: - Create a job (overview): Make a Slurm script, make it executable and submit it. - Submit interactive/blocking job: `srun [--pty bash] <...>` - Submit batch/non-blocking job: `sbatch <...>` - Cancel specific job: `scancel ` - Cancel multiple jobs: `scancel [-t ] [-u ]` {% include footer.md %}