Use QOS to run GPU jobs

This page it's dedicate to users who want to run GPU's and have a QOS. 
 
 GPU JOB submission using QOS 
 
 In this example we will use the atributed QOS=gpu097822021 to be used for GPU and submit a job for the V100 Nvidia. 
 
 #!/bin/bash
#SBATCH --job-name=prod01
#SBATCH --partition=gpu
#SBATCH --qos=gpu097822021
#SBATCH --gres=gpu:v100s
#SBATCH --output=%x.o%j
#SBATCH --error=%x.o%j

### Prepare the environment
module purge
module load gcc83/openmpi/4.1.1 cuda-11.2

echo $(hostname)