AiiDA Flux Scheduler
aiida_flux_scheduler is an AiiDA scheduler plugin for Flux. It supports
direct job submission to Flux and shared pool allocations that can be reused
across related submissions.
The full documentation lives in docs/index.md and is intended to be published as a GitHub Pages site from this repository.
Install
Install from source:
git clone https://github.com/LLNL/aiida-flux-scheduler.git
cd aiida-flux-scheduler
pip install -e .
Install the documentation toolchain:
pip install -e .[docs]
Quickstart
- Register an AiiDA computer that uses the
fluxscheduler entry point. - Submit jobs with
metadata.options.resourcesvalues that include at least:num_machines,num_mpiprocs_per_machine, andmax_wallclock_seconds. - Optionally create a shared pool with
aiida-flux pool createand select it from job resources withflux_pool.
Without flux_pool or an explicit flux_allocation_lifecycle, jobs are
submitted directly with flux batch; the scheduler returns the Flux job ID
and does not create an allocation or proxy. Queue, account, and walltime
options do not change this behavior. Set flux_allocation_lifecycle to
child or parent to opt into allocation management, or use flux_pool to
submit through a named shared allocation.
Named pools publish a queued allocation ID without waiting for resources under
the pool lock. Pooled CalcJobs return stable allocation:pending-CalcJobUUID
IDs; later scheduler polls submit children when the allocation and broker are
ready. Remote intents and child receipts persist under
$HOME/.aiida-flux-scheduler/submissions. Cancellation affects the intent or
child, never the shared allocation; ambiguous responses are reconciled rather
than blindly retried. Plain Flux IDs and existing allocation:child IDs remain
supported.
This path requires Linux, flock, and flux python remotely. Stop old daemon
workers before upgrading: mixed lock protocols are unsupported, and stale
locks from foreign or unknown owners are not automatically stolen based on
age. Use a controlled site rollout; this is not a claim of live-cluster
validation or changed scientific results. See the
pool schema and operational limits.
Start with:
Build The Docs
pip install -e .[docs]
python -m sphinx -W --keep-going -b html docs docs/_build/html
Release Information
LLNL-CODE-2005941
See the changelog for project history and the 0.2.0 release notes for upgrade guidance.
AiiDA-Flux-Scheduler is provided under the MIT license. See LICENSE.txt.
Metadata
Release files for aiida-flux-scheduler 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiida_flux_scheduler-0.2.0.tar.gz | 34.9 kB | Without provenance | Details for aiida_flux_scheduler-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiida_flux_scheduler-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for aiida_flux_scheduler-0.2.0-py3-none-any.whl |
Total release size: 71.0 kB
Release files / aiida_flux_scheduler-0.2.0.tar.gz
| Download URL | aiida_flux_scheduler-0.2.0.tar.gz |
|---|---|
| Size | 34.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c6ead2fb1b1f95de8b2279ba79674ceb90f002b1365dc0143b5ae40d766d836
|
|
BLAKE2b-256 checksum How to use checksums |
db46c8d3820e8cdae1d59ae2edbe463cb6c304c5d0259bb46a191ce0afb82378
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / aiida_flux_scheduler-0.2.0-py3-none-any.whl
| Download URL | aiida_flux_scheduler-0.2.0-py3-none-any.whl |
|---|---|
| Size | 36.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
064691ba771d5fd1bd079272199c3785e382923743c192e56185ab065421b3c5
|
|
BLAKE2b-256 checksum How to use checksums |
b53f27a11b178b5b54850ecfd609f4d2930c435a366ba6ba6725994a07943ffb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for aiida-flux-scheduler 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.