Platform LSF Reference Version 6.2
Resource Section
Platform LSF Reference
604
Resource Section
Optional. Defines resources (must be done by the LSF administrator).
Resource section structure
The first line consists of the keywords. RESOURCENAME and DESCRIPTION are
mandatory. The other keywords are optional. Subsequent lines define resources.
Example Resource section
Begin Resource
RESOURCENAME TYPE INTERVAL INCREASING RELEASE DESCRIPTION
mips Boolean () () () (MIPS architecture)
dec Boolean () () () (DECStation system)
sparc Boolean () () () (SUN SPARC)
bsd Boolean () () () (BSD unix)
hpux Boolean () () () (HP-UX UNIX)
aix Boolean () () () (AIX UNIX)
solaris Boolean () () () (SUN SOLARIS)
bigmem Boolean () () () (host with big memory)
myResource String () () () (MIPS architecture)
static_sh1 Numeric () N () (static)
external_1 Numeric 15 Y () (external)
End Resource
RESOURCENAME
Description
The name you assign to the new resource. An arbitrary character string.
◆
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 names:
cpu cpuf io logins ls idle maxmem maxswp maxtmp type model
status it mem ncpus ndisks pg r15m r15s r1m swap swp tmp ut
◆
Resource names are case sensitive
◆
Resource names can be up to 29 characters in length
TYPE
Description
The type of resource:
◆
Boolean—Resources that have a value of 1 on hosts that have the resource and 0
otherwise.
◆
Numeric—Resources that take numerical values, such as all the load indices,
number of processors on a host, or host CPU factor.
◆
String— Resources that take string values, such as host type, host model, host status.
Default
If TYPE is not given, the default type is Boolean.
DESCRIPTION
Description
Brief description of the resource.