Qsub

From Nuclear Physics Group Documentation Pages
Revision as of 04:09, 11 September 2009 by Aduston (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

qsub is a Linux command-line based utility available on Endeavour which can be used to submit executable scripts to the PBS system.

Usage

The basic syntax for qsub is

$ qsub [options] <script>

Where <script> is the path to the executable script you want to submit to the PBS queue.

Options

Options can either be entered in the command line normally or added to the top of the script you're executing. PBS directives needed to be added to the top of the script on the lines immediately following the "shebang". They should be written as follows:

#PBS [option]

Sample Options

A complete list of options for qsub and their descriptions can be found in the manfile. Samples of more commonly used options will be provided here.