Platform LSF Reference Version 6.2

bsub
Platform LSF Reference
168
The job can only use hosts reserved by the reservation user1#0. LSF only selects hosts
in the reservation. You can use the
-m option to specify particular hosts within the list
of hosts reserved by the reservation, but you cannot specify other hosts not included in
the original reservation.
If you do not specify hosts (
bsub -m) or resource requirements (bsub -R), the default
resource requirement is to select hosts that are of any host type (LSF assumes
"type==any" instead of "type==local" as the default select string).
If you later delete the advance reservation while it is still active, any pending jobs still
keep the
"type==any" attribute.
A job can only use one reservation. There is no restriction on the number of jobs that
can be submitted to a reservation; however, the number of slots available on the hosts
in the reservation may run out. For example, reservation
user2#0 reserves 128 slots on
hostA. When all 128 slots on hostA are used by jobs referencing user2#0, hostA is
no longer available to other jobs using reservation
user2#0. Any single user or user
group can have a maximum of 100 reservation IDs
Jobs referencing the reservation are killed when the reservation expires. LSF
administrators can prevent running jobs from being killed when the reservation expires
by changing the termination time of the job using the reservation (
bmod -t) before the
reservation window closes.
To use an advance reservation on a remote host, submit the job and specify the remote
advance reservation ID. For example:
bsub -U user1#01@cluster1
In this example, we assume the default queue is configured to forward jobs to the remote
cluster.
-u mail_user
Sends mail to the specified email destination.
-v swap_limit
Set the total process virtual memory limit to swap_limit in KB for the whole job. The
default is no limit. Exceeding the limit causes the job to terminate.
-w 'dependency_expression'
LSF will not place your job unless the dependency expression evaluates to TRUE. If you
specify a dependency on a job that LSF cannot find (such as a job that has not yet been
submitted), your job submission fails.
The dependency expression is a logical expression composed of one or more
dependency conditions. To make dependency expression of multiple conditions, use the
following logical operators:
&& (AND)
|| (OR)
! (NOT)
Use parentheses to indicate the order of operations, if necessary.