...
Charge rates for the slurm partitions you find in Accounting.
Examples
Assuming a job script
Codeblock |
---|
language | text |
---|
title | Job script example.slurm |
---|
|
#!/bin/bash
#SBATCH --partition=gpu-a100
#SBATCH --nodes=2
#SBATCH --ntasks=8
#SBATCH --gres=gpu:4
module load openmpi/gcc.11/4.1.4
mpirun ./mycode.bin
|
you can submit a job to the slurm batch system via the line:
Codeblock |
---|
language | text |
---|
title | Job submission |
---|
|
bgnlogin2 $ sbatch example.slurm
Submitted batch job 7748544
bgnlogin2 $ squeue -u myaccount
|
Codeblock |
---|
title | Example: Exclusive usage of two nodes with 4 GPUs each |
---|
|
$ srun --nodes=2 --gres=gpu:4 --partition=gpu-a100 example_cmd |
...