Marvin offers as an extra resource the possibility of use GPU to run jobs. To do that first we need to have a program previously compiled with CUDA (nVidia GPU compilers):
At the moment, we have two computers mr-05-01 and mr-05-02 with 1 GPU each one. (NVIDIA® Quadro RTX™ 4000)
To ask for a GPU resource we have to add this flag to our job script:
#SBATCH --gres=gpu:<num-gpu>
Below we have a completed job script that asks for 1 GPU.
#!/bin/bash |