Both sides previous revision Previous revision | Next revisionBoth sides next revision |
doku:slurm [2022/02/01 21:32] – [Node configuration - hyperthreading] goldenberg | doku:slurm [2023/02/17 16:23] – msiegel |
---|
====== Submitting batch jobs ====== | ====== Submitting batch jobs ====== |
| |
| ===== SPACK ===== |
| |
| On VSC-4 and VSC-5, spack is used to install and provide software. See [[doku:spack|SPACK - a package manager for HPC systems]] |
| |
===== Module environment ===== | ===== Module environment ===== |
When all required/intended modules have been loaded, user packages may be compiled as usual. | When all required/intended modules have been loaded, user packages may be compiled as usual. |
| |
===== spack ===== | |
| |
On VSC-4, spack is also user to install and provide software. See [[doku:spack|SPACK - a package manager for HPC systems]] | |
===== SLURM (Simple Linux Utility for Resource Management) ===== | ===== SLURM (Simple Linux Utility for Resource Management) ===== |
| |
Contrary to the previously on VSC 1 and VSC 2 employed SGE, the scheduler on VSC-3 and VSC-4 is [[http://slurm.schedmd.com|SLURM]]. | Contrary to the previously on VSC 1 and VSC 2 employed SGE, the scheduler on VSC-3 and VSC-4 is [[http://slurm.schedmd.com|SLURM]]. |
=== Basic SLURM commands: === | |
| ==== Basic SLURM commands: ==== |
* ''[...]$ sinfo'' gives information on which 'queues'='partitions' are available for job submission. Note: the under SGE termed 'queue' is called a 'partition' under SLURM. | * ''[...]$ sinfo'' gives information on which 'queues'='partitions' are available for job submission. Note: the under SGE termed 'queue' is called a 'partition' under SLURM. |
* ''[...]$ scontrol'' is used to view SLURM configuration including: job, job step, node, partition, reservation, and overall system configuration. Without a command entered on the execute line, scontrol operates in an interactive mode and prompt for input. With a command entered on the execute line, scontrol executes that command and terminates. | * ''[...]$ scontrol'' is used to view SLURM configuration including: job, job step, node, partition, reservation, and overall system configuration. Without a command entered on the execute line, scontrol operates in an interactive mode and prompt for input. With a command entered on the execute line, scontrol executes that command and terminates. |
* ''[...]$ scontrol show partition'' shows information on available partitions. | * ''[...]$ scontrol show partition'' shows information on available partitions. |
* ''[...]$ squeue'' to see the current list of submitted jobs, their state and resource allocation. [[doku:slurm_job_reason_codes|Here]] is a description of the most important **job reason codes** returned by the squeue command. | * ''[...]$ squeue'' to see the current list of submitted jobs, their state and resource allocation. [[doku:slurm_job_reason_codes|Here]] is a description of the most important **job reason codes** returned by the squeue command. |
| |
==== Node configuration - hyperthreading ==== | ==== Node configuration - hyperthreading ==== |
| |