LSF Version 7.3 - Platform LSF Configuration Reference

number_shares
Specify a positive integer representing the number of shares of the cluster resources
assigned to the user.
The number of shares assigned to each user is only meaningful when you compare it
to the shares assigned to other users or to the total number of shares. The total number
of shares is just the sum of all the shares assigned in each share assignment.
Example of a HostPartition section
Begin HostPartition
HPART_NAME = Partition1 HOSTS = hostA hostB USER_SHARES = [groupA@, 3]
[groupB, 7] [default, 1]
End HostPartition
Automatic time-based configuration
Variable configuration is used to automatically change LSF configuration based on time
windows. You define automatic configuration changes in lsb.hosts by using if-else
constructs and time expressions. After you change the files, reconfigure the cluster with the
badmin reconfig command.
The expressions are evaluated by LSF every 10 minutes based on mbatchd start time. When
an expression evaluates true, LSF dynamically changes the configuration based on the
associated configuration statements. Reconfiguration is done in real time without restarting
mbatchd, providing continuous system availability.
Example
In the following example, the #if, #else, #endif are not interpreted as comments by LSF but as
if-else constructs.
Begin Host
HOST_NAME r15s r1m pg
host1 3/5 3/5 12/20
#if time(5:16:30-1:8:30 20:00-8:30)
host2 3/5 3/5 12/20
#else
0host2 2/3 2/3 10/12
#endif
host3 3/5 3/5 12/20
End Host
lsb.hosts
Platform LSF Configuration Reference 229