displays or updates a remote task list
Displays or updates a user’s remote task list in $HOME/.lsftask.
When no options are specified, displays tasks listed in the system task file lsf.task and the user’s task file (.lsftask).
If there is a conflict between the system task file lsf.task and the user task file, the user task file overrides the system task file.
Tasks in the remote task list are eligible for remote execution. You can associate resource requirements with each task name. Eligibility of tasks not specified in a task list for remote execution depends on the operation mode: local or remote. In local mode, tasks are not eligible for remote execution; in remote mode, tasks are eligible. You can specify the operation mode when deciding the eligibility of a task (see lseligible(1), and ls_eligible(3)).
If plus sign (+) is specified and the specified task names are not already in the user task file (.lsftask), adds the task names to the file with a + sign preceding them.
If any of the task names are already in the .lsftask file, the actual action depends on the entry in the file. If the entry starts with a + or nothing, replaces the entry with the specified content; if the entry starts with a minus sign (–), deletes the entry from the .lsftask file.
Remote tasks can have a resource requirement expression associated with them, separated by a backslash (/). See ls_task(3).
If – is specified and specified task names are not already in the user task file (.lsftask), adds the task names to the file with a – preceding the task name.
If any of the task names are already in the .lsftask file, the actual action depends on the entry in the file. If the entry starts with a –, no operation is done; if the entry starts with a +, deletes the entry from the .lsftask file.
Remote tasks can have a resource requirement expression associated with them, separated by a backslash /. See ls_task(3).
% lsrtasks + task1 task2/"select[cpu && mem]" - task3
% 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.
% lsrtaskscc/cpu cfd3d/type == SG1 && cpu compressdir/cpu:memf77/cpu verilog/cpu && cadence compress/cpudsim/type == any hspice/cpu && cadence nas/swp > 200 && cpucompress/-:cpu:mem epi/hpux11 sparc regression/cpucc/type == local synopsys/swp >150 && cpu
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.