Platform LSF Reference Version 6.2
lsb.resources
Platform LSF Reference
447
HostExport Section
Defines an export policy for a host or a group of related hosts. Defines how much of
each host’s resources are exported, and how the resources are distributed among the
consumers.
Each export policy is defined in a separate HostExport section, so it is normal to have
multiple HostExport sections in
lsb.resources.
Example HostExport section
Begin HostExport
PER_HOST= hostA hostB
SLOTS= 4
DISTRIBUTION= [cluster1, 1] [cluster2, 3]
MEM= 100
SWAP= 100
End HostExport
HostExport section structure
Use empty parentheses ( ) or a dash (-) to specify the default value for an entry. Fields
cannot be left blank.
PER_HOST
Syntax
PER_HOST=
host_name...
Description
Required when exporting special hosts.
Determines which hosts to export. Specify one or more LSF hosts by name. Separate
names by space.
RES_SELECT
Syntax
RES_SELECT=
res_req
Description
Required when exporting workstations.
Determines which hosts to export. Specify the selection part of the resource
requirement string (without quotes or parentheses), and LSF will automatically select
hosts that meet the specified criteria. For this parameter, if you do not specify the
required host type, the default is “
type==any”.
The criteria is only evaluated once, when a host is exported.
NHOSTS
Syntax
NHOSTS=
integer
Description
Required when exporting workstations.
Maximum number of hosts to export. If there are not this many hosts meeting the
selection criteria, LSF exports as many as it can.
DISTRIBUTION
Syntax
DISTRIBUTION=([
cluster_name, number_shares]...)