DanT's GridBlog  
All | Chess | Cooking | Grid | Java | Misc | Travel
 
Thursday March 17, 2005
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

Permalink Comments [0] (2007-07-05 15:29:51.0/2005-03-17 07:05:37.0)
Trackback: http://blogs.sun.com/templedf/entry/hierarchy_of_command_line_switches
 
Trackback URL: http://blogs.sun.com/templedf/entry/hierarchy_of_command_line_switches
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed
 
Calendar
« November 2009
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
Blog::Navigation
Bookmarks::Grid Engine
Bookmarks::Blogroll
Bookmarks::News
Link to DanT's GridBlog

Link to DanTs GridBlog

Site notes

This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.
Powered by Roller Weblogger.

XML