Skip to main content

CLIO Core

A Comprehensive Platform for Context Management in Scientific Computing

Overview · Installation · Components · Quickstart · Documentation · Contributing


Project Site License IoWarp GRC codecov

Overview

CLIO Core is a unified framework that integrates multiple high-performance components for context management, data transfer, and scientific computing. CLIO Core enables developers to build efficient data processing pipelines for HPC, storage systems, and near-data computing applications.

It provides:

  • High-performance context management for computational contexts and data transformations.
  • Heterogeneous-aware I/O with multi-tiered, dynamic buffering.
  • A modular runtime with dynamically loadable processing modules.
  • Shared-memory data structures that work across host, CUDA, and ROCm.
  • Distributed-by-construction scaling from single node to clusters.

Architecture

┌──────────────────────────────────────────────────────────────┐
│                      Applications                            │
│          (Scientific Workflows, HPC, Storage Systems)        │
└──────────────────────────────────────────────────────────────┘
                              │
        ┌─────────────────────┼─────────────────────┐
        │                     │                     │
┌───────────────┐   ┌──────────────────┐   ┌────────────────┐
│   Context     │   │    Context       │   │   Context      │
│  Exploration  │   │  Assimilation    │   │   Transfer     │
│    Engine     │   │     Engine       │   │    Engine      │
└───────────────┘   └──────────────────┘   └────────────────┘
        │                     │                     │
        └─────────────────────┼─────────────────────┘
                              │
                    ┌─────────────────┐
                    │  CLIO Runtime   │
                    │  (Module System)│
                    └─────────────────┘
                              │
                ┌─────────────────────────┐
                │  Context Transport      │
                │  Primitives             │
                │  (Shared Memory & IPC)  │
                └─────────────────────────┘

Installation

The pip wheel ships a portable, self-contained build with all dependencies statically linked. No system installs are required beyond glibc 2.28+ (manylinux_2_28: RHEL/Rocky/AlmaLinux 8 and newer, Ubuntu 20.04+, Debian 11+) and Python 3.10+.

pip install iowarp-core

The wheel includes the CLIO runtime, the clio_run CLI, the CTE, CAE, and CEE engines, and the clio_cee Python bindings. A default configuration is seeded at ~/.clio/clio.yaml on first import.

Extra features

The pip wheel covers the common case. Build from source if you need any of:

  • NVIDIA GPU (CUDA) or AMD GPU (ROCm) acceleration
  • MPI for distributed multi-node deployment
  • HDF5 / ADIOS2 adapters
  • FUSE adapter
  • Compression backends (LibPressio, Blosc, etc.)
  • Custom ChiMods built against the C++ headers
  • Sanitizer or debug builds
git clone --recurse-submodules https://github.com/iowarp/clio-core.git
cd clio-core

# Common presets: release, debug, cuda-release, rocm-release
cmake --preset=release
cmake --build build -j"$(nproc)"
sudo cmake --install build

For the per-feature apt / dnf dependency list and the complete CLIO_*_ENABLE_* flag checklist, see INSTALL.md. Other install methods (Conda, Docker, Spack) are documented in Install CLIO Core.

Components

Component Location Purpose
Context Transport Primitives context-transport-primitives/ Shared-memory containers, allocators, sync primitives, networking (ZMQ / libfabric / Thallium). GPU-aware (CUDA, ROCm).
CLIO Runtime context-runtime/ Coroutine-based modular runtime (< 10 µs task latency). Hosts ChiMods and provides admin + bdev modules.
Context Transfer Engine context-transfer-engine/ Multi-tiered, heterogeneous-aware I/O buffering. Tag + blob storage with adapters for POSIX, HDF5 (VFD/VOL), ADIOS2, MPI-IO, FUSE3, GDS.
Context Assimilation Engine context-assimilation-engine/ OMNI-YAML-driven data ingestion (binary, HDF5, Globus) into CTE.
Context Exploration Engine context-exploration-engine/ High-level C++ and Python (clio_cee) API for bundling, querying, and retrieving data. Includes an MCP server for AI agents.

Quickstart

Start the runtime

Installation seeds a default configuration at ~/.clio/clio.yaml, so the runtime works out of the box:

clio_run start          # foreground
clio_run start &        # background

To override the configuration, point CLIO_SERVER_CONF at your own YAML file:

export CLIO_SERVER_CONF=/path/to/my_config.yaml
clio_run start

A single-node runtime listens on loopback only. The runtime does not authenticate clients or peers, so listening on the network is opt-in.

  • Clients on other hosts. Start the runtime with CLIO_BIND_ADDR=0.0.0.0, or with one of this machine's addresses. Clients connect with CLIO_SERVER_ADDR=<runtime address>. Do this only on a network you trust.
  • Multi-node runtimes. A runtime with a hostfile listens on every interface, because its peers must reach it. Run multi-node deployments on a trusted network.

FUSE filesystem

clio_cte_fuse exposes the Context Transfer Engine as a POSIX filesystem, so unmodified applications read and write IOWarp-managed data through ordinary file I/O. The wheel ships this binary on Linux and Windows; macOS wheels do not (macOS has no FUSE3 API).

1. Install the FUSE runtime. libfuse3 is a system dependency and is deliberately not bundled in the wheel, so install your distribution's package:

sudo apt install fuse3 libfuse3-3      # Debian / Ubuntu
sudo dnf install fuse3 fuse3-libs      # Fedora / RHEL

On Windows, install WinFsp instead. The clio_cte_fuse console script prepends WinFsp's bin directory to PATH itself, so winfsp-x64.dll resolves without a system-wide PATH edit.

2. Mount. Start the runtime, then point the daemon at a mountpoint. The daemon create-or-binds the filesystem pool and the CTE pool underneath it, so no separate compose step is required:

clio_run start &
mkdir -p ~/clio-mnt
CLIO_WITH_RUNTIME=0 clio_cte_fuse ~/clio-mnt -f

CLIO_WITH_RUNTIME=0 attaches to the runtime you just started rather than spawning an embedded one — without it the daemon brings up its own runtime and the data will not be visible to other clients. -f keeps the daemon in the foreground, which is the configuration CI exercises. Every remaining argument is handed to fuse_main, so standard libfuse options apply (-o allow_other, -d for protocol tracing). On Windows the mountpoint is a drive letter: clio_cte_fuse Z:.

The mount then behaves like any other filesystem:

cp big_input.h5 ~/clio-mnt/
python analysis.py ~/clio-mnt/big_input.h5

3. Unmount:

fusermount3 -u ~/clio-mnt      # or: fusermount -u ~/clio-mnt

To size the storage tiers explicitly instead of taking the defaults, compose a CTE pool before mounting — see context-transfer-engine/test/integration/fuse-manual/cte_compose.yaml for a working single-tier example:

clio_run compose start my_cte.yaml

Two semantics worth knowing: writes are write-through, so each write() reaches the chimod synchronously and the logical file size is always exact; and the kernel attribute and entry caches are disabled, so metadata that another client changed is never served stale.

Python: bundle, query, retrieve

import clio_cee as cee

ctx_interface = cee.ContextInterface()

# Assimilate inline strings into IOWarp storage.
# src="string::<blob_name>" names the blob; src_data carries the payload.
docs = [
    ("climate_report",   "Arctic sea ice extent fell to a record low in 2023."),
    ("ocean_temps",      "Ocean surface temperatures rose 0.3°C above the 20-year mean."),
    ("co2_levels",       "Atmospheric CO₂ reached 421 ppm, the highest in 800,000 years."),
]
bundle = [
    cee.AssimilationCtx(
        src=f"string::{name}",
        dst="iowarp::climate_docs",
        format="string",
        src_data=text,
    )
    for name, text in docs
]
ctx_interface.context_bundle(bundle)

# Query for blob names matching a regex.
blobs = ctx_interface.context_query("climate_docs", ".*")

# Query the top-2 most relevant blob names via BM25 semantic search.
blobs = ctx_interface.context_query("climate_docs", ".*",
                                    max_results=2,
                                    prompt="temperature anomaly over Arctic")

# Retrieve blob payloads (regex).
data = ctx_interface.context_retrieve("climate_docs", ".*")

# Retrieve the top-2 most relevant blobs via BM25 semantic search.
data = ctx_interface.context_retrieve("climate_docs", ".*",
                                      max_results=2,
                                      prompt="temperature anomaly over Arctic")

# Clean up.
ctx_interface.context_destroy(["climate_docs"])

C++ (CTE, direct)

For direct CTE put/get from C++, see the canonical example and operation reference in the Context Transfer Engine README.

Testing

cd build/release
ctest -VV                    # all unit tests
ctest -R context_transport   # CTP tests
ctest -R runtime             # runtime tests
ctest -R cte                 # CTE tests
ctest -R omni                # CAE tests
ctest -R context             # CEE tests

Benchmarking

CLIO Core ships two main benchmarks; pass --help to either for the full parameter list.

  • clio_run_thrpt_bench — runtime task throughput and latency (bdev_io, bdev_allocation, bdev_task_alloc, latency test cases).
  • clio_cte_bench — CTE Put / Get / PutGet throughput across threads, async depth, I/O size, and key-space cardinality.

Example:

clio_run_thrpt_bench --test-case bdev_io --threads 8 --duration 30
clio_cte_bench       --op PutGet --threads 8 --depth 16 --io-size 1m --io-count 200

Documentation

Use Cases

Scientific computing: data processing pipelines, near-data computing, custom storage engines, workflows with context management.

Storage systems: distributed file system backends, object storage, multi-tiered caches, high-throughput I/O buffering.

HPC and data-intensive workloads: accelerated I/O, ingestion and transformation pipelines, heterogeneous computing with GPU support, real-time streaming analytics.

Performance Characteristics

  • Task latency: < 10 µs for local task execution.
  • Memory bandwidth: up to 50 GB/s with the RAM bdev backend.
  • Scalability: single node to multi-node clusters.
  • Concurrency: thousands of concurrent coroutine-based tasks.

Contributing

  1. Fork the repository.
  2. Create a feature branch: git checkout -b feature/amazing-feature.
  3. Follow the contributing guide.
  4. ctest --test-dir build/release before opening a PR.
  5. Submit a pull request against iowarp/clio-core.

License

CLIO Core is licensed under the BSD 3-Clause License. See LICENSE for the full text.

Copyright (c) 2024, Gnosis Research Center, Illinois Institute of Technology


Acknowledgements

CLIO Core is developed at the GRC lab at Illinois Institute of Technology as part of the IOWarp project, supported by the National Science Foundation (NSF) to advance next-generation scientific computing infrastructure.

Metadata

Release files for iowarp-core-rocm6 2.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for iowarp-core-rocm6 2.5.1
File Actions
iowarp_core_rocm6-2.5.1-cp315-cp315-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64 Details for iowarp_core_rocm6-2.5.1-cp315-cp315-manylinux_2_28_x86_64.whl
iowarp_core_rocm6-2.5.1-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for iowarp_core_rocm6-2.5.1-cp314-cp314-manylinux_2_28_x86_64.whl
iowarp_core_rocm6-2.5.1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for iowarp_core_rocm6-2.5.1-cp313-cp313-manylinux_2_28_x86_64.whl
iowarp_core_rocm6-2.5.1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for iowarp_core_rocm6-2.5.1-cp312-cp312-manylinux_2_28_x86_64.whl
iowarp_core_rocm6-2.5.1-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for iowarp_core_rocm6-2.5.1-cp311-cp311-manylinux_2_28_x86_64.whl
iowarp_core_rocm6-2.5.1-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for iowarp_core_rocm6-2.5.1-cp310-cp310-manylinux_2_28_x86_64.whl

Total release size: 101.6 MB

Release files / iowarp_core_rocm6-2.5.1-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL iowarp_core_rocm6-2.5.1-cp315-cp315-manylinux_2_28_x86_64.whl
Size 16.9 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
44256af87da26e3282ebb9f00a2c2002c6d28b9d3009bc3ec8ab9e51a6ce0868
BLAKE2b-256 checksum
How to use checksums
65d924bde7dfb548ae85213cb5365798f11c83a1472ce22e94a5ca11657cf492
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / iowarp_core_rocm6-2.5.1-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL iowarp_core_rocm6-2.5.1-cp314-cp314-manylinux_2_28_x86_64.whl
Size 16.9 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f788a7d393412d4af1aec1b626ebaa1f8c5d673e0be6034e354aa752ced2832d
BLAKE2b-256 checksum
How to use checksums
aaa2c35a6582daee92e8a2d0354e9d0050643dd01d6798617253096cf0e7c4ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / iowarp_core_rocm6-2.5.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL iowarp_core_rocm6-2.5.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 16.9 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
929f10b90fdbdc011ca3903e198b106378b8a481c40e974c567c1bf312cf002b
BLAKE2b-256 checksum
How to use checksums
9dc84659afaa49ed2130513f88c98a9917b0925b6319d1d72ba8695a3c8c26b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / iowarp_core_rocm6-2.5.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL iowarp_core_rocm6-2.5.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 16.9 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7461d7f95a8bc56c49cb974b3bd843c9b4c04d488c525ccb88459714d12c7916
BLAKE2b-256 checksum
How to use checksums
febce86382c740d141185bd21c8ba8100e81656b1f133b8840cb094167bb3506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / iowarp_core_rocm6-2.5.1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL iowarp_core_rocm6-2.5.1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 16.9 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b8a42ce03312a34def8ed92d2ed0a889c0ca345b0c844833cde999e131d13f68
BLAKE2b-256 checksum
How to use checksums
587dabff25565d71f8488663ca79f422919d09b4467177381c9be8a2b2b9f96f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / iowarp_core_rocm6-2.5.1-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL iowarp_core_rocm6-2.5.1-cp310-cp310-manylinux_2_28_x86_64.whl
Size 16.9 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a4f8eca150ddfd558be5ba0d1d4d77841ddcf3f36db09fc528c1876279fb3e06
BLAKE2b-256 checksum
How to use checksums
e356cc1f00fcc65d292d24f6f13aa30a7cb96cc30516a4433b9874b7c31d618d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for iowarp-core-rocm6 2.5.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page