Skip to content

Cuda

module avail cuda/

CUDA (Compute Unified Device Architecture) libraries are software libraries developed by NVIDIA for parallel computing on NVIDIA GPUs (Graphics Processing Units).

These libraries provide optimized functions and algorithms that leverage the parallel processing power of GPUs for various computational tasks.

License

To use Cuda, you will also need to accept license for cuDNN library.

Usage

GPU clusters

Cluster Node(s) GPU card specification gpu_mem CUDA
computing
capability
adan adan[1-61].grid.cesnet.cz 2x Tesla T4 15 109 7.5
black black1.cerit-sc.cz 4x Tesla P100 16 280 6.0
galdor galdor[1-20].metacentrum.cz 4x A40 45 634 8.6
glados glados1.cerit-sc.cz 1x TITAN V GPU 12 066 7.0
glados glados[2-7].cerit-sc.cz 2x GeForce RTX 2080 7 982 7.5
glados glados[11-13].cerit-sc.cz 2x 1080Ti GPU 11 178 6.1
luna luna[201-206].fzu.cz 1x A40 45 634 8.6
fer fer[1-3].natur.cuni.cz 8x RTX A4000 16 117 8.6
zefron zefron6.cerit-sc.cz 1x A10 22 731 8.6
zefron zefron7.cerit-sc.cz 1x GeForce GTX 1070 8 119 3.5
zefron zefron8.cerit-sc.cz 1x Tesla K40c 11 441 3.5
zia zia[1-5].cerit-sc.cz 4x A100 40 536 8.0
fau fau[1-3].natur.cuni.cz 8x Quadro RTX 5000 16 125 7.5
cha cha.natur.cuni.cz 8x GeForce RTX 2080 Ti 11 019 7.5
gita gita[1-7].cerit-sc.cz 2x GeForce RTX 2080 Ti 11 019 7.5
konos konos[1-8].fav.zcu.cz 4x GeForce GTX 1080 Ti 11 178 6.1
grimbold grimbold.metacentrum.cz 2x Tesla P100 12 198 6.0

GPU jobs

  • GPU queues: gpu (24 hours max) and gpu_long (up to 336 hours), both with open access for all MetaCentrum members
  • GPU jobs on the konos cluster can be also run via the priority queue iti (queue for users from ITI - Institute of Theoretical Informatics, Univ. of West Bohemia)
  • zubat cluster is available for any job which will run 24 hours at most.
  • Users from CEITEC MU and NCBR can run jobs via privileged queues on the zubat cluster.
  • The current version of the cuda drivers (parameter cuda_version) can be verified interactively in the qsub command assembler.

Requesting GPUs

The key scheduling constraint is to prevent jobs from sharing GPUs. To ensure this always use the gpu=X flag in qsub and request one of the gpu queues (gpu, gpu_long, iti).

qsub -l select=1:ncpus=1:mem=10gb:ngpus=X -q gpu

where X means a number of GPU cards required. By default

resources_default.gpu=1

If a job requires more GPU cards than it asks (or is available), prolog does not run it.

To plan your job on clusters with certain compute capability, use qsub command like this:

qsub -q gpu -l select=1:ncpus=1:ngpus=X:gpu_cap=cuda35 <job batch file>

Using the PBS parameter gpu_mem is possible to specify the minimum amount of memory that the GPU card will have.

qsub -q gpu -l select=1:ncpus=1:ngpus=1:gpu_mem=10gb ...

Example

qsub -I -q gpu -l select=1:ncpus=1:ngpus=1:scratch_local=10gb:gpu_mem=10gb -l walltime=24:0:0

Interactive job requests 1 machine, 1 CPU and 1 GPU card for 24 hours.

FAQs

Q: How can I recognize which GPUs are reserved for me by planning system?

A: IDs of GPU cards are stored in CUDA_VISIBLE_DEVICES variable. These IDs are mapped to CUDA tools virtual IDs. Though if CUDA_VISIBLE_DEVICES contains value 2, 3 then CUDA tools will report IDs 0, 1.

Q: I want to use the NVIDIA CuDNN library, which GPU clusters do support it?

A: Those which have GPU with compute capability > 3.0, which means all clusters (see the table above)