LSF Version 7.3 - Running Jobs With Platform LSF
Submitting a Job to Specific Hosts
To indicate that a job must run on one of the specified hosts, use the
bsub -m "
hostA hostB
..." option.
By specifying a single host, you can force your job to wait until that host is available and
then run on that host.
For example:
bsub -q idle -m "hostA hostD hostB" myjob
This command submits myjob to the idle queue and tells LSF to choose one host from
hostA, hostD and hostB to run the job. All other batch scheduling conditions still
apply, so the selected host must be eligible to run the job.
Resources and bsub -m
If you have applications that need specific resources, it is more flexible to create a new
Boolean resource and configure that resource for the appropriate hosts in the cluster.
This must be done by the LSF administrator. If you specify a host list using the
-m
option of
bsub, you must change the host list every time you add a new host that
supports the desired resources. By using a Boolean resource, the LSF administrator can
add, move or remove resources without forcing users to learn about changes to resource
configuration.