Difference between revisions of "Qsub"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
 
Line 1: Line 1:
qsub is a Linux command-line based utility available on [[Endeavour]] which can be used to submit executable scripts to the [[PBS]] system.  
+
qsub is a Linux command-line based utility available on [[Endeavour]] which can be used to submit executable scripts to the [http://nuclear.unh.edu/wiki/index.php?title=Endeavour#OpenPBS_.3D_Torque_.3D_Portable_Batch_System PBS] system.  
  
 
= Usage =
 
= Usage =

Revision as of 04:11, 11 September 2009

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.