LSF Version 7.3 - Administering Platform LSF
Configuring Resource Allocation Limits
400 Administering Platform LSF
Example 7 All users in user group ugroup1 except user1 can use all queues but queue1 and
run jobs with a limit of 10% of available memory on each host in host group
hgroup1:
Begin Limit
NAME = 10_percent_mem
# Resources:
MEM = 10%
QUEUES = all ~queue1
USERS = ugroup1 ~user1
PER_HOST = hgroup1
End Limit
Example 8 Limit users in the develop group to 1 job on each host, and 50% of the memory on
the host.
Begin Limit
NAME = develop_group_limit
# Resources:
SLOTS = 1
MEM = 50%
#Consumers:
USERS = develop
PER_HOST = all
End Limit
Example 9 Limit software license lic1, with quantity 100, where user1 can use 90 licenses and
all other users are restricted to 10.
Begin Limit
USERS LICENSE
user1 ([lic1,90])
(all ~user1) ([lic1,10])
End Limit
lic1
is defined as a decreasing numeric shared resource in lsf.shared.
To submit a job to use one
lic1 license, use the rusage string in the -R option of
bsub specify the license:
bsub -R "rusage[lic1=1]" my-job
Example 10 Jobs from crash project can use 10 lic1 licenses, while jobs from all other projects
together can use 5.
Begin Limit
LICENSE PROJECTS
([lic1,10]) crash
([lic1,5]) (all ~crash)
End Limit
lic1
is defined as a decreasing numeric shared resource in lsf.shared.