[ Platform Documentation ] [ Title ] [ Contents ] [ Previous ] [ Next ] [ Index ]
lsrtasks
displays or updates a user's remote task list
SYNOPSIS
lsrtasks
[+
task_name[/
res_req] ... | - task_name[/
res_req] ...]
lsrtasks
[-h
| -V
]DESCRIPTION
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's task file.lsftask
, the user's 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)
, andls_eligible(3)
).OPTIONS
+ task_name[/res_req] ...
If plus sign (+) is specified and the specified task names are not already in the file
.lsftask
in the user's home directory, 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)
.- task_name[/res_req] ...
If - is specified and specified task names are not already in the file
.lsftask
in the user's home directory, 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).-h
Prints command usage to
stderr
and exits.-V
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, addstask2
with the resource requirementcpu:mem
, and removestask3
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 && cpuFILES
Reads the system task file
lsf.task
, and the user task file.lsftask
in the user's home directory. Seelsf.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 withEnd 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
lsfintro(1),
lseligible
(1), ls_task(3),
lsltasks
(1),
lsf.task
(5), ls_eligible(3)
[ Top ]
[ Platform Documentation ] [ Title ] [ Contents ] [ Previous ] [ Next ] [ Index ]
Date Modified: February 24, 2004
Platform Computing: www.platform.com
Platform Support: support@platform.com
Platform Information Development: doc@platform.com
Copyright © 1994-2004 Platform Computing Corporation. All rights reserved.