Skip to content

UQ Bunya HPC Quick Start Guide

Before using Bunya you must have:

Connect using SSH:

ssh username@bunya.rcc.uq.edu.au

Alternatively, use onBunya (the Web Interface) for interactive applications such as Jupyter, RStudio and VS Code.

Important:

  • VS Code and other IDEs are not permitted on Bunya login nodes
  • Remote tunnelling to Bunya is not permitted

More information.


Bunya provides several storage locations:

Location Purpose
/home Configuration files, software, scripts
/scratch/user Temporary working data
/scratch/project Shared group workspaces
/QRISdata RDM-Q and legacy storage allocations (long-term research data storage)
/scratch/opendata Shared open data sets and models
/scratch/licenseddata Shared licensed data sets

Important:

  • Scratch storage is temporary.
  • Files in /scratch/user and /scratch/project that have not been accessed for 90 days may be automatically deleted.
  • Users should move important data to an appropriate long-term storage solution.

For more information, including quotas on /home and /scratch, and appropriate usage of /QRISdata see the Guide on User Data Spaces and Quotas and the UQRDM Access on Bunya Guide.


Bunya uses software modules, see here for more information.

Find available software, use keywords:

module avail
module avail miniforge

Load software, name and version required:

module load miniforge/26.1.0-0

Check loaded modules:

module list

Many common research applications, compilers, MPI libraries and scientific software packages are available through modules. For a compact list of Bunya software modules and onBunya applications see here.


Bunya uses the Slurm workload manager for scheduling jobs.

Do not run computational workloads on the login nodes. Interactive work, including software installations, software compilations, quick tests, should be performed inside an allocated job.

Example interactive session:

salloc --nodes=1 --ntasks-per-node=1 --cpus-per-task=1 --mem=5G --job-name=CHANGE-ME --time=01:00:00 --partition=general --qos=debug --account=AccountString srun --export=PATH,TERM,HOME,LANG --pty /bin/bash -l

For information on all the different options for Slurm scripts see here

Create a script called hello.slurm:

#!/bin/bash --login
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=1
#SBATCH --mem=10G
#SBATCH --job-name=hello
#SBATCH --time=1:00:00
#SBATCH --qos=debug
#SBATCH --partition=general
#SBATCH --account=AccountString ##FIX THIS
#SBATCH -o slurm-%j.output
#SBATCH -e slurm-%j.error
# module loads go before starting your program
# use srun before the executable
echo "Hello from Bunya"
hostname
date

Submit the job:

sbatch hello.slurm

Monitor it:

squeue

The output will be in slurm-JobID.output.

See example scripts for CPU single node, CPU MPI, job array.

Please check available partitions and associated hardware and available QoS and their limits.


Available GPU partitions include:

  • gpu_cuda
  • gpu_rocm
  • gpu_sxm
  • gpu_viz (only for onBunya use)

Example GPU request:

#SBATCH --partition=gpu_cuda
#SBATCH --gres=gpu:h100
#SBATCH --qos=gpu

Only request GPUs you can actively use. Jobs that leave GPUs idle are automatically terminated.

See example scripts for Cuda GPUs and ROCM GPUs.


A useful monitoring tool is:

module load jobstats/2024.08
jobstats <jobid>

This displays max CPU, max CPU and GPU memory, and average GPU utilization for running and completed jobs. It also provides a link to a graphical dashboard showing the jobs history.


For Python workflows:

module load miniforge/2026.1.0-0
source $ROOTMINIFORGE/etc/profile.d/conda.sh
conda create -n myenv python=3.11
conda activate myenv

For guidance on managing Conda environments on Bunya see the Conda guide.


✅ Run computations through Slurm jobs
✅ Keep large datasets in shared spaces provided
✅ Use scratch space for active computation
✅ Monitor utilization and optimize resource requests
✅ Use onBunya for interactive tools and IDEs

❌ Do not run Python, R, compilations, or IDEs or filesystem intensive tasks (e.g. copy, rsync, tar, zip/unzip) directly on login nodes