The following examples are based on the queues defined
in the default configuration. Your LSF administrator
may have configured different queues.
Procedure
To run a job during off hours because the job generates
very high load to both the file server and the network, you can submit
it to the night queue:
bsub -q "night" my_job
If you have an urgent job to run, you may want to submit
it to the priority queue:
bsub -q "priority" my_job
If you want to use hosts owned by others and you do not
want to bother the owners, you may want to run your low priority jobs
on the idle queue so that as soon as the owner comes back, your jobs
get suspended:
bsub -q "idle" my_job
If you are running small jobs and do not want to wait too
long to get the results, you can submit jobs to the short queue to
be dispatched with higher priority:
bsub -q "short" my_job
Tip:
Make sure your
jobs are short enough that they are not killed for exceeding the CPU
time limit of the queue (check the resource limits of the queue, if
any).
If your job requires a specific execution environment,
you may need to submit it to a queue that has a particular job starter
defined. LSF administrators
are able to specify a queue-level job starter as part of the queue
definition; ask them for the name of the queue and configuration details.