5.13. Deleting a job¶
Able to delete the submitted job by the user with pjdel command. Also deletable the executing job.
[Execution example]
If execute pjdel and job deletion was accepted successfully, the message below will be displayed.
[INFO] PJM 0100 pjdel Accepted job jobid.
If execute pjdel and specify the job which does not exist, the message below will be displayed.
[ERR.] PJM 0112 pjdel Job "Unexisting job ID" does not exist.
5.13.1. Normal job¶
Indicates how to delete normal jobs.
Here, the following is the normal job.
Normal job
Interactive job
Master/Worker type job
Here is the use example.
Example of deleting a job.
If execute by specifying job ID to pjdel command, the job is deleted.
[_LNlogin]$ pjdel 12345678 [INFO] PJM 0100 pjdel Accepted job 12345678.
Example of deleting the multiple job
If execute by specifying the multiple job ID to pjdel command, the specified job is deleted.
[_LNlogin]$ pjdel 12345678 12345680 [INFO] PJM 0100 pjdel Accepted job 12345678. [INFO] PJM 0100 pjdel Accepted job 12345680.
5.13.2. Step job¶
Indicates how to delete step jobs.
When canceling all sub jobs by specifying a job ID
[_LNlogin]$ pjdel 12345678 [INFO] PJM 0100 pjdel Accepted job 12345678_0. [INFO] PJM 0100 pjdel Accepted job 12345678_1. [INFO] PJM 0100 pjdel Accepted job 12345678_2.
Canceling by specifying one sub job ID
[_LNlogin]$ pjdel 12345678_3 [INFO] PJM 0100 pjdel Accepted job 12345678_3.
Canceling by specifying a sub job range
[_LNlogin]$ pjdel 12345678_2-5 [INFO] PJM 0100 pjdel Accepted job 12345678_2. [INFO] PJM 0100 pjdel Accepted job 12345678_3. [INFO] PJM 0100 pjdel Accepted job 12345678_4. [INFO] PJM 0100 pjdel Accepted job 12345678_5.
5.13.3. Bulk job¶
Indicates how to delete a bulk job.
When canceling all sub jobs by specifying a job ID
[_LNlogin]$ pjdel 28128 [INFO] PJM 0100 pjdel Accepted job 28128.
Canceling by specifying one sub job ID
[_LNlogin]$ pjdel 1362939[3] [INFO] PJM 0100 pjdel Accepted job 1362939[3].
Canceling by specifying a sub job range
[_LNlogin]$ pjdel 1363254[0-2] [INFO] PJM 0100 pjdel Accepted job 1363254[0-2].
5.13.4. Job delete command options¶
Typical options of pjdel command are shown.
For details, refer to “Job Operation Software End User Guide”.
Option name
Function
--enforce
When canceling a job that is running a prolog script or epilog script, specify
--enforce
option. Also if specify--enforce
option and execute pjdel command to the job which is executing job script, delete the job without running the epilog script.--llio-flush
When canceling a job that is being executed, wait for flushing of unwritten files within the range of the job elapsed time limit.
--help
Shows help.