Command Reference Guide

Option Descriptions
304 Installing and Running Platform LSF Session Scheduler
If the parameter LSB_STDOUT_DIRECT in lsf.conf is set to Y or y, the standard
error output of a task is written to the file you specify as the job runs. If
LSB_STDOUT_DIRECT is not set, standard error output of a task is written to a
temporary file and copied to the specified file after the task finishes.
You can use the special characters %J, %I, %T, %X in the name of the input file. %J
is replaced by the job ID. %I is replaced by the job array index, %T is replaced with
the task ID, and %X is replaced by the task array index.
If the current working directory is not accessible on the execution host after the job
starts, Session Scheduler writes the standard error output file to
/tmp/.
NOTE: The file path can contain up to 4094 characters including the directory, file name, and
expanded values for %J, %I, %T and %X
-i input_file
Gets the standard input for the job from specified file. Specify an absolute or relative
path. The input file can be any type of file, though it is typically a shell script text file.
If
-i is not specified, standard input defaults to /dev/null.
You can use the special characters %J, %I, %T, %X in the name of the input file. %J
is replaced by the job ID. %I is replaced by the job array index, %T is replaced with
the task ID, and %X is replaced by the task array index.
NOTE: The file path can contain up to 4094 characters including the directory, file name, and
expanded values for %J, %I, %T and %X
-J task_name[ index_list]
Specifies the indices of the task array. The index list must be enclosed in square
brackets. The index list is a comma-separated list whose elements have the syntax
start[-end[:step]] where start, end and step are positive integers. If the step is
omitted, a step of one is assumed. The task array index starts at one.
All tasks in the array share the same option parameters. Each element of the array
is distinguished by its array index.
-j "starter [starter] [%USRCMD] [starter] "
Task job starter. Creates a specific environment for submitted tasks prior to
execution.
The job starter is any executable that can be used to start the task (that is, it can
accept the task as an input argument). Optionally, additional strings can be
specified.
By default, the user commands run after the job starter. A special string,
%USRCMD,
can be used to represent the position of the user's task in the job starter command
line. The
%USRCMD string may be followed by additional commands.
-o output_file
Specify a file path. Appends the standard output of the task to the specified file. The
default is to output to the same
stdout as the ssched command.