RADICAL Workflow Mini-Apps
Workflow Mini-Apps1 provides small, self-contained representations of scientific workflows (or mini-apps) for developing workflows. Each mini-app is a simplified version of a complex scientific workflow, capturing its key tasks, data flow, and performance characteristics without the deployment challenges of the full application. Workflow Mini-apps can be scaled and configured without application specific deployment challenges and constraints.
Workflow Mini-app facilitate experimentation and helps understand workflow (distinct from application) performance.
Documentation: https://radical-cybertools.github.io/workflow-mini-apps/
Repository layout
| Path | Contents |
|---|---|
src/wfMiniAPI/ |
The Python package: emulation kernels (wfMiniAPI.kernels, also importable as wfMiniAPI.kernel) |
cpp/include/wfMiniAPI/ |
Header-only C++ kernels |
examples/ |
Workflow mini-apps on AsyncFlow and RHAPSODY: motif_2, motif_3, motif_4, motif_6, dragon-mpi; agentic-screening, populations of agents on the AUTONMI framework (installed separately); standalone task scripts in tutorial/ |
examples/legacy/exalearn/ |
The Neutron Diffraction (InverseProblem) mini-app on the old RADICAL-Pilot API; kept for reference, not maintained |
benchmarks/ |
CUDA micro-benchmarks |
tools/ |
plot_run.py (plot a run's telemetry), validate_node.sh (validation on an HPC node), analyze/ (result-analysis helpers) |
docs/ |
Documentation (MkDocs) |
tests/ |
Unit tests and the workflow equivalence harness |
The AI-steered simulation mini-app (formerly DeepDriveMD here) now lives in
DeepDriveSim (workflows/miniapps_workflow).
Installation
Python 3.12 or newer.
git clone https://github.com/radical-cybertools/workflow-mini-apps.git
cd workflow-mini-apps
pip install -e ".[workflow,io,mpi]" # add "gpu" for CuPy (CUDA 12), "test" for the tests
| Extra | Installs |
|---|---|
io |
h5py (I/O kernels) |
mpi |
mpi4py (MPI kernels) |
gpu |
cupy-cuda12x (GPU kernels) |
workflow |
AsyncFlow and RHAPSODY (with telemetry), needed by the examples |
dragon |
the Dragon backend (dragonhpc 0.15.0, through RHAPSODY) |
plot |
matplotlib, for tools/plot_run.py |
test, docs, dev |
pytest; MkDocs; ruff and pre-commit |
Each example's README explains how to run it. Every example uses
wfMiniAPI.api.MiniApp, which records each run and verifies that its telemetry is
complete; see Use MiniApp.
Tests
pip install -e ".[workflow,io,mpi,test]"
pytest
tests/equivalence/ checks that the example workflows behave exactly as their recorded
baseline; see its README. The tests that run examples/agentic-screening/ need the AUTONMI
framework, installed separately, and skip without it. On a node with Dragon (and a GPU), tools/validate_node.sh
runs the same comparison on the real backend (docs/testing/hpc-validation.md).
This work has been supported by the DOE RECUP project.
-
Ozgur O. Kilic, Tianle Wang, Matteo Turilli, Mikhail Titov, Andre Merzky, Line Pouchard, and Shantenu Jha (2024) "Workflow Mini-Apps: Portable, Scalable, Tunable & Faithful Representations of Scientific Workflows". https://doi.org/10.1109/CCGrid59990.2024.00059, https://arxiv.org/abs/2403.18073 ↩
Metadata
Release files for wfMiniAPI 0.3.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 |
|---|---|---|---|---|
| wfminiapi-0.3.0.tar.gz | 29.9 kB | Without provenance | Details for wfminiapi-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wfminiapi-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for wfminiapi-0.3.0-py3-none-any.whl |
Total release size: 64.1 kB
Release files / wfminiapi-0.3.0.tar.gz
| Download URL | wfminiapi-0.3.0.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8950d753a901f9184142251d1f4f23569952cc4a2ada568f30002998f469d98
|
|
BLAKE2b-256 checksum How to use checksums |
fdd63469015cd64c14cc15fc3c73cb42f8b0a21bfc5e630e2c2dda716617294b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / wfminiapi-0.3.0-py3-none-any.whl
| Download URL | wfminiapi-0.3.0-py3-none-any.whl |
|---|---|
| Size | 34.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81d07db58b82d13d3c2055a2e7ca8a6cbf539195927c267dda7280cfd482eac2
|
|
BLAKE2b-256 checksum How to use checksums |
ff8181e1104d98294d2e07d42040dc2b8f3d4bd4a470c895f352bef965d46489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for wfMiniAPI 0.3.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.