Using the Batch System

You can use the standard PBS commands qsub and qstat to submit and query jobs; or instead some more convenient local commands bqsub, qjobs, and qpeek.

PBS Commands

qsub -q prod script.sh
qstat -u USER 
qstat -q

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.

bqsub -c 24:00 Sherpa PTCUT:=20 EVENTS=1000

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.

-- TimAdye - 2010-01-18</verbatim>

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2010-01-18 - TimAdye
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback