« Previous 1 2 3 4 Next »
Resource Management with Slurm
Slurm Job Scheduling System
sbatch
To submit a batch serial job to Slurm, use the sbatch
command:
$ sbatch runscript.sh
For batch jobs, sbatch
is one of the most important commands, made powerful by its large number of options.
srun
To run parallel jobs, use srun
:
$ srun --pty -p test -t 10 --mem 1000 /bin/bash [script or app]
The same command
$ srun --pty -p test -t 10 --mem 1000 /bin/bash
runs an application script interactively.
scancel
The scancel
command allows you to cancel a specific job; for example,
$ scancel 999999
cancels job 999999. You can find the ID of your job with the squeue
command.
« Previous 1 2 3 4 Next »
Buy this article as PDF
(incl. VAT)
Buy ADMIN Magazine
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Most Popular
Support Our Work
ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.