Submit a job to specific hosts

Specify which hosts a job can run on.

About this task

When several hosts can satisfy the resource requirements of a job, the hosts are ordered by load. However, in certain situations it may be desirable to override this behavior to give preference to specific hosts, even if they are more heavily loaded.
Note:

By specifying a single host, you can force your job to wait until that host is available and then run on that host.

Procedure

To indicate that a job must run on one of the specified hosts, use the bsub -m "hostA hostB ..." option.

For example:

bsub -m "hostA hostD hostB" myjob