LSF Version 7.3 - Administering Platform LSF
User-Assigned Job Priority
456 Administering Platform LSF
Configure job priority
1 To configure user-assigned job priority edit lsb.params and define
MAX_USER_PRIORITY. This configuration applies to all queues in your
cluster.
2 Use bparams -l to display the value of MAX_USER_PRIORITY.
Syntax MAX_USER_PRIORITY=max_priority
Where:
max_priority
Specifies the maximum priority a user can assign to a job. Valid values are positive
integers. Larger values represent higher priority; 1 is the lowest.
LSF and queue administrators can assign priority beyond max_priority.
Example MAX_USER_PRIORITY=100
Specifies that 100 is the maximum job priority that can be specified by a user.
Specify job priority
◆ Job priority is specified at submission using bsub and modified after
submission using
bmod. Jobs submitted without a priority are assigned the
default priority of MAX_USER_PRIORITY/2.
Syntax bsub -sp priority
bmod [-sp priority | -spn] job_ID
Where:
-sp priority
Specifies the job priority. Valid values for priority are any integers between 1 and
MAX_USER_PRIORITY (displayed by
bparams -l). Incorrect job priorities are
rejected.
LSF and queue administrators can specify priorities beyond
MAX_USER_PRIORITY.
-spn
Sets the job priority to the default priority of MAX_USER_PRIORITY/2 (displayed
by
bparams -l).
View job priority information
1 Use the following commands to view job history, the current status and system
configurations:
bhist -l job_ID Displays the history of a job including changes in job priority.