17

I'm running some simulation by using the Linux cluster but I have some problem in my job.

I want to cancel any job(ID : 750, 752, 753 name : gib) but I don't know how to cancel this job.

Enclosed file is my job screen.enter image description here

How to kill a jobs by its job id?

2
  • 1
    Which job control software is the cluster using? Google for qstat suggests it might be Sun Grid (then Oracle Grid, now Univa Grid) or Open Grid (a fork of that). Commented Aug 6, 2014 at 12:05
  • qstat, qdel... lizardite - amazing ore! Commented Aug 6, 2014 at 12:08

2 Answers 2

24

You can kill a qstat process using the qdel command:

qdel *ID* 

so in your case:

qdel 750 

If it won't die, you can force kill using -f option:

qdel -f 750 
2
  • 2
    This is why I love this site. No question can be submitted that someone won't know how to answer. Commented Aug 6, 2014 at 12:32
  • This works though I got 'option "f" not found' adding -f to force killing the job. Commented Jun 21, 2019 at 12:43
1

To cancel the submitted job use the following command:

scancel jobid 
1
  • 2
    How a slurm manager command ( scancel ) is related to the POSIX batch queues? Commented Nov 9, 2016 at 21:37

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.