Skip to content

Flux - Add FluxExecutor using native Flux Python API bindings#1758

Open
jlnav wants to merge 25 commits into
feature/flux_mpi_runnerfrom
feature/flux_executor_module
Open

Flux - Add FluxExecutor using native Flux Python API bindings#1758
jlnav wants to merge 25 commits into
feature/flux_mpi_runnerfrom
feature/flux_executor_module

Conversation

@jlnav

@jlnav jlnav commented Jul 8, 2026

Copy link
Copy Markdown
Member

FluxExecutor submits jobs directly to Flux via its Python bindings rather than wrapping flux run as a subprocess. It is useful when running inside containers where standard MPI runners are unavailable.

  • New libensemble/executors/flux_executor.py with FluxExecutor and FluxTask
  • Conditionally import FluxExecutor in executors/init.py (ImportError if flux-core bindings are not installed)
  • Append FluxExecutor unit tests to test_flux.py; tests skip automatically when flux-core Python bindings are not present

jlnav and others added 16 commits May 26, 2026 10:01
…-manager *or* the gen running on the first worker. adjust many tests to use VOCS instead of ub/lb bounds
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.47.2 to 1.48.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](crate-ci/typos@v1.47.2...v1.48.0)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.

Updates `setuptools` to 83.0.0
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v75.1.0...v83.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 83.0.0
  dependency-type: direct:development
  dependency-group: python-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
FluxExecutor submits jobs directly to Flux via its Python bindings
rather than wrapping flux run as a subprocess. It is useful when
running inside containers where standard MPI runners are unavailable.

- New libensemble/executors/flux_executor.py with FluxExecutor and FluxTask
- Conditionally import FluxExecutor in executors/__init__.py (graceful
  ImportError if flux-core bindings are not installed)
- Append FluxExecutor unit tests to test_flux.py; tests skip automatically
  when flux-core Python bindings are not present
…evelop/crate-ci/typos-1.48.0

Bump crate-ci/typos from 1.47.2 to 1.48.0
…on-updates-fec1d00dd4

Update setuptools requirement from <83,>=75.1.0 to >=75.1.0,<84 in the python-updates group
@jlnav
jlnav marked this pull request as ready for review July 10, 2026 14:00
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 58.44749% with 91 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.73%. Comparing base (826eb9b) to head (b919f2d).

Files with missing lines Patch % Lines
libensemble/executors/flux_executor.py 56.86% 79 Missing and 9 partials ⚠️
libensemble/specs.py 80.00% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@                     Coverage Diff                     @@
##           feature/flux_mpi_runner    #1758      +/-   ##
===========================================================
- Coverage                    77.20%   76.73%   -0.48%     
===========================================================
  Files                           79       80       +1     
  Lines                         8398     8617     +219     
  Branches                      1287     1334      +47     
===========================================================
+ Hits                          6484     6612     +128     
- Misses                        1666     1745      +79     
- Partials                       248      260      +12     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant