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-cuda12 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-cuda12 2.5.1
File Actions
iowarp_core_cuda12-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_cuda12-2.5.1-cp315-cp315-manylinux_2_28_x86_64.whl
iowarp_core_cuda12-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_cuda12-2.5.1-cp314-cp314-manylinux_2_28_x86_64.whl
iowarp_core_cuda12-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_cuda12-2.5.1-cp313-cp313-manylinux_2_28_x86_64.whl
iowarp_core_cuda12-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_cuda12-2.5.1-cp312-cp312-manylinux_2_28_x86_64.whl
iowarp_core_cuda12-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_cuda12-2.5.1-cp311-cp311-manylinux_2_28_x86_64.whl
iowarp_core_cuda12-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_cuda12-2.5.1-cp310-cp310-manylinux_2_28_x86_64.whl

Total release size: 102.1 MB

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

Download URL iowarp_core_cuda12-2.5.1-cp315-cp315-manylinux_2_28_x86_64.whl
Size 17.0 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
67a09f6d2cbbcb449718b7b5703703378d54b869923934f358a23dea2f9d314a
BLAKE2b-256 checksum
How to use checksums
9e4717284ccc4850e206a2d5b7db59a64488aebfb9f42dfc811d97d3c9f7b767
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_cuda12-2.5.1-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL iowarp_core_cuda12-2.5.1-cp314-cp314-manylinux_2_28_x86_64.whl
Size 17.0 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0a6fe54f115d936ca491a6f9ab80bf3b93ee7ab17d9baafa7956f6694c62552a
BLAKE2b-256 checksum
How to use checksums
b48c2688dc6991dd3e588cac719205b8586931c5f431cfab40f36b71201b869c
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_cuda12-2.5.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL iowarp_core_cuda12-2.5.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 17.0 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1a1554a28ada335440eb6f5eb528971ae85b2981cf74c053e7c6cb72e8aa47e9
BLAKE2b-256 checksum
How to use checksums
0257428bf890cc1b9f4e329cbb1a0e9cb393e3ca578b529f27ad3ee6519a0971
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_cuda12-2.5.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL iowarp_core_cuda12-2.5.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 17.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
511c4daad9bf908fc5cf5c0845fbb304b3255ae21f45f4fb41fb4491503d295b
BLAKE2b-256 checksum
How to use checksums
d281cdf26a441e96a9eee80229133351e974208f079b4c5cc2c205f23e294cc1
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_cuda12-2.5.1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL iowarp_core_cuda12-2.5.1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 17.0 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3b88d15ee9b92c4e9e911ae72455aa737a039db485d2b4357863fc65e9241789
BLAKE2b-256 checksum
How to use checksums
22e9cc2e4c1c510ee3e9d2c48a223a2148a57abb5c8d2d1b0b1da5866f06a459
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_cuda12-2.5.1-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL iowarp_core_cuda12-2.5.1-cp310-cp310-manylinux_2_28_x86_64.whl
Size 17.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4dfe97aa614d87d0017d3023928db5836d5f32bbe59a101eec3bd0c49f069022
BLAKE2b-256 checksum
How to use checksums
2a3fe4a71f6670b0a0c8b9de34a7bee9c11c0da5353c55b9043bd0b8da3da59a
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-cuda12 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