Both the 12GB 1080 TI and the 8GB 1080 are grouped under the name **1080**. The
Both the 12GB 1080 TI and the 8GB 1080 are grouped under the name **pascal**. The
short name for the more powerful Quadro cards is **rtx5k**.
short name for the more powerful Quadro cards is **turing**.
To request any GPU, you can use ``-p gpu --gres gpu:1`` or ``-p test --gres
To request any GPU, you can use ``-p gpu --gres gpu:1`` or ``-p test --gres
gpu:1`` if you want to test things. The ``gres`` parameter is very flexible and
gpu:1`` if you want to test things. The ``gres`` parameter is very flexible and
allows to request the GPU group (**1080** or **rtx5k**).
allows to request the GPU group/architecture (**pascal** or **turing**).
For example, to request 2 Geforce 1080, use ``--gres gpu:1080:2``. This will
For example, to request 2 Geforce 1080, use ``--gres gpu:pascal:2``. This will
effectively hide all other GPUs and grants exclusive usage of the devices.
effectively hide all other GPUs and grants exclusive usage of the devices.
You can use the `nvidia-smi` tool in an interactive job or the node-specific
You can use the `nvidia-smi` tool in an interactive job or the node-specific
charts to get an idea of the device's utilization.
charts to get an idea of the device's utilization.
Any code that supports CUDA up to version 10.1 should just work out of the box, that includes python's pygpu or Matlab's gpu-enabled libraries.
Any code that supports CUDA up to version 10.1 should just work out of the box,
that includes python's pygpu or Matlab's gpu-enabled libraries.
.. note::
.. note::
...
@@ -44,12 +45,15 @@ Any code that supports CUDA up to version 10.1 should just work out of the box,
...
@@ -44,12 +45,15 @@ Any code that supports CUDA up to version 10.1 should just work out of the box,
container**. You have to pass the ``--nv`` flag to any
container**. You have to pass the ``--nv`` flag to any
singylarity calls, however.
singylarity calls, however.
Example: Request an interactive job (srun --pty) with 4 cores, 8gb of memory and a single card from the rtx5k group. Instead of ``/bin/bash`` we use the shell from a singularity container and tell singularity to prepare an nvidia environment ``singularity shell --nv``:
Example: Request an interactive job (``srun --pty``) with 4 cores, 8 GB of
memory and a single card from the *turing* group. Instead of ``/bin/bash`` we use
the shell from a singularity container and tell singularity to prepare an
Nvidia environment with ``singularity shell --nv``: