| 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.
- 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.
- Options embedded in the script file (if no -b y|yes|Y|YES is included in any of the other option sources.)
- Options contained in the sge_request file in the current directory
- Options contained in the sge_request file in the user's home directory
- 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:
- Options resulting directly from DRMAA attribute settings. See the drmaa_attributes man page for a table.
- Options contained in the native specification attribute
- 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.
- Options embedded in the script file (if no -b y|yes|Y|YES is included in any of the other option sources.)
- Options contained in the sge_request file in the current directory
- Options contained in the sge_request file in the user's home directory
- Options contained in the sge_request file in the $SGE_ROOT/$SGE_CELL/common directory
- DRMAA default options:
|