Skip to content

Apptainer & PBS

Run the containers as a PBS Job

In production you need to run your application under PBS even if its in a container. Here is an example PBS submission script.

#!/bin/bash

#PBS -l ncpus=1
#PBS -l mem=5GB
#PBS -l walltime=00:05:00 
#PBS -q smallq
#PBS -m abe 
#PBS -M Your.Name@uts.edu.au

cd ${PBS_O_WORKDIR}
apptainer run rocky8.sif

Note

Remember: Always run applications that consume significant CPU or memory under PBS! Do not run large computations on the login node.