LSF Version 7.3 - Platform LSF Configuration Reference

LSF commands to find out resource names available in your system, and tell LSF about the
needs of your applications. LSF stores the resource requirements for you from then on.
You can specify resource requirements when tasks are added to the user's remote task list. If
the task to be added is already in the list, its resource requirements are replaced.
lsrtasks + myjob/swap>=100 && cpu
This adds myjob to the remote tasks list with its resource requirements.
Task files
There are 3 task list files that can affect a job:
lsf.task — system-wide defaults apply to all LSF users, even across multiple clusters if
MultiCluster is installed
lsf.task.cluster_name — cluster-wide defaults apply to all users in the cluster
$HOME/.lsftask — user-level defaults apply to a single user. This file lists applications
to be added to or removed from the default system lists for your jobs. Resource
requirements specified in this file override those in the system lists.
The clusterwide task file is used to augment the systemwide file. The user’s task file is used to
augment the systemwide and clusterwide task files.
LSF combines the systemwide, clusterwide, and user-specific task lists for each user's view of
the task list. In cases of conflicts, such as different resource requirements specified for the same
task in different lists, the clusterwide list overrides the systemwide list, and the user-specific
list overrides both.
LSF_CONFDIR/lsf.task
Systemwide task list applies to all clusters and all users.
This file is used in a MultiCluster environment.
LSF_CONFDIR/lsf.task.cluster_name
Clusterwide task list applies to all users in the same cluster.
$HOME/.lsftask
User task list, one per user, applies only to the specific user. This file is automatically created
in the user’s home directory whenever a user first updates his task lists using the lsrtasks
or lsltasks commands. For details about task eligibility lists, see the ls_task(3) API
reference man page.
Permissions
Only the LSF administrator can modify the systemwide task list (lsf.task) and the
clusterwide task list (lsf.task.cluster_name).
A user can modify his own task list(.lsftask) with the lsrtasks and lsltasks
commands.
Format of task files
Each file consists of two sections, LocalTasks and RemoteTasks. For example:
Begin LocalTasks
ps
hostname
lsf.task
542 Platform LSF Configuration Reference