How can I submit a SLURM job?

This KB Article References: High Performance Computing

This Information is Intended for: Instructors, Researchers, Staff, Students
Created: 09/30/2019 Last Updated: 09/18/2024
 

To submit your slurm job to the scheduler, first load the slurm modules:

module load slurm

Then to submit the job, you can execute the command:

sbatch <jobfile>

The job number will be printed to the shell and can later be used to check the state of your job.

Note that your job script must be saved to a file - copying and pasting the script into the shell will not work!

If you would like your job to be interactive, please follow the instructions on this page.

 

To see a full list of options available to the sbatch command, issue the command:

man sbatch

 

For more information on SLURM, please also see the official documentation.

 

Article Topic