
  • flinders.edu.au
  • Staff
  • Students
  • Library
Flinders University Logo Flinders University Logo
  • Employee resources

    Benefits and pay

    • Benefits and pay overview
    • Getting paid
    • Leave
    • Superannuation
    • Employee health plan
    • Employee assistance program
    • Staff discounts and offers
    • P&C forms, documents and guides

    Working at Flinders

    • Working at Flinders overview
    • Information for new staff
    • All job vacancies
    • Internal job vacancies
    • Enterprise agreement
    • Equal opportunity and diversity
    • Racial discrimination
    • Performance reviews
    • Academic Workload Model

    Professional Development

    • Professional development overview
    • Academic promotion

    Manager & supervisor resources

    • Manager & Supervisor resources overview
    • Supervisor reference manual
    • Induction checklist
    • Inducting new staff
    Workday
    iEnrol login
    Staff learning portal
  • Workplace support

    Doing your job

    • Digital services
    • Travel
    • Work health and safety
    • Finance and Procurement Services
    • Handling student complaints
    • Policy library
    • Risk management
    • Foreign Interactions

    Everyday needs

    • Searchable list of everyday topics
    • Room bookings
    • Flinders Print (staff printing)
    • Flinders Press (Printing and copying services)
    • Corporate Word and Powerpoint templates
    • Guide to updating your staff profile

    Your campus

    • Parking on campus (Bedford Park)
    • Parking and transport (Tonsley)
    • Virtual Business Blue and Guest parking permits
    • Campuses and floor plans

    Contractors

    • Contractors at Flinders
    • Information for contractors and subcontractors
    • Contractor safety
    • Permits and permission to proceed
    • Engaging a contractor
    Service One
    Okta
    vPermit
    FlinSafe
  • Teaching and research resources

    Teaching resources

    • Learning and teaching
    • Timetables
    • Academic integrity

    Research resources

    • Research support
    • Research contracts
    • Research integrity, ethics and compliance
    • Researcher training, development and communications
    • Research analytics and reporting
    • Research partnerships and commercialisation

    Funding opportunities

    • Funding opportunities overview
    • Philanthropic funding
    • Research grants and tenders
    • Teaching and learning awards
    Student Two Web
    Research Now login
  • Colleges and services

    Colleges

    • College of Business, Government and Law
    • College of Education, Psychology and Social Work
    • College of Humanities, Arts and Social Sciences
    • College of Medicine and Public Health
    • College of Nursing and Health Sciences
    • College of Science and Engineering

    Professional Services

    • Academic Quality and Enhancement
    • Engagement
    • Finance and Procurement Services
    • Flinders International Services
    • Governance, Legal and Risk
    • Information and Digital Services
    • Learning and Teaching Services
    • Marketing and Student Recruitment
    • Office of Graduate Research
    • Office of Indigenous Strategy and Engagement
    • People and Culture
    • Property, Facilities and Development
    • Research Development and Support
    • Student Administration Services
    • Student Experience
    Service One
    Staff directory
  • flinders.edu.au
  • Staff
  • Students
  • Library
  • You have no saved courses.

    Continue to explore your course options.

     
    Explore our courses

    Your saved courses

    {{{courseName}}}
    mail_outline
    delete
    View all saved courses
  • Quick links 
    • Staff directory
    • Workday
    • Service One
    • Flinders dashboard (Okta)
    • Calendar
    • Semester dates
    • Bedford Park campus map
    • Parking
    • Policy library
    • Shop Flinders merchandise

 

Migrating from Colossus to Deep Thought

Research support High performance computing (Deep Thought) Migrating from Colossus to Deep Thought

Migrating from Colossus HPC to Deep Thought HPC means migrating workload management from SGE to Slurm.

SGE was Sun Grid Engine, and is now Oracle Grid Engine.

Slurm is the Simple LinUx Resource Manager, and increasingly used as a de facto standard. The principles remain the same, just changes in commands and some syntax.

The Slurm quick start guide is very helpful to acquaint yourself with the most used commands. Slurm has also produced the Rosetta Stone -  a document that shows equivalents between several workload managers.

We have compiled a list of the most basic job commands in SGE, and the Slurm equivalents below.

Command differences - SGE to Slurm 

Differences between job scripts in SGE and SLURM 

Quick links

     Using Slurm  Slurm quick start guide  Rosetta Stone

Command differences - SGE to Slurm

Basic user commands

User commands SGE SLURM
Interactive login qlogin srun --pty bash or srun (-p "partition name"--time=4:0:0)
Job submission qsub [script_file] sbatch [script_file]
Job deletion qdel [job_id] scancel [job_id]
Job status by job qstat -u \* [-j job_id] squeue [job_id]
Job status by user qstat [-u user_name] squeue -u [user_name]
Job hold qhold [job_id] scontrol hold [job_id]
Job release qrls [job_id] scontrol release [job_id]
Queue list qconf -sql squeue
List nodes qhost sinfo -N OR scontrol show nodes
Cluster status qhost -q sinfo
GUI qmon sview

 

Environmental commands

User commands SGE SLURM
Job ID $JOB_ID $SLURM_JOBID
Submit directory $SGE_O_WORKDIR $SLURM_SUBMIT_DIR
Submit host $SGE_O_HOST $SLURM_SUBMIT_HOST
Node list $PE_HOSTFILE $SLURM_JOB_NODELIST
Job Array Index $SGE_TASK_ID $SLURM_ARRAY_TASK_ID

 

Job specification commands

User commands SGE SLURM
Script directive #$ #SBATCH
queue -q [queue] -p [queue]
count of nodes N/A -N [min[-max]]
CPU count -pe [PE] [count] -n [count]
Wall clock limit -l h_rt=[seconds] -t [min] OR -t [days-hh:mm:ss]
Standard out file -o [file_name] -o [file_name]
Standard error file -e [file_name] e [file_name]
Combine STDOUT & STDERR files  -j yes (use -o without -e)
Copy environment -V --export=[ALL | NONE | variables]
Event notification -m abe --mail-type=[events]
send notification email -M [address] --mail-user=[address]
Job name -N [name] --job-name=[name]
Restart job -r [yes|no] --requeue OR --no-requeue (NOTE: configurable default)
Set working directory -wd [directory] --workdir=[dir_name]
Resource sharing -l exclusive --exclusive OR --shared
Memory size -l mem_free=[memory][K|M|G] --mem=[mem][M|G|T] OR --mem-per-cpu= [mem][M|G|T]
Charge to an account -A [account] --account=[account]
Tasks per node (Fixed allocation_rule in PE) --tasks-per-node=[count]
    --cpus-per-task=[count]
Job dependancy -hold_jid [job_id | job_name] --depend=[state:job_id]
Job project -P [name] --wckey=[name]
Job host preference -q [queue]@[node] OR -q    [queue]@@[hostgroup] --nodelist=[nodes] AND/OR --exclude=    [nodes]

 

qstat and squeue comparison commands

User commands SGE SLURM
  qstat squeue
  qstat -u username squeue -J jobname
  qstat -f squeue -al
  qsub sbatch
  qsub -N jobname sbatch -J jobname
  qsub -m beas sbatch --mail-type=ALL
  qsub -M fan@flinders.edu.au sbatch --mail-user=fan@flinders.edu.au
  qsub -l h_rt=24:00:00 sbatch -t 24:00:00
  qsub -pe dmp4 16 sbatch -p node -n 16
  qsub -l mem=4G sbatch --mem=4000
  qsub -P projectname sbatch -A projectname
  qsub -o filename sbatch -o filename
  qsub -e filename sbatch -e filename
  qsub -l scratch_free=20G sbatch --tmp=20480

Examples of differences between job scripts in SGE and SLURM

Single core application

SGE  SLURM 
#!/bin/bash
#$ -N test
#$ -j y
#$ -o test.output
#$ -cwd
#$ -M FAN@flinders.edu.au
#$ -m bea
# Request 5 hours run time
#$ -l h_rt=5:0:0
#
#$ -l mem=4G
#
your_application
#!/bin/bash
#
#SBATCH -J test
#SBATCH -o test.output
#SBATCH -e test.output
# Default in slurm
#SBATCH --mail-user FAN@flinders.edu.au
#SBATCH --mail-type=ALL
# Request 5 hours run time
#SBATCH -t 5:0:0
#SBATCH --mem=4000
#SBATCH -p core -n 1
your_application

MPI application

SGE SLURM
#!/bin/bash
#
#$ -N test
#$ -j y
#$ -o test.output
#$ -cwd
#$ -M FAN@flinders.edu.au
#$ -m bea
# Request 5 hours run time
#$ -l h_rt=5:0:0
#$ -R y
#$ -pe dmp4 16
#$ -l mem=2G
# memory is counted per process on node
module load module1 module2 ...
mpirun your_application
#!/bin/bash
#
#SBATCH -J test
#SBATCH -o test.output
#SBATCH -e test.output
# Default in slurm
#SBATCH --mail-user FAN@flinders.edu.au
#SBATCH --mail-type=ALL
# Request 5 hours run time
#SBATCH -t 5:0:0
#
#SBATCH -p node -n 16
#
module load module1 module2 ...
mpirun your_application

Flinders University Logo

Sturt Rd, Bedford Park
South Australia 5042

  • Glossary of terms and abbreviations
  • Current students
  • Staff directory
  • Flinders website

Follow Flinders

Facebook - Flinders University
Instagram - Flinders University
TikTok - Flinders University
LinkedIn - Flinders University
Bluesky - Flinders University
YouTube - Flinders University

Feedback and requests

Disclaimer

Accessibility

Privacy

CRICOS Provider: 00114A      TEQSA Provider ID: PRV12097      TEQSA category: Australian University

Last Updated: 21 Nov 2019

FOREVER FEARLESS

This website uses cookies

Flinders University uses cookies to ensure website functionality, personalisation and a variety of purposes as set out in its website privacy statement. This statement explains cookies and their use by Flinders.

If you consent to the use of our cookies then please click the button below:

Accept all cookies and continue

If you do not consent to the use of all our cookies then please click the button below. Clicking this button will result in all cookies being rejected except for those that are required for essential functionality on our website.

Reject all non-essential cookies and continue