LSF_UNIT_FOR_LIMITS

Syntax

LSF_UNIT_FOR_LIMITS=unit

Description

Enables scaling of large units in the resource usage limits:

  • core

  • memory

  • stack

  • swap

When set, LSF_UNIT_FOR_LIMITS applies cluster-wide to these limits at the job-level (bsub), queue-level (lsb.queues), and application level (lsb.applications).

The limit unit specified by LSF_UNIT_FOR_LIMITS also applies to these limits when modified with bmod, and the display of these resource usage limits in query commands (bacct, bapp, bhist, bhosts, bjobs, bqueues, lsload, and lshosts).

Important:

Before changing the units of your resource usage limits, you should completely drain the cluster of all workload. There should be no running, pending, or finished jobs in the system.

In a MultiCluster environment, you should configure the same unit for all clusters.

Note:

Other limits (such as the file limit) are not affected by setting the parameter LSF_UNIT_FOR_LIMITS.

Example

A job is submitted with bsub -M 100 and LSF_UNIT_FOR_LIMITS=MB; the memory limit for the job is 100 MB rather than the default 100 KB.

Valid values

unit indicates the unit for the resource usage limit, one of:
  • KB (kilobytes)

  • MB (megabytes)

  • GB (gigabytes)

  • TB (terabytes)

  • PB (petabytes)

  • EB (exabytes)

Default

KB