UQ Bunya HPC Quick Start Guide
1. Access Bunya
Section titled “1. Access Bunya”Before using Bunya you must have:
- An approved Bunya account.
- Multi-factor authentication configured.
- Be a member of a Bunya Slurm accounting group.
Connect using SSH:
ssh username@bunya.rcc.uq.edu.auAlternatively, 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
2. Understand the filesystems
Section titled “2. Understand the filesystems”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/userand/scratch/projectthat 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.
3. Load Software Modules
Section titled “3. Load Software Modules”Bunya uses software modules, see here for more information.
Find available software, use keywords:
module availmodule avail miniforgeLoad software, name and version required:
module load miniforge/26.1.0-0Check loaded modules:
module listMany 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.
4. Test an interactive job
Section titled “4. Test an interactive job”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.
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- Change AccountString to your assigned AccountString
5. Submit your first batch job
Section titled “5. Submit your first batch job”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"hostnamedate- Change AccountString to your assigned AccountString
Submit the job:
sbatch hello.slurmMonitor it:
squeueThe 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.
6. Running GPU Jobs
Section titled “6. Running GPU Jobs”Available GPU partitions include:
gpu_cudagpu_rocmgpu_sxmgpu_viz(only for onBunya use)
Example GPU request:
#SBATCH --partition=gpu_cuda#SBATCH --gres=gpu:h100#SBATCH --qos=gpuOnly request GPUs you can actively use. Jobs that leave GPUs idle are automatically terminated.
See example scripts for Cuda GPUs and ROCM GPUs.
7. Monitor Resource Usage
Section titled “7. Monitor Resource Usage”A useful monitoring tool is:
module load jobstats/2024.08jobstats <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.
8. Using Conda (Optional)
Section titled “8. Using Conda (Optional)”For Python workflows:
module load miniforge/2026.1.0-0source $ROOTMINIFORGE/etc/profile.d/conda.sh
conda create -n myenv python=3.11conda activate myenvFor guidance on managing Conda environments on Bunya see the Conda guide.
9. Good Practices
Section titled “9. Good Practices”✅ 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