Configure LSF

A YAML cluster configuration file for an LSF resource manager on an HPC cluster looks like:

# /etc/ood/config/clusters.d/my_cluster.yml
---
v2:
  metadata:
    title: "My Cluster"
  login:
    host: "my_cluster.my_center.edu"
  job:
    adapter: "lsf"
    bindir: "/path/to/lsf/bin"
    libdir: "/path/to/lsf/lib"
    envdir: "/path/to/lsf/conf"
    serverdir: "/path/to/lsf/etc"
    cluster: "mycluster"
    # bin_overrides:
      # bsub: "/usr/local/bin/bsub"
      # bjobs: ""
      # bstop: ""
      # bresume: ""
      # bkill: ""

with the following configuration options:

adapter

This is set to lsf.

bindir

The path to the LSF client bin/ directory.

libdir

The path to the LSF client lib/ directory.

envdir

The path to the LSF client conf/ directory.

serverdir

The path to the LSF client etc/ directory.

bin_overrides

Replacements/wrappers for LSF’s job submission and control clients. Optional

cluster

The cluster to interact with when running LSF’s multi-cluster mode. Required to enable multi-cluster mode

Supports the following clients:

  • bsub

  • bjobs

  • bstop

  • bresume

  • bkill