Actions

Difference between revisions of "SLURM-GPU's"

From ALICE Documentation

(GPU's)
(GPU's)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== GPU's ==
 
== GPU's ==
Some programs can take advantage of the unique hardware architecture in a graphics processing unit (GPU). You have to check your documentation for compatibility. Not all nodes on the ALICE cluster are equipped with GPUs (see the hardware description).  
+
Some programs can take advantage of the unique hardware architecture in a graphics processing unit (GPU). You have to check your documentation for compatibility. A certain number of nodes on the ALICE cluster are equipped with multiple GPUs on each of them (see the hardware description). We strongly recommend that you always specify how many GPUs you will need for your job. This way, slurm can schedule other jobs on the node which will use the remaining GPUs.  
  
 
To request a node with GPUs, choose one of the gpu partitions and add one of the following lines to your script:
 
To request a node with GPUs, choose one of the gpu partitions and add one of the following lines to your script:
Line 10: Line 10:
 
*<number> is the number of GPUs per node requested.
 
*<number> is the number of GPUs per node requested.
 
*<GPU_type> is one of the following: 2080ti
 
*<GPU_type> is one of the following: 2080ti
\\
 
We strongly recommend that you always specify how many GPUs you will need for your job. This way, slurm can schedule other jobs on the node which will use the remaining GPUs.
 
  
 
Just like for using CPUs, you can specify the memory that you need on the GPU with
 
Just like for using CPUs, you can specify the memory that you need on the GPU with
 
   --mem-per-gpu=<number>
 
   --mem-per-gpu=<number>

Latest revision as of 07:34, 2 September 2020

GPU's

Some programs can take advantage of the unique hardware architecture in a graphics processing unit (GPU). You have to check your documentation for compatibility. A certain number of nodes on the ALICE cluster are equipped with multiple GPUs on each of them (see the hardware description). We strongly recommend that you always specify how many GPUs you will need for your job. This way, slurm can schedule other jobs on the node which will use the remaining GPUs.

To request a node with GPUs, choose one of the gpu partitions and add one of the following lines to your script:

--gres=gpu:<number>

or

--gres=gpu:<GPU_type>:<number>

where:

  • <number> is the number of GPUs per node requested.
  • <GPU_type> is one of the following: 2080ti

Just like for using CPUs, you can specify the memory that you need on the GPU with

 --mem-per-gpu=<number>