8

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?

  • 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). – derobert Aug 6 '14 at 12:05
  • qstat, qdel... lizardite - amazing ore! – user44370 Aug 6 '14 at 12:08
15

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
|improve this answer|||||
  • 2
    This is why I love this site. No question can be submitted that someone won't know how to answer. – Bratchley Aug 6 '14 at 12:32
  • This works though I got 'option "f" not found' adding -f to force killing the job. – Hamid Heydarian Jun 21 '19 at 12:43
1

To cancel the submitted job use the following command:

scancel jobid
|improve this answer|||||
  • 2
    How a slurm manager command ( scancel ) is related to the POSIX batch queues? – grochmal Nov 9 '16 at 21:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.