3.5.5. Cancel the job before the job finished

3.5.5.1. Description

Use qdel command for cancelling the job.

3.5.5.2. Usage

qdel [ -x ] [ -W force ] job_identifier [job_identifier ...]

3.5.5.3. List of options

List of options

Option

Value

-x

Delete job and job history of the specified job.

-W force

Forced cancel job.

3.5.5.4. Example

userA@gpu2:~/work/20180712_sample> qstat
Job id            Name             User              Time Use S Queue
----------------  ---------------- ----------------  -------- - -----
3413.cmspbs1       abinit           userA           00:00:00 R P_030
3414.cmspbs1       STDIN_gpu2_22   userA           00:00:00 R IP_001
userA@gpu2:~/work/20180712_sample> qdel 3414.cmspbs1
userA@gpu2:~/work/20180712_sample> qstat
Job id            Name             User              Time Use S Queue
----------------  ---------------- ----------------  -------- - -----
3413.cmspbs1        abinit           userA           00:00:00 R P_030
userA@gpu2:~/work/20180712_sample>