Platform LSF Reference Version 6.2
lsb.queues
Platform LSF Reference
407
If host groups and host partitions are included in the list, the job can run on any host in
the group or partition. All the members of the host list should either belong to a single
host partition or not belong to any host partition. Otherwise, job scheduling may be
affected.
Some items can be followed by a plus sign (
+) and a positive number to indicate the
preference for dispatching a job to that host. A higher number indicates a higher
preference. If a host preference is not given, it is assumed to be 0. If there are multiple
candidate hosts, LSF dispatches the job to the host with the highest preference; hosts at
the same level of preference are ordered by load.
If host groups and host partitions are assigned a preference, each host in the group or
partition has the same preference.
Use the keyword
others to include all hosts not explicitly listed.
Use the keyword
all to include all hosts not explicitly excluded.
Use the keyword
all@cluster_name hostgroup_name or allremote hostgroup_name
to include lease in hosts.
Use the not operator (
~) to exclude hosts from the all specification in the queue. This
is useful if you have a large cluster but only want to exclude a few hosts from the queue
definition.
The not operator can only be used with the
all keyword. It is not valid with the
keywords
others and none.
The not operator (
~) can be used to exclude host groups.
With MultiCluster resource leasing model, use the format host_name
@cluster_name to
specify a borrowed host. LSF does not validate the names of remote hosts. The keyword
others indicates all local hosts not explicitly listed. The keyword all indicates all local
hosts not explicitly excluded. Use the keyword
allremote to specify all hosts
borrowed from all remote clusters. Use
all@cluster_name to specify the group of all
hosts borrowed from one remote cluster. You cannot specify a host group or partition
that includes remote resources, unless it uses the keyword
allremote to include all
remote hosts.
With MultiCluster resource leasing model, the not operator (
~) can be used to exclude
local hosts or host groups. You cannot use the not operator (
~) with remote hosts.
Hosts that participate in queue-based fairshare cannot be in a host partition.
Compatibility
Host preferences specified by bsub -m override the queue specification.
Example 1
HOSTS=hostA+1 hostB hostC+1 hostD+3
This example defines three levels of preferences: run jobs on hostD as much as
possible, otherwise run on either
hostA or hostC if possible, otherwise run on hostB.
Jobs should not run on
hostB unless all other hosts are too busy to accept more jobs.
Example 2
HOSTS=hostD+1 others
Run jobs on hostD as much as possible, otherwise run jobs on the least-loaded host
available.
With MultiCluster resource leasing model, this queue does not use borrowed hosts.
Example 3
HOSTS=all ~hostA