Platform LSF Reference Version 6.2

lstcsh
Platform LSF Reference
252
OPTIONS
tcsh_options
lstcsh
accepts all the options used by tcsh. See tcsh(1) for the meaning of specific
options.
-L
Executes a script with load sharing enabled.
There are three ways to run a
lstcsh script with load sharing enabled:
- Execute the script with the
-L option
- Use the built
-in command source to execute the script
- Insert "
#!/local/bin/lstcsh -L" as the first line of the script (assuming you
install
lstcsh in /local/bin).
Using
@ or lsmode (see below) in a script will not enable load sharing if the script has
not been executed using one of these three ways.
USAGE
In addition to the built-in commands in tcsh, lstcsh provides the following built-in
commands:
lsmode [on | off] [local | remote] [
@] [v | -v] [e | -e] [t | -t] [connect [host_name
...]] [
lsrtasks [lsrtasks_options]] [lsltasks [lsltasks_options]] [jobs]
on | off
Turns load sharing on or off. When off, you can send a command line to a remote host
only if forced eligibility is specified with
@.
local | remote
Sets operation mode of lstcsh.
The default is
local.
local
Local operation mode. This is the default mode.
In this mode, a command line is eligible for remote execution only if all the
specified tasks are present in the remote task list in the user’s tasks file
$HOME/.lsftask, or if @ is specified on the command line to force specified
tasks to be eligible for remote execution.
Tasks in the local task list must be executed locally.
The local mode of operation is conservative, and can fail to take advantage of
the performance benefits and load balancing advantages of
LSF.
The way
lstcsh handles tasks that are not present in the remote task list nor
in the local task list, depends on the mode of operation of
lstcsh (local or
remote).