LSF Version 7.3 - Administering Platform LSF
Configuring lsf.shared Resource Section
254 Administering Platform LSF
Configuring lsf.shared Resource Section
Configured resources are defined in the Resource section of lsf.shared. There is
no distinction between shared and non-shared resources.
You must specify at least a name and description for the resource, using the
keywords RESOURCENAME and DESCRIPTION.
◆ A resource name cannot begin with a number.
◆ A resource name cannot contain any of the following characters
: . ( ) [ + - * / ! & | < > @ =
◆ A resource name cannot be any of the following reserved keywords:
cpu cpuf io logins ls idle maxmem maxswp maxtmp type model
status it mem ncpus nprocs ncores nthreads
define_ncpus_cores define_ncpus_procs define_ncpus_threads
ndisks pg r15m r15s r1m swap swp tmp ut
◆ To avoid conflict with inf and nan keywords in 3rd-party libraries, resource
names should not begin with
inf or nan (upper case or lower case). Resource
requirment strings, such as
-R "infra" or -R "nano" will cause an error. Use
-R "defined(infxx)" or -R "defined(nanxx)", to specify these resource
names.
◆ Resource names are case sensitive
◆ Resource names can be up to 39 characters in length
You can also specify:
◆ The resource type (TYPE = Boolean | String | Numeric). The default is Boolean.
◆ For dynamic resources, the update interval (INTERVAL, in seconds)
◆ For numeric resources, where a higher value indicates greater load
(INCREASING = Y)
◆ For numeric shared resources, where LSF releases the resource when a job
using the resource is suspended (RELEASE = Y)
When the optional attributes are not specified, the resource is treated as static and
Boolean.
Defining consumable resources
Specify resources as consumable in the CONSUMABLE column of the RESOURCE
section of lsf.shared to explicitly control if a resource is consumable. Static and
dynamic numeric resources can be specified as consumable. CONSUMABLE is
optional. The defaults for the consumable attribute are:
◆ Built-in indicies:
❖ The following are consumable: r15s, r1m, r15m, ut, pg, io, ls, it, tmp, swp,
mem.
❖ All other built-in static resources are not consumable. (e.g., ncpus, ndisks,
maxmem, maxswp, maxtmp, cpuf, type, model, status, rexpri, server,
hname).
◆ External shared resources: