LSF
Note
This resource manager is not actively maintained by the Open OnDemand developers, either because it was community-contributed or we no longer have access to a test system. As a result, bug fixes from the core team may be limited, but community patches are encouraged.
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:
adapterThis is set to
lsf.bindirThe path to the LSF client
bin/directory.libdirThe path to the LSF client
lib/directory.envdirThe path to the LSF client
conf/directory.serverdirThe path to the LSF client
etc/directory.bin_overridesReplacements/wrappers for LSF's job submission and control clients. Optional
submit_hostA different, optional host to ssh to and then issue commands. Optional
clusterThe 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
Advanced LSF settings
Performance Settings
Given these settings in lsf.conf:
LSB_QUERY_PORT=688X
LSB_QUERY_ENH=y
It's recommended that you set LSB_MBD_PORT to the same value
as LSB_QUERY_PORT
It has also been observed that setting these values in lsb.params
helps with the performance of the cluster and in turn Open OnDemand's
usage.
JOB_INFO_MEMORY_CACHE_SIZE=2048
MBD_REFRESH_TIME=5
NEWJOB_REFRESH=Y