lsf.task, lsf.task.<clustername>, $HOME/.lsftask - LSF task eligibility and resource requirement files
Use these files to create task eligibility lists. Task lists contain information about the eligibility of tasks for remote execution and their resource requirement characteristics. These files are manipulated by the LSLIB library routines. There is a system-wide task file LSF_CONFDIR/lsf.task (see lsf.conf(5) for the definition of LSF_CONFDIR) that is shared by all clusters and all users, one cluster file LSF_CONFDIR/lsf.task.<clustername> for all users in a cluster, and one user file $HOME/.lsftask for each user. All files are optional. The file $HOME/.lsftask is automatically created whenever a user first updates his or her task lists using the lsrtasks(1) or lsltasks(1) command. For details of task eligibility lists, see ls_task(3) .
All these files have the same format. Each file consists of two sections, LocalTasks and RemoteTasks. Each section contains a list of task names, one per line. Each line in a section is an entry consisting of a task name and, for the RemoteTasks section, a resource requirement string separated by a slash `/'. See lsfintro(1) for a desription of the resource requirement string. If the resource requirement string is not given for the remote task, the default is «select[type==local] order[r15s:pg]". A plus sign `+' or a minus sign `-' can optionally precede each entry. If no `+' or `-' is specified, then `+' is assumed.
The LSF administrator must be the only person able to write to the systemwide and cluster task files.
The cluster task file LSF_CONFDIR/lsf.task.<clustername> is used to augment the system-wide task file. The user task file $HOME/.lsftask is used to augment the system-wide as well as cluster task files. A `+' before a task name means adding a new entry (if non-existent) or replacing an entry (if already existent) in the applications task lists. A `-' before a task name means removing an entry from the application's task lists if it was already created by reading higher level task files.
The following is an example file:
Begin LocalTasks
ps
hostname
uname
crontab
End LocalTasks
Begin RemoteTasks
+ «c89/select[mem>4 && cpu<1]"
+ cvs/fs
make/cpu
nroff/End
RemoteTasks
lsfintro(1) , lsrtasks(1) , ls_task(3) , lsf.conf(5)