HPC scheduler integrations
Your scheduler decides when a job runs. LicOps makes sure the license is there.
OpenLM LicOps integrates with Slurm, IBM Spectrum LSF, OpenPBS and PBS Professional, and Kubernetes. It adds license-aware scheduling: it checks engineering software licenses before a job takes compute, prevents denial storms, picks the right license server, and records why each job ran, waited or was refused.
Key facts
OpenLM LicOps adds license-aware scheduling to the schedulers engineering and HPC teams already run.
- Schedulers
- Slurm, IBM Spectrum LSF, OpenPBS and PBS Professional, Kubernetes, and others through the admission API
- License managers
- Network license managers such as FlexNet (FlexLM) and RLM, managed from OpenLM Platform (100+ license managers)
- Who it's for
- HPC and platform leads, license administrators, simulation and EDA teams
- Proven
- Tested under load and running in production on Google Kubernetes Engine (GKE)
The gap between the scheduler and the license server
The scheduler decides when a job runs. The license server decides whether a license is free. They don't share that information fast enough, so each decides without knowing what the other is doing.
The result is familiar on every compute farm, and it costs real money: cloud nodes billed while they wait, a missed tape-out, and licenses bought for a shortage that was a retry storm. A regression run submitted on Friday night fails halfway because a license was taken, right before tape-out. Or it never starts while its nodes sit reserved. Built-in license counters in schedulers only count what users declare. They don't see the license server.
Why the scheduler's own license counting isn't enough
Slurm, LSF and PBS can all count licenses, and they decide fast. Counting is not the problem. A counter only knows what was declared to it.
It doesn't see desktop users on the same pool, it doesn't know which of your license servers can serve the job, it can't tell a real shortage from a retry storm, and it can't tie license use to projects and cost centers for chargeback. LicOps keeps the scheduler's native license request, so users submit the way they already do, and adds the decision, the routing and the record.
One license pool, interactive and HPC together
Most engineering licenses are shared: the same Abaqus, Ansys or Cadence features serve engineers on their desktops and jobs on the cluster. A scheduler only counts its own jobs. It never sees the engineer who opened the tool on a desktop, so it hands out a license that is already gone.
LicOps decides from the real picture: free equals total minus in use (as the license manager reports it, desktop users included) minus admitted jobs about to check out. It is calculated in one step, so the last license is never given twice, and reconciled with live usage about every 10 seconds.
LicOps counts desktop use in every batch decision, with priorities and limits for each group of jobs. OpenLM Platform governs the desktop side of the same pool: license access rules, options files and harvesting of idle desktop licenses. One pool, one picture, one set of rules, which no scheduler can do on its own.
Every license manager in your company, one set of rules
Engineering companies run several license managers at once, often on several servers per vendor: FlexNet Publisher (FlexLM) with its lmgrd and vendor daemons, RLM, Dassault DSLS, Sentinel, LM-X and more. A scheduler counts what is declared to it, and LSF License Scheduler natively supports FlexNet and RLM.
LicOps decides from OpenLM Platform, which monitors 100+ license managers in one view. Routing between servers and automatic failover apply to TCP-based network license managers. Full comparison: LicOps vs built-in scheduler license management.
What's new in LicOps
- Named integrations for four schedulers: Slurm, IBM Spectrum LSF, OpenPBS and PBS Professional, and Kubernetes, each through the scheduler's own hooks.
- Checked three times per job: Admit at submission, dispatch at start, release at end.
- Job details on every license session: Job name, queue, account and cluster, for reports and chargeback.
- Refusals reported as denials: Next to license-server denials, so you see the real demand.
- Checkout throttling: Paces checkouts per license pool, so job arrays don't stampede the vendor daemon.
- Options file honored: FlexLM INCLUDE and EXCLUDE lists are applied when the job is admitted.
- Fail-open or fail-closed: Your choice of what happens if LicOps can't be reached.
- HPC license reporting: License use per job and array task, refused requests, true denials, contention and chargeback in dollars, in near real time and in your own BI tools.
- Any other scheduler: Through the admission API, with an integration kit: wrapper script, Python client and OpenAPI description.
Schedulers LicOps works with
Any other scheduler: call the LicOps admission API from its submit hook. The integration kit includes a wrapper script, a Python client and an OpenAPI description.
How a job flows
- Submit. The scheduler's submit hook asks LicOps to admit the job.
- Start. When the scheduler starts the job, LicOps confirms the license and picks the license server.
- End. The license is released, however the job ends, and the job record is complete.
What LicOps adds on every scheduler
- Checks before the job takes compute: LicOps checks the license when the job is submitted, again when it starts, and releases it when the job ends. A job no longer holds nodes while it waits for a license.
- No job takes compute without its license: A job that can't get its license doesn't start and then fail. Depending on the scheduler, it waits for the license or is refused at submission with a clear message.
- Stops denial storms: When jobs start without a license, every one of them retries the checkout. The license server is flooded with requests and denials, a denial storm, and slows down or fails for everyone, desktop users included. LicOps admits a job only when its license is there, and paces the checkouts of the jobs it admits, so the storm never starts.
- Paces checkouts with throttling: A throttle rule sets how fast checkouts may reach each license pool. When a whole job array starts at once, the extra checkouts wait a moment in order instead of stampeding the vendor daemon. Jobs are deferred, never denied.
- Picks the license server that can serve the job: If you run more than one license server, LicOps sends each request to one that can serve it. Your rules can prefer a server, keep jobs off a server, try servers in order, or refuse the request.
- Backup when a license server fails: Set a primary and a backup server for each connection. LicOps switches when the failure threshold is reached, and switches back automatically. This applies to TCP-based network license managers.
- Your rules, your priorities: Rules decide where and how fast: Deny, Force, Prefer or Exclude a server, Cascade from primary to backup to pay-per-use, Round Robin, Weighted Round Robin and Throttle. Each has conditions and a priority, can be switched on and off, and can be limited to dates, for example before a tape-out. Your FlexLM options file INCLUDE and EXCLUDE lists are applied at admission too.
- Every job leaves a record: Each license session carries the job name, queue, account and cluster. When a job waits or is refused, the record says why. No more piecing it together from scheduler and license logs.
- Refusals show up as denials: Every request LicOps refuses is reported as a denial, in the same reports as license-server denials. You see the real demand, not only what got through.
- You decide what happens if LicOps is unreachable: Choose fail-open (jobs run and are logged) or fail-closed (jobs wait). Jobs never hang on a slow answer: the call times out after 2 seconds by default.
Technical notes: webhook, prolog or resource?
Three ways LicOps plugs into a scheduler
Technical teams usually ask whether LicOps works through a webhook, a prolog script or a scheduler resource. The answer is all three, each where the scheduler offers it, plus a direct API.
- Submit-time admission: asks LicOps for the license before the job is queued.
- Prolog and epilog: confirm the license when the job starts, and release it when it ends.
- Resource request: how the job says which license it needs.
- Checkout routing (optional): sends the application's own license checkout through LicOps.
| Submit-time admission | Prolog and epilog | Resource request | Checkout routing | |
|---|---|---|---|---|
| Slurm | ol-sbatch wrapper around sbatch | PrologSlurmctld and EpilogSlurmctld on the controller | Native --licenses, declared in slurm.conf Licenses= | TaskProlog sets LM_LICENSE_FILE |
| LSF | esub.openlm (can be mandatory in lsf.conf) | Queue PRE_EXEC and POST_EXEC | -R "openlm[vendor=...:feature=...:count=...]" | esub sets LM_LICENSE_FILE |
| PBS | queuejob hook (openlm_admit) on the PBS server | execjob_prologue and execjob_epilogue hook (openlm_licops) | -l openlm_vendor=...,openlm_feature=...,openlm_count=... | — |
| Kubernetes | Admission webhook, Kueue admission check, or an init container calling the API | Init container and sidecar; released when the pod ends | Pod annotations openlm.io/vendor and openlm.io/features | Sidecar; LM_LICENSE_FILE set in the first container |
Any other scheduler: the admission API
Schedulers without a ready adapter call the LicOps admission API from their own submit hook, wrapper or service. Every job makes three calls: admit at submission, dispatch at start, release at the end. The integration kit includes a wrapper script, a Python client, an OpenAPI description of the API and Kubernetes examples. Release on every ending, using a finally block, a trap or a hook that always runs.
Rule types
| Purpose | Rules |
|---|---|
| Should this run at all? | Deny |
| Which server, explicitly | Force server, Prefer server, Exclude server |
| Which server, by policy | Cascade (primary, backup, pay-per-use), Weighted Round Robin, Round Robin |
| How fast may checkouts go? | Throttle: a per-pool token bucket at dispatch that defers, never denies |
Rules are hot-reloaded, with no restart. FlexLM options file INCLUDE and EXCLUDE lists are applied at admission.
Fail modes and timeouts
- Each adapter has a fail mode for admit and for dispatch: open (the job runs and is logged) or closed (the job waits or is refused).
- The HPC adapters give up on LicOps after 2 seconds by default (OL_TIMEOUT).
- On Slurm, admit runs in the user's own sbatch call, so a slow LicOps never blocks the Slurm scheduler.
- Checkout routing needs compute nodes to reach the LicOps host directly, without address translation.
Cloud burst: use the licenses you already own
Often the licenses are free but the cluster is full. LicOps sends those jobs to cloud compute, so licenses you already paid for keep working instead of sitting idle.
- License-aware: The burst happens because licenses you own are free while on-premises compute is full. Compute-only bursting spins up cloud nodes that then wait for a license.
- Your own cloud account: Jobs run in your AWS, Google Cloud or Azure account, on your contract and your discounts. OpenLM doesn't resell or mark up compute, and your scheduler stays in charge of scaling.
- Your own license servers: Checkouts go to your license servers, under your rules, with every session recorded per job.
- Your instance choice: Use the instance types your platform supports, including Spot or preemptible capacity where it fits.
Which scheduler, cloud and instance types do you run? Contact us to check your platform.
See what every job used and cost
Every license session carries its job, array task, queue, account and project. Refused requests, true denials, contention and chargeback in dollars feed OpenLM reporting in near real time, and your own BI tools.
- License use per job: Every license checkout is tied to the scheduler job and array task that made it, with feature, license server, duration, job name, queue, account, project and cluster.
- Batch and interactive, side by side: Desktop use of the same license pool is captured by OpenLM Platform too, so you see batch and interactive consumption of each feature together.
- Every denial, with its cause: Requests LicOps refuses are recorded as denials with the job, array task, user and project behind them, in the same reports as license-server denials.
- True denials, not retry noise: Repeated denials for the same user and feature are collapsed into one true denial, across redundant and triad servers. Each is classified as a wait, with the time to grant, or a hard denial.
More: HPC license reporting.
Coming next
In development, part of the LicOps roadmap:
- Jobs wait in the Slurm and LSF queue until their license is free, then start in order, as PBS jobs do today.
- License preemption and idle batch jobs: suspend, requeue, hold or terminate through the scheduler, by policy and fully audited.
- Why jobs wait, split per job: license shortage, compute limits or scheduler policy, from the scheduler's own pending reasons.
- License cost on every job, including failed and killed jobs, and chargeback by chip project and tape-out milestone.
What changes, by team
| Team | Without LicOps | With LicOps |
|---|---|---|
| HPC and platform leads | Jobs stall or fail when a license isn't there, and hardware sits idle | Jobs start when both the license and the nodes are ready. Fewer stalled and failed jobs, less idle hardware. |
| License administrators | Manual reconfiguration when a server fails, and log hunting to piece together what happened | Rules pick the server, a backup takes over on failure, and every job has a record. No manual reconfiguration or log hunting. |
| Engineers | A job fails on Friday night with no clear reason, discovered Monday morning | A job either runs or waits in the queue with a clear reason. No Monday-morning surprise from a job that failed on Friday night. |
| Finance and procurement | Licenses bought on guesswork, without visibility into refused requests | Real demand, including refused requests, per project. Buy licenses for the real peak, and don't buy licenses when the bottleneck is compute. |
License managers you'll typically find on HPC clusters
- FlexNet Publisher (FlexLM)
- Reprise RLM
- Dassault DSLS
- Sentinel RMS
- LM-X
- Altair License Manager
- LS-DYNA
- IBM LUM
LicOps decides from OpenLM Platform data for each of these. Routing and failover apply to TCP-based network license managers. All supported license managers.
Low-risk rollout
- Uses the scheduler's own hooks. Nothing in the scheduler, the applications or the license servers is replaced.
- The installer backs up your configuration and never overwrites an existing hook. The uninstaller reverses the install.
- Fail-open is available: if LicOps can't answer within 2 seconds, jobs run and are logged.
- Start on one queue, see the results on your own data, then widen.
Enterprise ready
- Runs as SaaS, on-premises, air-gapped or hybrid, as containers (Docker and Helm), inside your own environment.
- Outbound-only connections: no inbound path into your cluster is ever needed.
- One configuration for every cluster and router you run, managed from OpenLM Platform.
Where to start
Every environment is different: its scheduler, its license managers and its rules. A solution engineer shows LicOps on a setup like yours.
Questions and answers
Which HPC schedulers does OpenLM LicOps work with?
Slurm, IBM Spectrum LSF, OpenPBS and PBS Professional, and Kubernetes. Other schedulers connect through the LicOps admission API from their submit hook.
Do we have to replace our scheduler?
No. LicOps plugs into the scheduler's own hooks and leaves scheduling to it. It adds the license decision the scheduler can't make on its own.
How is this different from the license counters built into the scheduler?
Built-in counters track what users declare in their job. LicOps checks license availability itself, before the job takes compute, and acts on rules you set.
What happens when there are more jobs than licenses?
No job takes compute without its license. On PBS the extra jobs are held and released in order as licenses free up. On Slurm and LSF a job that can't be admitted is refused at submission with a clear message. On Kubernetes the pod is rejected and the Job retries.
How does LicOps prevent license denial storms?
A denial storm happens when many jobs start without a license and all retry the checkout at once, flooding the license server. LicOps admits a job only when its license is there, and a throttle rule paces the checkouts of admitted jobs per license pool. The license server stays responsive, for interactive users too.
Can LicOps use cloud compute when our cluster is full?
Yes. When on-premises compute is full, LicOps sends jobs to cloud compute in your own cloud account, so the licenses you already own keep working. Contact us to check your platform.
Can we report license use per HPC job?
Yes. Every license session carries the scheduler job, array task, queue, account and project. OpenLM reports use, true denials, refused requests and chargeback per job and project, and the data is open to Power BI, Spotfire, Tableau and SQL.
What about jobs that need several license features, or token pools?
A job can request several features in one submission, and each is admitted. On Slurm, if any one is refused, the others are released and the submission is rejected, so a job never runs half-licensed. Token pools such as Ansys HPC, Abaqus tokens, Cadence Remix and Synopsys TSL are metered in OpenLM reporting.
Can we keep licenses for interactive users when batch jobs are busy?
Yes. OpenLM Platform manages your FlexLM options files, including RESERVE, so the license server keeps seats for interactive groups while batch jobs use the rest.
How is LicOps installed?
As a Docker-based component in your own environment, managed from OpenLM Platform. On-premises it can reuse the Kubernetes of your OpenLM installation where the network allows.
Links
- Slurm
- IBM Spectrum LSF
- OpenPBS and PBS Professional
- Kubernetes
- HPC license reporting
- OpenLM LicOps for HPC
- LicOps vs built-in scheduler license management
- Semiconductor & EDA
- Automotive & Mobility
- Aerospace, Space & Defense
- Energy, Oil & Gas
- OpenLM for the CTO and VP Engineering
- OpenLM for the CFO
- Supported license managers
- OpenLM for the Chief Procurement Officer
- AI FinOps
- OpenLM MCP connector
- License harvesting
- OpenLM for ServiceNow
Last updated · Read this page as Markdown