Modify your pending jobs on hpres cluster
Intro: If you have a job on PEND status, you are able to modify the job submission parameters (given by a job submission script). You can also modify entire job arrays or individual elements of a job array. But, if your job is on RUN status, you are NOT able to modify the job anymore.
The biggest advantage with bmodify is when you have your jobs waiting on the line and suddenly realize something needs to be changed. You certainly do not want to withdraw the jobs and resubmit them because it will put all your jobs at the end of the waiting line. So, the best thing to do is to modify your existing job on the current waiting list.
The command to modify your pending job is "bmodify". The following are examples showing how to use it.
Example 1: Replacing the job command line, use the bmod -Z "new_command" option.
The following example replaces the command line option for job 634588 (the jobID) with "myjob file":
[testy@n137 ~]bmodify -Z "mynew_executable_program" 634588
Parameters of job 634588 are being changed
Example 2: Changing a job parameter
To change a specific job parameter, use bmod with the bsub option used to specify the parameter. The specified options replace the submitted options. The following example
changes the start time of job 634588 to 2:00 a.m.:
[testy@n137 ~]bmodify -b 2:00 634588
Example 3: Resetting the job ouput to cancel the email notification for job 634588
[testy@n137 ~]bmodify -u /dev/null 634588
|