Platform LSF Reference Version 6.2
bsub
Platform LSF Reference
151
-T thread_limit
-U reservation_ID
-u mail_user
-v swap_limit
-w 'dependency_expression'
-W
[hour:]minute[/host_name | /host_model]
-wa '[signal | command | CHKPNT]'
-wt '
[hour:]minute'
-Zs
-h
-V
DESCRIPTION
Submits a job for batch execution and assigns it a unique numerical job ID.
Runs the job on a host that satisfies all requirements of the job, when all conditions on
the job, host, queue, and cluster are satisfied. If LSF cannot run all jobs immediately, LSF
scheduling policies determine the order of dispatch. Jobs are started and suspended
according to the current system load.
Sets the user’s execution environment for the job, including the current working
directory, file creation mask, and all environment variables, and sets LSF environment
variables before starting the job.
When a job is run, the command line and
stdout/stderr buffers are stored in the
directory home_directory
/.lsbatch on the execution host. If this directory is not
accessible,
/tmp/.lsbtmpuser_ID is used as the job’s home directory. If the current
working directory is under the home directory on the submission host, then the current
working directory is also set to be the same relative directory under the home directory
on the execution host. The job is run in
/tmp if the current working directory is not
accessible on the execution host.
If no command is supplied,
bsub prompts for the command from the standard input.
On UNIX, the input is terminated by entering CTRL-D on a new line. On Windows,
the input is terminated by entering CTRL-Z on a new line.
Use
-g to submit a job to a job group.
Use
-n to submit a parallel job.
Use
-I, -Is, or -Ip to submit a batch interactive job.
Use
-J to assign a name to your job.
Use
-k to specify a checkpointable job.
To kill a batch job submitted with
bsub, use bkill.
Jobs submitted to a chunk job queue with the following options are not chunked; they
are dispatched individually:
◆
-I (interactive jobs)
◆
-c (jobs with CPU limit greater than 30)
◆
-W (jobs with run limit greater than 30 minutes)