LSF_LOCAL_RESOURCES

Syntax

LSF_LOCAL_RESOURCES="resource ..."

Description

Defines instances of local resources residing on the slave host.
  • For numeric resources, defined name-value pairs:
    "[resourcemap value*resource_name]"
  • For Boolean resources, the value is the resource name in the form:
    "[resource resource_name]"

When the slave host calls the master host to add itself, it also reports its local resources. The local resources to be added must be defined in lsf.shared. Default indicates an instance of a resource on each host in the cluster. This specifies a special case where the resource is in effect not shared and is local to every host. Default means at each host. Normally, you should not need to use default, because by default all resources are local to each host. You might want to use ResourceMap for a non-shared static resource if you need to specify different values for the resource on different hosts.

If the same resource is already defined in lsf.shared as default or all, it cannot be added as a local resource. The shared resource overrides the local one.
Tip:

LSF_LOCAL_RESOURCES is usually set in the slave.config file during installation. If LSF_LOCAL_RESOURCES are already defined in a local lsf.conf on the slave host, lsfinstall does not add resources you define in LSF_LOCAL_RESOURCES in slave.config. You should not have duplicate LSF_LOCAL_RESOURCES entries in lsf.conf. If local resources are defined more than once, only the last definition is valid.

Important:

Resources must already be mapped to hosts in the ResourceMap section of lsf.cluster.cluster_name. If the ResourceMap section does not exist, local resources are not added.

Example

Start of change
LSF_LOCAL_RESOURCES="[resourcemap 1*verilog] [resource linux] [resource !bigmem]"
End of change

Start of change Prefix the resource name with an exclamation mark (!) to indicate that the resource is exclusive to the host. End of change

EGO parameter

EGO_LOCAL_RESOURCES

Default

Not defined