✨ Open the Slurm-allocated QDMI device - #2025
Open
burgholzer wants to merge 6 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
burgholzer
force-pushed
the
agent/qdmi-allocated-device
branch
from
August 9, 2026 22:25
8c20395 to
e57e8ca
Compare
burgholzer
force-pushed
the
agent/qdmi-allocated-device
branch
from
August 10, 2026 16:17
e57e8ca to
0326808
Compare
burgholzer
force-pushed
the
agent/qdmi-allocated-device
branch
from
August 10, 2026 20:09
d5c3a75 to
489939d
Compare
burgholzer
force-pushed
the
agent/qdmi-allocated-device
branch
from
August 10, 2026 22:39
489939d to
00c8012
Compare
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
burgholzer
force-pushed
the
agent/qdmi-allocated-device
branch
from
August 11, 2026 00:15
00c8012 to
962c851
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 AI text below 🤖
Description
Add a focused FoMaC entry point for opening the QDMI device that Slurm already allocated to the current job:
Session::openAllocatedDevice(overrides)in C++mqt.core.fomac.open_allocated_device(...)in PythonThe implementation reads
SLURM_JOB_LICENSES, matches exactly one local static Slurm license to a registered stable QDMI device ID, requires a count of one, opens a fresh device session with optional job-specific configuration overrides, and checks that the device reportsIDLEorBUSY. Unrelated licenses are ignored; ambiguous, malformed, OR, remote-license, and unavailable-device cases fail explicitly.This is intentionally a separate, scheduler-facing PR. It does not introduce a broker, lease service, resource group, or new SPANK behavior.
Validation
prekon all changed filesChecklist
If PR contains AI-assisted content:
🤖 *AI text below* 🤖(titles are exempt).