-q

Submits the job to one of the specified queues.

Categories

properties

Synopsis

bsub -q "queue_name ..."

Description

Quotes are optional for a single queue. The specified queues must be defined for the local cluster. For a list of available queues in your local cluster, use bqueues.

When a list of queue names is specified, LSF attempts to submit the job to the first queue listed. If that queue cannot be used because of the job's resource limits or other restrictions, such as the requested hosts, your accessibility to a queue, queue status (closed or open), then the next queue listed is considered. The order in which the queues are considered is the same order in which these queues are listed.

Examples

bsub -q short -o my_output_file "pwd; ls"

Submit the UNIX command pwd and ls as a job to the queue named short and store the job output in my_output file.

bsub -q "queue1 queue2 queue3" -c 5 my_program

Submit my_program to one of the candidate queues: queue1, queue2, and queue3 that are selected according to the CPU time limit specified by -c 5.