Platform LSF Reference Version 6.2
lsb.resources
Platform LSF Reference
435
Horizontal format
Use the horizontal format to give a name for your limits and to configure more
complicated combinations of consumers and resource limits.
The first line of the Limit section gives the name of the limit configuration.
Each subsequent line in the Limit section consists of keywords identifying the resource
limits:
◆
Job slots and per-processor job slots
◆
Memory (MB or percentage)
◆
Swap space (MB or percentage)
◆
Tmp space (MB or percentage)
◆
Software licenses
◆
Other shared resources
and the resource consumers to which the limits apply:
◆
Users and user groups
◆
Hosts and host groups
◆
Queues
◆
Projects
Example Limit sections
Vertical tabular
format
In the following limit configuration, user1 and user3 are limited to 2 job slots on
hostA, and jobs from user2 on queue normal are limited to 20 MB of memory:
Begin Limit
USERS QUEUES HOSTS SLOTS MEM SWP TMP
(user1 user3) - hostA 2 - - -
user2 normal - - 20 - -
End Limit
Jobs that do not match these limits; that is, all users except user1 and user3 running
jobs on
hostA and all users except user2 submitting jobs to queue normal, have no
limits.
Horizontal format
All users in user group ugroup1 except user1 using queue1 and queue2 and
running jobs on hosts in host group
hgroup1 are limited to 2 job slots per processor
on each host:
Begin Limit
# ugroup1 except user1 uses queue1 and queue2 with 2 job slots
# on each host in hgroup1
NAME = limit1
# Resources
SLOTS_PER_PROCESSOR = 2
#Consumers
QUEUES = queue1 queue2
USERS = ugroup1 ~user1
PER_HOST = hgroup1
End Limit