Hierarchy of QSub Command Line Switches

Since there has been a recent flurry of conversation on the Grid Engine mailing lists about assembling a useful Grid Engine knowledge base, I felt compelled to contribute. So, I present you the hierarchy of command line switches used by qsub.

The following list is in order of precedence, with 1 having the highest precedence. A higher precedence option will overwrite a lower precedence option.

  1. Options passed directly to qsub via the command line. Options contained in the file referenced by -@ in the qsub command line are inlined into the command line switches.
  2. Options embedded in the script file (if no -b y|yes|Y|YES is included in any of the other option sources.)
  3. Options contained in the sge_request file in the current directory
  4. Options contained in the sge_request file in the user's home directory
  5. Options contained in the sge_request file in the $SGE_ROOT/$SGE_CELL/common directory

In DRMAA, the option list is similar, except that there are four additional sources for switches, and there is no command line. Here's the DRMAA switch hierarchy:

  1. Options resulting directly from DRMAA attribute settings. See the drmaa_attributes man page for a table.
  2. Options contained in the native specification attribute
  3. Options referenced by the job category attribute. Options contained in the file referenced by -@ in the job category attribute are inlined into the job category's switches.
  4. Options embedded in the script file (if no -b y|yes|Y|YES is included in any of the other option sources.)
  5. Options contained in the sge_request file in the current directory
  6. Options contained in the sge_request file in the user's home directory
  7. Options contained in the sge_request file in the $SGE_ROOT/$SGE_CELL/common directory
  8. DRMAA default options:
    • -p 0
    • -b y
    • -shell n
    • -w e
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

templedf

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today