Job scheduling and execution
The following new features affect job scheduling and execution.
Parse job scripts with the bsub command
You can now load, parse, and run job scripts directly from the bsub command. Submit a job from the bsub command line with the job script as a command. The job script must be an ASCII text file and not a binary file, but it does not have to be an executable file.
In previous versions of LSF, you could run job scripts by using the < redirect to specify an ASCII text file that contains either Bourne shell command lines or Windows batch file command lines, or by writing the job fine one line at a time from the bsub interactive command line (by running bsub without specifying a command).
To enable this feature, define LSB_BSUB_PARSE_SCRIPT=Y in the lsf.conf file.
Fair share factors for absolute priority scheduling
LSF now
has an updated method of calculating the fair share weight for absolute priority scheduling
(APS
). In addition, the bqueues -r and -l
command options now display the normalized fair share factors in the
NORM_FS column, if these factors are not zero.
Resource reservations for jobs with plans
If a job has a plan that is no longer valid (for example, because the host is down), LSF releases the resource reservations for the job, which means that the resources are now available for other jobs. This might result in other jobs being dispatched before the job with the plan, even if the other jobs have a lower priority.
LSF can now keep the resource reservations for jobs with plans, even if the plan is no longer valid, until LSF creates new plans based on updated resource availability. Enable this new behavior by specifying LSB_PLAN_KEEP_RESERVE=Y in the lsf.conf file.
Advance reservation enhancements
- A new parameter, AR_AVAILABLE_STATUS is introduced to the lsb.params file. If defined, this parameter defines which hosts are considered available for the creation of an advance reservation.
- Another parameter, AR_RUNLIMIT_CHECK is also introduced to the lsb.params file. If this parameter is enabled, a job with a predefined run limit is not allowed to dispatch if it is expected to run past the expiration time of the closed advance reservation.
- Another parameter, LSB_DISABLE_SUSPEND_AR_JOBS is introduced to the lsf.conf file. If this parameter is enabled, LSF keeps the job with an advance reservation running if the advance reservation is deleted.
- A new option -f has been added to the brsvadd parameter. This option considers the lim status of hosts when creating an advance reservation.
- A -f option is also added to the brsvdel parameter. This option force deletes an advance reservation.