LSF Version 7.3 - Running Jobs With Platform LSF
Submitting a job associated to a user group (bsub -G)
You can use the bsub -G
user_group
option to submit a job and associate it with a
specified user group. This option is only useful with fairshare scheduling.
For more details on fairshare scheduling, see Administering Platform LSF.
You can specify any user group to which you belong as long as it does not contain any
subgroups. You must be a direct member of the specified user group.
User groups in non-leaf nodes cannot be specified because it will cause ambiguity in
determining the correct shares given to a user.
For example, to submit the job
myjob associated to user group special:
bsub -G special myjob
Submitting a job with a job name (bsub -J)
Use bsub -J job_name to submit a job and assign a job name to it.
Job names can contain up to 4094 characters for UNIX and Linux, or up to 255
characters for Windows.
You can later use the job name to identify the job. The job name need not be unique.
For example, to submit a job and assign the name
my_job:
bsub -J my_job
You can also assign a job name to a job array. See Administering Platform LSF for more
information about job arrays.
Submitting a job to a service class (bsub -sla)
Use the bsub -sla service_class_name to submit a job to a service class for SLA-
driven scheduling.
You submit jobs to a service class as you would to a queue, except that a service class is
a higher level scheduling policy that makes use of other, lower level LSF policies like
queues and host partitions to satisfy the service-level goal that the service class
expresses.
For example:
bsub -W 15 -sla Kyuquot sleep 100
submits the UNIX command sleep together with its argument 100 as a job to the
service class named
Kyuquot.
The service class name where the job is to run is configured in
lsb.serviceclasses. If the SLA does not exist or the user is not a member of the
service class, the job is rejected.
Outside of the configured time windows, the SLA is not active, and LSF schedules jobs
without enforcing any service-level goals. Jobs will flow through queues following queue
priorities even if they are submitted with
-sla.
-W
lsb.queues