Skip to content

PBS Job Script for GPUs

Here is a short example of a PBS script for submitting jobs to a GPU node. You need to use the GPU queue i.e. #PBS -q gpuq.

#!/bin/bash

# Job to submit to a GPU node.

#PBS -l ncpus=1
#PBS -l ngpus=1
#PBS -q gpuq
#PBS -l mem=5GB
#PBS -l walltime=00:5:00 

#PBS -m abe 
#PBS -M your.email@uts.edu.au

cd ${PBS_O_WORKDIR}
/path/to/your/program

Note

Remember that if you have large amounts of data then use the /scratch directory !