Difference between revisions of "HOWTO use AmpTools on the JLab farm GPUs"
From GlueXWiki
(→Access through SLURM) |
(→Access through SLURM) |
||
Line 2: | Line 2: | ||
JLab currently provides 4 NVidia Titan RTX cards, which can be accessed through SLURM: | JLab currently provides 4 NVidia Titan RTX cards, which can be accessed through SLURM: | ||
− | salloc --gres gpu:TitanRTX:1 --partition gpu --nodes 1 | + | >salloc --gres gpu:TitanRTX:1 --partition gpu --nodes 1 |
An interactive shell (e.g. bash) on the node with requested allocation can be opened with srun: | An interactive shell (e.g. bash) on the node with requested allocation can be opened with srun: | ||
− | srun --pty bash | + | >srun --pty bash |
Information about the cards, cuda and usage is displayed with this command: | Information about the cards, cuda and usage is displayed with this command: | ||
− | |||
<pre> | <pre> | ||
+ | >nvidia-smi | ||
+ | |||
+-----------------------------------------------------------------------------+ | +-----------------------------------------------------------------------------+ | ||
| NVIDIA-SMI 418.87.01 Driver Version: 418.87.01 CUDA Version: 10.1 | | | NVIDIA-SMI 418.87.01 Driver Version: 418.87.01 CUDA Version: 10.1 | |
Revision as of 12:47, 8 April 2021
Contents
Access through SLURM
JLab currently provides 4 NVidia Titan RTX cards, which can be accessed through SLURM:
>salloc --gres gpu:TitanRTX:1 --partition gpu --nodes 1
An interactive shell (e.g. bash) on the node with requested allocation can be opened with srun:
>srun --pty bash
Information about the cards, cuda and usage is displayed with this command:
>nvidia-smi +-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.87.01 Driver Version: 418.87.01 CUDA Version: 10.1 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 TITAN RTX Off | 00000000:3E:00.0 Off | N/A | | 41% 27C P8 2W / 280W | 0MiB / 24190MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+