Commands

In addition to the general bash command (see Basics), we need to be able to interact with the scheduler. On Euler we have slurm. In this section you will find a collection of most important slurm commands. You will see them later again in the tutorial.

Learning Objectives

◇ Learn the most importand slurm commands.

Submit a job

sbatch < submit.tool.slurm.sh

Overview of the submitted jobs

squeue

CPU and memory usage of running jobs

myjobs -r
myjobs <job-ID>

Kill specific job

scancel <Job-ID>

Kill all running jobs

scancel --user=$USER

Kill job 15-23 of job array job-ID

scancel <job-ID>[15-23]