Run a task on a host with specific resources

About this task

If you want to run mytask on a host that meets specific resource requirements, you can specify the resource requirements using the -R res_req option of lsrun.

Procedure

lsrun -R 'cserver && swp>100' mytask

In this example mytask must be run on a host that has the resource cserver and at least 100 MB of virtual memory available.

You can also configure LSF to store the resource requirements of specific tasks. If you configure LSF with the resource requirements of your task, you do not need to specify the -R res_req option of lsrun on the command-line. If you do specify resource requirements on the command line, they override the configured resource requirements.

See the LSF Configuration Reference for information about configuring resource requirements in the lsf.task file.