Examples

Prints LSF release version to stderr and exits.

Examples

% lsrtasks + task1 task2/"select[cpu && mem]" - task3 or in restricted form:

% lsrtasks + task1 task2/cpu:mem - task3

Adds the command task1 to the remote task list with no resource requirements, adds task2 with the resource requirement cpu:mem, and removes task3 from the remote task list.

% lsrtasks + myjob/swap>=100 && cpu

Adds myjob to the remote tasks list with its resource requirements.

Running lsrtasks with no arguments displays the resource requirements of tasks in the remote list, separated from the task name by a slash (/):

% lsrtasks

 

 

cc/cpu

cfd3d/type == SG1 && cpu

compressdir/cpu:mem

f77/cpu

verilog/cpu && cadence

compress/cpu

dsim/type == any

hspice/cpu && cadence

nas/swp > 200 && cpu

compress/-:cpu:mem

epi/hpux11 sparc

regression/cpu

cc/type == local

synopsys/swp >150 && cpu

 

Files

Reads the system task file lsf.task, and the user task file (.lsftask). See lsf.task(5) for more details.

The system and user task files contain two sections, one for the remote task list, the other for the local task list. The remote tasks section starts with Begin RemoteTasks and ends with End RemoteTasks. Each line in the section is an entry consisting of a task name.

A plus sign + or a minus sign – can optionally precede each entry. If no + or – is specified, then + is assumed.

See also

lseligible, ls_task, lsltasks, lsf.task, ls_eligible

274Platform LSF Command Reference