Versions Compared

Key

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

...

  • PC2 cluster system use SLURM as a scheduler/workload manager.

  • sharing of compute nodes among jobs is enabled

  • cpu-cores, memory and GPUs are allocated exclusively to jobs

  • SMT (aka. hyperthreading) is disabled on the compute nodes

  • start your MPI jobs with srun and not mpirun or mpiexec

  • You only see your own compute jobs. If you are the project administrator of a compute-time project you see all jobs of the project.

  • extra tools: scluster, spredict, squeue_pretty

...

Line

Mandatory

Meaning

Code Block
#SBATCH -t TIMELIMIT

YES

specify the time limit of your job. Acceptable time formats for TIMELIMIT include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".

Code Block
#SBATCH -N NODES

no, default is 1

use at least the number of NODES for the job

Code Block
#SBATCH -n NTASKS

no, default is 1

run NTASKS tasks in your job. A task is usually an MPI rank.

Code Block
#SBATCH --mem-per-cpu MEM

no, default is memory-per-node/number-of-cores

memory per allocated cpu core, e.g. 1000M or 2G for 1000 MB or 2 GB respectively.

Code Block
#SBATCH -J NAME

no, default is the file name of the job script

specify the NAME of the compute job

Code Block
#SBATCH -p PARTITION

no, default is the normal partition

Submit jobs to the PARTITION partition. For a description of partition see Partitions and QOS

Code Block
#SBATCH -A PROJECT

not if you are only member of one compute-time project

specify the compute-time project PROJECT to use with this job

Code Block
#SBATCH -q QOS

no, default is the default QoS of your project

Use the QoS QOS. For a description of QoS see Partitions and QOS

Code Block
#SBATCH --mail-type MAILTYPE

no, default value is NONE

specify at which event you want a mail notification. MAILTYPEcan be NONE, BEGIN, END, FAIL, REQUEUE, ALL.

Code Block
#SBATCH --mail-user MAILADDRESS

no

specify your mail that should receive the mail notifications

...