---+ Using the Batch System You can use the standard PBS commands [[http://www.clusterresources.com/torquedocs/commands/qsub.shtml][qsub]] and [[http://www.clusterresources.com/torquedocs/commands/qstat.shtml][qstat]] to submit and query jobs; or instead some more convenient local commands =bqsub=, =qjobs=, and =qpeek=. ---++ PBS Commands <verbatim> qsub -q prod script.sh qstat -u USER qstat -q </verbatim> The =prod= queue runs jobs on the 64-bit SL5 nodes. This should be fine for most usage, but =sl4prod= is available for 32-bit SL4 jobs. ---++ Local Commands The PPD interactive machines have some local commands for making the PBS batch system a bit more convenient to use and more like the LSF system used on lxplus at CERN. You can use =bqsub= to submit jobs (similar to LSF's bsub command). This has nicer defaults than =qsub= (eg. you don't need to specify =-q prod=) and any command can be specified on the command-line ( =qsub= only allows a script to be given, with no arguments). Specify a time limit with =bqsub -c hh:mm=. The default is 8:00, with a maximum of 72:00 (3 days). eg. <verbatim> bqsub -c 24:00 Sherpa PTCUT:=20 EVENTS=1000 </verbatim> =qjobs= (like LSF's =bjobs=) lists your running jobs (ie. you don't have to specify the =-u= option) with more helpful information. =qpeek= (like LSF's =bpeek=) shows a running job's logfile (this prompts for your password to ssh to the batch worker node). Use =bqsub -h=, =qjobs -h=, or =qpeek -h= for help. -- Main.TimAdye - 2010-01-18</verbatim>
This topic: Computing/Documentation
>
WebHome
>
BatchSystem
>
BatchUsage
Topic revision: r1 - 2010-01-18 - TimAdye
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback