Line: 1 to 1 | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Batch System | |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | The PPE group maintains a PBS![]() | ||||||||||||||||||||||||
> > | |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | The batch system uses the TORQUE![]() | ||||||||||||||||||||||||
> > | The PPE group maintains a PBS![]() | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||
The following queues are provided:
| |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||
> > |
vlong* queues can be pre-empted by jobs in the short* and medium* queues. A pre-empted job is placed in the suspended state; it remains in memory on the compute node, but is no longer being executed. Once the pre-empting job has finished, the pre-empted job will be allowed to continue.
The PBS headnode is offler.ppe.gla.ac.uk , and you will see this name in the output of various PBS commands. | ||||||||||||||||||||||||
Using PBS | |||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||
> > | Batch jobs can be submitted and managed from any Linux desktop using the commands described in this section. Further information on these commands can be found in the linked documentation and Linux man pages at the bottom of this page. | ||||||||||||||||||||||||
Create a submission scriptJobs are defined using a submission script, which is like a shell script with the addition of certain directives (indicated by the#PBS prefix) which tell PBS how the job should be handled. A simple submission script might look like the following: | |||||||||||||||||||||||||
Line: 44 to 55 | |||||||||||||||||||||||||
$ qsub <FILENAME> | |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | To submit a job defined by the submission script test.pbs : | ||||||||||||||||||||||||
> > | After running this command, the ID of the newly-submitted will be output. For example, to submit a job defined by the submission script test.pbs : | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | $ qsub test.pbs | ||||||||||||||||||||||||
> > | $ qsub test.pbs 1000150.offler.ppe.gla.ac.uk | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | More details can be found in the qsub man page![]() | ||||||||||||||||||||||||
> > | The numerical portion of this ID (1000150 in this example) can be used to manage the job in the future. | ||||||||||||||||||||||||
Show running jobs | |||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||
> > | You can view details of submitted jobs using the qstat command:
$ qstat offler.ppe.gla.ac.uk: Req'd Req'd Elap Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time -------------------- -------- -------- ---------------- ------ ----- --- ------ ----- - ----- 1000151.offler.p rrabbit medium6 maus_sim_814 56289 1 1 -- 05:59 R 03:21 node034 1000152.offler.p bbunny long6 test_job 29669 1 1 -- 24:00 R 01:24 node007This | ||||||||||||||||||||||||
Line: 78 to 106 | |||||||||||||||||||||||||
To see the current priorities of waiting jobs use the command showq -i . | |||||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||||
< < | Job Pre-emptionJobs in thevlong4 and vlong5 queues can be preempted by jobs waiting in the short4 , short5 , medium4 or medium5 queues. A preempted job is placed in the suspended state - it remains in memory but is not longer being executed. Once the preempting job has finished the preempted job starts executing again. | ||||||||||||||||||||||||
Job PriorityThe priority of a job is the sum of several weighting factors. | |||||||||||||||||||||||||
Line: 90 to 114 | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Killing a job | ||||||||||||||||||||||||
> > | Delete a jobJobs are deleted using theqdel command:
$ qsub <JOB_ID>
To delete the job with ID 12345 :
$ qdel 12345
References | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Jobs may be terminated by executing qdel JOBID where the JOBID is the numerical ID code returned in the qstat listing. | ||||||||||||||||||||||||
> > |