Queues and host preference

A queue can define host preferences for jobs. Host preferences specified by bsub -m override the queue specification.

In the queue definition in lsb.queues, use the HOSTS parameter to list the hosts or host groups to which the queue can dispatch jobs.

Use the not operator (~) to exclude hosts or host groups from the list of hosts to which the queue can dispatch jobs. This is useful if you have a large cluster, but only want to exclude a few hosts from the queue definition.