Download JURECA

Transcript
Table of Contents
1 Cluster Information................................................................................................................................1
1.1 Introduction....................................................................................................................................1
1.2 Cluster Nodes.................................................................................................................................1
1.3 Data Management - Filesystems....................................................................................................2
1.4 Access to the Cluster......................................................................................................................2
1.5 Shell Environment..........................................................................................................................3
1.6 Modules..........................................................................................................................................3
Modules and Toolchains hierarchy...................................................................................................3
Using the module command.............................................................................................................4
Accessing Old Software...................................................................................................................5
1.7 Compilers.......................................................................................................................................6
Compilation Examples......................................................................................................................6
1.8 Batch model & Accounting............................................................................................................7
2 Batch System – Slurm............................................................................................................................8
2.1 Slurm Overview.............................................................................................................................8
2.2 Slurm Configuration.......................................................................................................................9
2.3 Partitions.......................................................................................................................................10
2.4 Slurm's Accounting Database.......................................................................................................11
2.5 Job Limits – QoS..........................................................................................................................11
2.6 Generic Resources - GRES...........................................................................................................12
Job Submission Filter.....................................................................................................................13
2.7 Priorities.......................................................................................................................................14
2.8 Job Environment...........................................................................................................................15
2.9 SMT..............................................................................................................................................15
Using SMT on JURECA................................................................................................................16
How to profit from SMT................................................................................................................16
2.10 Processor Affinity.......................................................................................................................16
Default processor affinity ..............................................................................................................17
Binding to sockets...........................................................................................................................18
Manual pinning...............................................................................................................................18
Disabling pinning...........................................................................................................................19
3 Slurm User Commands........................................................................................................................20
3.1 List of Commands........................................................................................................................20
3.2 Allocation Commands..................................................................................................................21
sbatch & salloc................................................................................................................................21
Generic Resources – GRES............................................................................................................24
3.3 Spawning commands....................................................................................................................25
srun.................................................................................................................................................25
3.4 Query Commands.........................................................................................................................26
squeue.............................................................................................................................................26
sview...............................................................................................................................................27
sinfo................................................................................................................................................27
smap................................................................................................................................................29
sprio................................................................................................................................................30
scontrol...........................................................................................................................................30
sshare..............................................................................................................................................31
3.5 Job Control Commands................................................................................................................33