1QTCSH(1)                   Grid Engine User Commands                  QTCSH(1)
2
3
4

NAME

6       qtcsh - tcsh v6.09 with transparent remote execution by use of qrsh.
7

SYNTAX

9       qtcsh [ tcsh options | -ABLR ]
10

DESCRIPTION

12       qtcsh  is an extension to the popular csh(1) derivative tcsh. It allows
13       the transparent remote execution commands entered in  qtcsh  controlled
14       via  Grid Engine.  qtcsh can be used as interactive command interpreter
15       as well as for the processing of tcsh shell scripts.
16
17       When invoked, qtcsh identifies which commands are to  be  run  remotely
18       and  which are not. For this purpose the files $SGE_ROOT/$SGE_CELL/com‐
19       mon/qtask and ~/.qtask are processed. Each line in these files  defines
20       a command that is intended to be run remotely (see qtask(5) for a defi‐
21       nition of the file format). The .qtask file in the user's  home  direc‐
22       tory  contains  the user's remote task specification, while the file in
23       the common directory is maintained by the administrator and  defines  a
24       cluster-wide  default behavior.  The contents of the administrator sup‐
25       plied qtask(5) file are completely  overridden  in  case  there  is  an
26       appropriate  entry  in  the  users qtask(5) file.  This is prevented in
27       case an exclamation mark is prefixed to the command name in the  admin‐
28       istrator's qtask file.
29
30       qtcsh  always  attempts  to  start  the  designated  tasks remotely via
31       qrsh(1).  Exceptions are
32
33       ·  if the user enters such commands via a relative or absolute pathname
34          instead  of  the  stand-alone  command  name  (see qtask(5) for more
35          information).
36
37       ·  if the environment variable JOB_ID is set  and  thus  qtcsh  assumes
38          that execution already happens remotely within a Grid Engine job and
39          thus executes tasks locally. This avoids unwanted recursions but can
40          be overridden by the command-line option -R and the built-in command
41          qrshmode -R (see corresponding descriptions below).
42
43       ·  if qtcsh cannot establish a connection of Grid Engine during  start-
44          up.  This  allows  to use qtcsh as login shell without the danger of
45          being blocked when no Grid Engine service is available.
46
47       qtcsh can operate in three different modes determining whether
48
49       ·  tasks are executed remotely.
50
51       ·  immediate or batch execution is requested.
52
53       ·  status output is verbose or only in case of any errors.
54
55       These modes either can  be  controlled  by  the  command-line  switches
56       described  below  during  qtcsh invocation or within an executing qtcsh
57       via the built-in command qrshmode as described in section BUILT-IN COM‐
58       MANDS.
59

OPTIONS

61       The  options listed below are special to qtcsh. The user is referred to
62       the tcsh(1) documentation for the explanation of further options.
63
64
65       -A     Switches qtcsh in verbose mode causing diagnostic output in case
66              of remote execution.
67
68       -B     Switches remote task execution to batch mode. Tasks submitted to
69              Grid Engine will be queued if they cannot start immediately.  As
70              a  consequence,  qtcsh  may  block  until the queued task can be
71              started by Grid Engine. While this behavior probably is undesir‐
72              able  during  an  interactive session, it may be very useful for
73              execution of shell scripts through qtcsh as it avoids failure of
74              the scripts due to temporarily unavailable resources for partic‐
75              ular tasks.
76
77       -L     Switches off default behavior of remote execution  of  commands.
78              Causes all commands to be executed locally even if they are con‐
79              tained in one of the qtask(5) files.
80
81       -R     Enforces remote execution of commands even if JOB_ID is  set  as
82              environment variable.
83

BUILT-IN COMMANDS

85       This section only describes additional shell builtin commands which are
86       not available in standard tcsh(1).
87
88
89       qrshmode [-ANBILR]
90              Without options, the current operational mode of qtcsh  is  dis‐
91              played. The options have the following effect:
92
93              -A   switch to verbose output mode
94              -N   switch to non-verbose output mode
95              -B   switch to batch execution mode
96              -I   switch to immediate execution mode
97              -L   always execute commands locally
98              -R   execute configured commands remotely
99
100

ENVIRONMENTAL VARIABLES

102       SGE_ROOT       Specifies  the location of the Grid Engine standard con‐
103                      figuration files.
104
105       SGE_CELL       If set, specifies  the  default  Grid  Engine  cell.  To
106                      address  a  Grid Engine cell qtcsh uses (in the order of
107                      precedence):
108
109                             The name of the cell specified in the environment
110                             variable SGE_CELL, if it is set.
111
112                             The name of the default cell, i.e. default.
113
114
115       SGE_DEBUG_LEVEL
116                      If set, specifies that debug information should be writ‐
117                      ten to stderr. In addition the level of detail in  which
118                      debug information is generated is defined.
119
120       SGE_QMASTER_PORT
121                      If  set,  specifies the tcp port on which sge_qmaster(8)
122                      is expected to listen for communication requests.   Most
123                      installations will use a services map entry for the ser‐
124                      vice "sge_qmaster" instead to define that port.
125
126       JOB_ID         If set when starting qtcsh the local operation  mode  is
127                      activated implicitly as if the -L option was specified.
128

FILES

130       ~/.qtask       user qtask file.
131       $SGE_ROOT/$SGE_CELL/common/qtask
132                      cluster qtask file.
133

SEE ALSO

135       sge_intro(1),    qrsh(1),   qtask(5)   as   well   as   tcsh(1)   under
136       $SGE_ROOT/3rd_party/qtcsh.
137
139       qtcsh contains portions of tcsh which is copyrighted by The Regents  of
140       the  University  of California.  Therefore, the following note applies:
141       This product includes software developed by the University of  Califor‐
142       nia, Berkeley and its contributors.
143
144       See     sge_intro(1)     and     the     information     provided    in
145       $SGE_ROOT/3rd_party/qtcsh for a statement of further rights and permis‐
146       sions.
147
148
149
150GE 6.1                   $Date: 2007/06/26 22:21:08 $                 QTCSH(1)
Impressum