LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 255
Adding Resources
❖ All numeric resources are consumable.
❖ String and boolean resources are not consumable.
You should only specify consumable resources in the rusage section of a resource
requirement string. Non-consumable resources are ignored in rusage sections.
A non-consumable resource should not be releasable. Non-consumable numeric
resource should be able to be used in
order, select and same sections of a resource
requirement string.
When LSF_STRICT_RESREQ=Y in
lsf.conf, LSF rejects resource requirement
strings where an
rusage section contains a non-consumable resource.
Viewing consumable resources
Use lsfinfo -l to view consumable resources. For example:
lsinfo -l switch
RESOURCE_NAME: switch
DESCRIPTION: Network Switch
TYPE ORDER INTERVAL BUILTIN DYNAMIC RELEASE CONSUMABLE
Numeric Inc 0 No No No No
lsinfo -l specman
RESOURCE_NAME: specman
DESCRIPTION: Specman
TYPE ORDER INTERVAL BUILTIN DYNAMIC RELEASE CONSUMABLE
Numeric Dec 0 No No Yes Yes
Example
Begin Resource
RESOURCENAME TYPE INTERVAL INCREASING CONSUMABLE DESCRIPTION # Keywords
patchrev Numeric () Y () (Patch revision)
specman Numeric () N () (Specman)
switch Numeric () Y N (Network Switch)
rack String () () () (Server room rack)
owner String () () () (Owner of the host)
elimres Numeric 10 Y () (elim generated index)
End Resource
Resources required for JSDL
The following resources are pre-defined to support the submission of jobs using
JSDL files.
Begin Resource
RESOURCENAME TYPE INTERVAL INCREASING DESCRIPTION
osname String 600 () (OperatingSystemName)
osver String 600 () (OperatingSystemVersion)
cpuarch String 600 () (CPUArchitectureName)
cpuspeed Numeric 60 Y (IndividualCPUSpeed)