Platform LSF Reference Version 6.2

bsub
Platform LSF Reference
157
-eo err_file
Specify a file path. Overwrites the standard error output of the job to the specified file.
If the parameter LSB_STDOUT_DIRECT in
lsf.conf is set to Y or y, the standard
error output of a job is written to the file you specify as the job runs, which will occur
every time the job is submitted with the overwrite option, even if it is requeued manually
or by the system. If LSB_STDOUT_DIRECT is not set, it is written to a temporary file
and copied to the specified file after the job finishes. LSB_STDOUT_DIRECT is not
supported on Windows.
If you use the special character
%J in the name of the error file, then %J is replaced by
the job ID of the job. If you use the special character
%I in the name of the error file,
then
%I is replaced by the index of the job in the array if the job is a member of an array.
Otherwise,
%I is replaced by 0 (zero).
If the current working directory is not accessible on the execution host after the job
starts, LSF writes the standard error output file to
/tmp/.
-ext[sched] "external_scheduler_options"
Application-specific external scheduling options for the job.
To enable jobs to accept external scheduler options, set
LSF_ENABLE_EXTSCHEDULER=y in
lsf.conf.
You can abbreviate the
-extsched option to -ext.
You can specify only one type of external scheduler option in a single
-extsched
string.
For example, SGI IRIX hosts and AlphaServer SC hosts running RMS can exist in the
same cluster, but they accept different external scheduler options. Use external
scheduler options to define job requirements for either IRIX cpusets OR RMS, but not
both. Your job will run either on IRIX or RMS. If external scheduler options are not
defined, the job may run on IRIX but it will not run on an RMS host.
The options set by
-extsched can be combined with the queue-level
MANDATORY_EXTSCHED or DEFAULT_EXTSCHED parameters. If
-extsched and MANDATORY_EXTSCHED set the same option, the
MANDATORY_EXTSCHED setting is used. If
-extsched and
DEFAULT_EXTSCHED set the same options, the
-extsched setting is used.
Use DEFAULT_EXTSCHED in
lsb.queues to set default external scheduler
options for a queue.
To make certain external scheduler options mandatory for all jobs submitted to a queue,
specify MANDATORY_EXTSCHED in
lsb.queues with the external scheduler
options you need or your jobs.
See Using Platform LSF HPC for information about specific external scheduler
options.
-E "pre_exec_command [arguments ...]"
Runs the specified pre-exec command on the batch job’s execution host before actually
running the job. For a parallel job, the pre-exec command runs on the first host selected
for the parallel job.