LSF Version 7.3 - Platform LSF Configuration Reference
is programmed to report values for the resources expected on the host. For detailed
information about using a checking header, see the section How environment variables
determine elim hosts.
Overriding built-in load indices
An elim executable can be used to override the value of a built-in load index. For example, if
your site stores temporary files in the /usr/tmp directory, you might want to monitor the
amount of space available in that directory. An elim can report the space available in the /
usr/tmp directory as the value for the tmp built-in load index.
To override a built-in load index value, you must:
•
Write an elim executable that periodically measures the value of the dynamic external
resource and writes the numeric value to standard output. The external load index must
correspond to a numeric, dynamic external resource as defined by TYPE and
INTERVAL in lsf.shared.
•
Configure an external resource in lsf.shared and map the resource in
lsf.cluster.cluster_name, even though you are overriding a built-in load index. Use
a name other than the built-in load index, for example, mytmp rather than tmp.
•
Program your elim to output the formal name of the built-in index (for example, r1m,
it, ls, or swp), not the resource name alias (cpu, idle, login, or swap). For example, an
elim that collects the value of the external resource mytmp reports the value as tmp (the
built-in load index) in the load update string: 1 tmp 20.
Setting up an ELIM to support JSDL
To support the use of Job Submission Description Language (JSDL) files at job submission,
LSF collects the following load indices:
Attribute name
Attribute type Resource name
OperatingSystemName string osname
OperatingSystemVersion string osver
CPUArchitectureName string cpuarch
IndividualCPUSpeed int64 cpuspeed
IndividualNetworkBandwidth int64 bandwidth
(This is the maximum
bandwidth).
The file elim.jsdl is automatically configured to collect these resources. To enable the use
of elim.jsdl, uncomment the lines for these resources in the ResourceMap section of the
file lsf.cluster.cluster_name.
Example of an elim executable
See the section How environment variables determine elim hosts for an example of a simple
elim script.
You can find additional elim examples in the LSF_MISC/examples directory. The
elim.c file is an elim written in C. You can modify this example to collect the external load
indices required at your site.
Feature: External load indices
Platform LSF Configuration Reference 109