Skip to content
  • eResearch
  • Collaborative Technologies
    • ARDC (Australian Research Data Commons)
    • ARDC Nectar Research Cloud
    • Australian Access Federation
    • QRIScloud
    • Video Collaboration
  • Data Management
    • Research Data Management Plans
  • Data Services
    • Australian and International Data Portals
    • CQUni Research Data Storage Options
    • CQUniversity Research Data Storage
    • GEOSCIENCE DATA PORTALS
  • eResearch and Security: MFA and CyberSafety
    • Encrypting Data on Portable Devices
    • Password best practices
  • High Performance Computing
    • The History of CQU’s HPC Facilities
      • Ada Lovelace Cluster (Current)
      • Marie Curie Cluster (Decommissioned)
      • Einstein Cluster (Decommissioned)
      • Isaac Newton HPC Facility (Decommissioned)
    • HPC User Guides and FAQs
      • Getting started on CQUniversity’s Ada Lovelace HPC System
      • Basics of working on the HPC
      • Connecting to HPC via CLI/SSH
      • Finding Installed Software
      • Graphical connection HPC via Open On Demand
      • HPC Collaboration
      • Simple Unix Commands
      • Slurm Commands
      • Software Module Information
      • Transferring Files to the HPC System (Ada)
      • Using Abaqus
      • Using ANSYS on the HPC System
      • Using HPC Scheduler on Ada Lovelace Cluster
      • Using MATLAB
      • Using R
      • Using Whisper to Transcribe audio on the HPC
      • Virtualisation and Containers
      • Creating a Conda Enviroment
      • LLM’s on Ada Cluster
      • Running Python on Ada
      • Machine and Deep Learning modules on Ada
      • PBS to Slurm Command tables (HPC Scheduler)
      • Compiling Programs (and using the optimization flags)
      • Frequently Asked Questions
      • HPC Trouble Shooting
    • HPC Community
    • HPC Related Links
    • HPC Sample Code Scripts
      • Multiple Job Submission – Slurm
      • Parameter sweep multiple job – Slurm
      • R Sample Scripts – Slurm
      • Sample Slurm CPU Submission Script
      • Sample Slurm GPU Submission Script
    • HPC Software
  • Research Software
  • Scholarly Communication
  • Survey Tools
  • Training
    • QCIF – Queensland Cyber Infrastructure Foundation
    • Teaching Lab Skills for Scientific Computing

eResearch

PBS to Slurm Command tables

User Commands PBS Slurm
Job Submission qsub [script_file] sbatch [script_file]
Job Deletion qdel [job_id] scancel [job_id]
Jobs Status (by Job) qstat [job_id] squeue [job_id]
Job Status (by user) qstat -u [user_name] squeue -u [user_name]
Job Deletion by user (all) qdel `qselect -u [user_name]` scancel -u [user_name]
Job Hold qhold [job_id] scontrol hold [job_id]
Job Release qrls [job_id] scontrol release [job_id]
Queue list qstat -Q squeue
Node list pbsnodes -l sinfo -N
Cluster status qstat -a sinfo
Environment Variables
Job ID $PBS_JOBID $SLURM_JOBID
Submit Directory $PBS_O_WORKDIR $SLURM_SUBMIT_DIR
Submit Host $PBS_O_HOST $SLURM_SUBMIT_HOST
Node List $PBS_NODEFILE $SLURM_JOB_NODELIST
Job Array Index $PBS_ARRAYID $SLURM_ARRAY_TASK_ID
Script Directives
Script Directive Prefix #PBS #SBATCH
Queue -q [queue] -p [queue]
Node Count -l nodes=[count] -N [min[-max]]
CPU Count -l ppn=[count] or -l mppwidth=[PE_count] -c [count]
Walltime -l walltime=[hh:mm:ss] -t [min] or [days-hh:mm:ss]
Std Output File -o [file] -o [file]
Std Error File -e [file] -e [file]
Combine stdout/stderr -j oe or -j eo Use -o only
Copy Environment -V –export=[ALL | NONE | VARS]
Email Notification -m abe –mail-type=[events]
Email Address -M [address] –mail-user=[address]
Job Name -N [name] –job-name=[name]
Memory Size -l mem=[MB] –mem=[mem] or –mem-per-cpu=[mem]

Support

eresearch@cqu.edu.au

tasac@cqu.edu.au OR 1300 666 620

Hacky Hour (3pm – 4pm every Tuesday)

High Performance Computing Teams site