Running 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.