Repository navigation
Slurm runner contract
Quantum Workflows owns scientific code, tests, notebook environments, Slurm entry points and reproducible artifacts. Infrastructure owns Slurm/accounting, compute nodes, NFS and container build/deployment; Quantum Platform owns access/entitlement and ExecutionRecord. A user can explore methods in a cheap Jupyter workbench, but jobs that should survive the notebook are submitted as durable scheduler allocations.
The repository currently includes slurm/cpu-smoke.sbatch, slurm/hello-ibm.sbatch, slurm/trotter.sbatch, slurm/sqd.sbatch and OCI build contexts runners/qiskit-cpu/ and runners/sqd/. These are reference templates, not a universal configuration for every HPC facility. Review site partitions, walltime and job-name policy, environment modules, Apptainer availability, container permissions and shared data paths first.
- Select an approved workflow, environment and offering in Quantum Platform; choose the smallest CPU baseline before GPU/QPU allocation.
- Inspect requested cores, memory, duration, credentials, provider target and expected artifact path.
- Submit through the restricted gateway or authorized site
sbatch; never invoke Slurm commands directly from an unprivileged web request with arbitrary shell arguments. - Track Slurm job ID, queued/running/completed state, exit code and elapsed time.
- Retrieve
manifest.json,summary.jsonand data; confirm scientific validity and image digest. A process exit code of zero does not prove the physics.
A runner should be an immutable purpose-built OCI image runnable via Apptainer as an ordinary user, with no embedded model keys, SSH material, patient datasets or provider credentials. Document Python/SDK version, compatible GPU driver/CUDA if relevant, the code commit/image digest, supported methods, resources and scientific checks. Do not hide incompatible provider SDK dependencies inside a single “all-in-one” image.
A job may be rejected before allocation because of requested partition, walltime, QOS, reservation or invalid name. A completed job can still write failed numerical checks or no artifacts due to storage/permission errors. Inspect squeue, scontrol show job <ID>, sacct, scheduler stderr, and the exact output directory. The portal can report its own error even if a Slurm job is still running.
See Slurm templates, runner images, execution architecture and workbench tutorial.
Quantum Workflows
- Home
- Getting started
- Academy and learning paths
- Batch-first simulator academy
- Reference experiments
- Standalone workstation and GPU notebooks
- Execution environments
- Scientific provenance
- Ecosystem integration
- Developer guide
- Troubleshooting
- Security and responsible science
- Contributing
- Guide help and support Scientific engineering
- Slurm runner contract
- Quantum SDK and executor matrix
- Research curriculum design
- Science validation and benchmarks
- Notebook environments and reproducibility