14

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?

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
JINUNG
  • 141
  • 1
  • 1
  • 3
  • 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 06 '14 at 12:05
  • [qstat](http://pubs.opengroup.org/onlinepubs/000095399/utilities/qstat.html), [qdel](http://pubs.opengroup.org/onlinepubs/000095399/utilities/qdel.html)... lizardite - amazing ore! –  Aug 06 '14 at 12:08

2 Answers2

21

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
RobSeg
  • 2,440
  • 2
  • 13
  • 13
1

To cancel the submitted job use the following command:

scancel jobid
techraf
  • 5,831
  • 10
  • 33
  • 51
Shwet
  • 11
  • 1