• Home
  • Accessing Our Facilities
    • Apply for Access
    • HPC Resource List
    • Our Staff
    • Our Research Projects
    • Our Research Software

    • Contributions & Costings
    • HPC Driving Test
  • Documentation
    • Documentation Home
    • Getting Started
    • Advanced Topics
    • Training & Workshops
    • FAQ
    • Policies & Procedures
    • Using the Wiki

    • Data & Report Terminology
    • About this website

    • Reports
  • My Account
    • My HPC Projects
HPC Support
Trace: • 026 • software • 18 • 013 • 002 • 046

How can I give one of my jobs priority over another?

If you have more than one job to run and you'd like to make sure that your less urgent job doesn't block your more urgent job, try setting 'nice' values:

send your jobs using sbatch <jobscript.sh> and note the job ID then:

scontrol update jobid=<jobid> nice=X

And set

  • X=0 for the priority job
  • X larger than 0 (e.g. X=1000) for job that can wait.

A nice job is willing to wait, so higher nice value means lower priority.

A job which is 'less nice' (ie a lower number) will get a higher priority and run sooner.

Thanks to Jamie McKeown for sharing this tip


Back to FAQ index

Previous Next

HPC Support

Table of Contents

HPC Service

  • News & Changes

Main Content Sections

  • Documentation Home
  • Getting Started
  • Advanced Topics
  • Training & Workshops
  • FAQ
  • Policies & Procedures
  • Using the Wiki
  • Contact us & Get Help

Documentation Tools

  • Wiki Login
  • RSE-HPC Team Area
Developed and operated by
Research Software Engineering
Copyright © Newcastle University
Contact us @rseteam