Iv'e introduced several jobs at PBS. Now I want the task that I sent to be the last to be the first.
One option is to save all preview jobs (using qhold). The problem is that I used the -W depend=afterok: switch to turn on tasks right after the task is completed.
So my PBS turn looks something like this:
468743.server username queue_name job1 4828 6 36 46gb 24:00 R 16:12 468744.server username queue_name job1_cont -- 6 36 46gb 24:00 H -- 468745.server username queue_name job1_cont -- 6 36 46gb 24:00 H -- 468746.server username queue_name job1_cont -- 6 36 46gb 24:00 H -- 468747.server username queue_name job1_cont -- 6 36 46gb 24:00 H -- 468748.server username queue_name job1_cont -- 6 36 46gb 24:00 H -- 468743.server username queue_name job2 4828 6 36 46gb 24:00 R 16:12 468744.server username queue_name job2_cont -- 6 36 46gb 24:00 H -- 468745.server username queue_name job2_cont -- 6 36 46gb 24:00 H -- 468746.server username queue_name job2_cont -- 6 36 46gb 24:00 H -- 468747.server username queue_name job2_cont -- 6 36 46gb 24:00 H -- 468748.server username queue_name job2_cont -- 6 36 46gb 24:00 H -- 468753.server username queue_name NewJob -- 6 36 46gb 24:00 H -- 468754.server username queue_name NewJob_cont -- 6 36 46gb 24:00 H -- 468755.server username queue_name NewJob_cont -- 6 36 46gb 24:00 H --
Now I want NewJob , which is the last in the line, to start after the completion of the first job in {job1, job2} and before any of "_cont". And I want NewJob_cont jobs to run after NewJob.
Can I change the position of NewJob in a row without destroying the remaining wait queue hierarchy?
pbs
Ronen
source share