Example batch jobs for the gpu partition
Contents
Single-GPU job
| 
line no.  | 
/sw/batch/examples/gpu-partition/single-gpu-job.sh | 
123456789101112131415 | 
#!/bin/bash#SBATCH --account=WorkingGroupName_gpu#SBATCH --partition=gpu#SBATCH --gpus=1#SBATCH --time=00:05:00#SBATCH --export=NONEsource /sw/batch/init.shmodule load cuda/12.5.1$CUDA_HOME/extras/demo_suite/busGrindexit | 
|---|
Multi-GPU job
| 
line no.  | 
/sw/batch/examples/gpu-partition/multi-gpu-job.sh | 
12345678910111213141516 | 
#!/bin/bash#SBATCH --account=WorkingGroupName_gpu#SBATCH --partition=gpu#SBATCH --gpus=2#SBATCH --cpus-per-gpu=8     # always set 8 here#SBATCH --time=00:05:00#SBATCH --export=NONEsource /sw/batch/init.shmodule load cuda/12.5.1$CUDA_HOME/extras/demo_suite/busGrindexit | 
|---|