Environment variables for resize notification command

All environment variables that are set for a job are also set when a job is resized.

The following (additional) environment variables apply only to the resize notification command environment (when using resizable jobs):

  • LSB_RESIZE_NOTIFY_OK: A notification command should exit with this variable if the allocation resize notification command succeeds.

    LSF updates the job allocation to reflect the new allocation.

  • LSB_RESIZE_NOTIFY_FAIL: A notification command should exit with this variable if the allocation resize notification command fails.

    For an allocation grow event, LSF schedules the pending allocation request.

    For an allocation shrink event, LSF fails the release request.

  • LSB_RESIZE_EVENT = grow | shrink: Indicates why the notification command was called. Grow means add more resources to an existing allocation. Shrink means remove some resources from existing allocation.

  • LSB_RESIZE_HOSTS = hostA numA hostB numB … hostZ numZ: Lists the additional slots for a grow event, or the released slots for a shrink event.