Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Batch System | ||||||||
Added: | ||||||||
> > | Overview | |||||||
The PPE group maintains a PBS![]()
| ||||||||
Line: 15 to 17 | ||||||||
| ||||||||
Changed: | ||||||||
< < | The following queues are provided: | |||||||
> > | The PBS headnode is offler.ppe.gla.ac.uk , and you will see this name in the output of various PBS commands.
Queues | |||||||
| ||||||||
Line: 29 to 34 | ||||||||
Jobs running in the 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. | ||||||||
Changed: | ||||||||
< < | The PBS headnode is offler.ppe.gla.ac.uk , and you will see this name in the output of various PBS commands. | |||||||
> > |
Job PrioritisationThe cluster is configured with a fair-share scheduler, which aims to distribute compute time fairly among users. When multiple users are competing for resources, preference will be shown to users whose recent usage has been lower. Short jobs are also generally given priority over longer jobs. | |||||||
Using PBS | ||||||||
Line: 36 to 44 | ||||||||
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. | ||||||||
Added: | ||||||||
> > | ||||||||
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:
#PBS -N TestJob | ||||||||
Changed: | ||||||||
< < | #PBS -l walltime=1,mem=1024Mb #PBS -m abe #PBS -M user@machine # | |||||||
> > | #PBS -o test.log #PBS -j oe #PBS -l mem=1024Mb | |||||||
echo "This is a test..." | ||||||||
Line: 75 to 86 | ||||||||
Req'd Req'd Elap
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time
-------- -------- ---------------- ------ ----- --- ------ ----- - ----- | ||||||||
Changed: | ||||||||
< < | 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 node007 | |||||||
> > | 1000151.offler.p rrabbit medium6 test_job_123 56299 1 1 -- 05:59 R 03:21 node034 1000152.offler.p bbunny long6 test_job 29369 1 1 -- 24:00 R 01:24 node007 | |||||||
Changed: | ||||||||
< < | This
QueuesThere are currently eight queues on the batch system. The four queues ending in '4' will run jobs on SL4 machines and the four queues ending in '5' will run jobs on SL5 machines: | |||||||
> > | You can also provide a job ID to limit the output to a particular job: | |||||||
| ||||||||
Changed: | ||||||||
< < | Queue Memory CPU Time Walltime Node Run Que Lm State
------ -------- -------- ---- --- --- -- ----- short4 -- -- 01:00:00 -- 0 0 -- E R medium4 -- -- 06:00:00 -- 0 0 -- E R long4 -- -- 24:00:00 -- 0 0 -- E R vlong4 -- -- 120:00:0 -- 0 0 -- E R short5 -- -- 01:00:00 -- 0 0 -- E R medium5 -- -- 06:00:00 -- 0 0 -- E R long5 -- -- 24:00:00 -- 0 0 -- E R vlong5 -- -- 120:00:0 -- 0 0 -- E R where short5 is the default queue and Walltime is the maximum walltime allowed on each queue.
While it is possible to view your own jobs with qstat , the command will not display all jobs. To display all jobs use the Maui client command showq
To see the current priorities of waiting jobs use the command showq -i . | |||||||
> > | $ qstat 1000151 | |||||||
Changed: | ||||||||
< < | Job PriorityThe priority of a job is the sum of several weighting factors. | |||||||
> > | 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 test_job_123 56299 1 1 -- 05:59 R 03:21 node034 | |||||||
Deleted: | ||||||||
< < |
| |||||||
Delete a job |