Actions

Difference between revisions of "SLURM-GPU's"

From ALICE Documentation

(GPU's)
(GPU's)
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.  
 
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>

Revision as of 07:33, 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. Not all nodes on the ALICE cluster are equipped with GPUs (see the hardware description).

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

// 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

 --mem-per-gpu=<number>