What’s new in v2.13?

GPU buffers must declare their array layout (Breaking Change)

Since v2.10, ADIOS2 has assumed that any buffer it detected as GPU memory was column-major. However, GPU kernels and libraries differ in their conventions: CuPy and PyTorch arrays are row-major, while Kokkos defaults to column-major on the device. A raw device pointer (from cudaMalloc, hipMalloc, CuPy, PyTorch, etc.) carries no layout information, so ADIOS2 cannot tell which one it has, and row-major GPU data was recorded with the wrong shape.

This is a breaking change. ADIOS2 no longer guesses. A Put or Get of a multidimensional variable whose buffer is a raw GPU pointer now throws unless the layout has been set first:

var.SetArrayLayout(adios2::ArrayOrdering::RowMajor);  // or ColumnMajor

The equivalents are set_array_layout in Python and adios2_set_array_layout in C and Fortran. Kokkos::View buffers take their layout from the view, and 1-D variables and host buffers are unaffected. Code that relied on the old behavior should set ColumnMajor; code whose GPU data is row-major should set RowMajor.

The layout calls are now available in every ADIOS2 build, with or without GPU support, so they can be added unconditionally. In earlier releases only the C++ SetArrayLayout existed, and only in builds with Kokkos or GPU support.

Readers can tell how an array was written

A BP5 file keeps a single array order, so an array written from buffers in the other layout (a Fortran array, a Kokkos::LayoutLeft view in C++, or a buffer declared with SetArrayLayout) is stored with its dimensions reversed, and readers see it transposed. BP5 now also records, per variable, the layout of the buffers each array was written from. Readers can query it with GetWriterArrayLayout (writer_array_layout in Python, adios2_writer_array_layout in C and Fortran), which returns RowMajor or ColumnMajor, or Auto for engines that do not record it. Files written this way remain readable by earlier ADIOS2 versions, which ignore the record.

bpls -l and bpls -d mark arrays written from column-major buffers, since it lists and dumps them transposed.

BP4/BP5 readers no longer wait on files left open by a killed writer

A BP4 or BP5 writer marks its file as being written until it closes it. A writer that is killed (for example at the end of a batch job’s time limit) leaves that mark behind, and readers used to wait forever in BeginStep() for steps that would never come. BP4 and BP5 readers now ignore the mark by default (new parameter IgnoreActiveFlag, default true): they read the steps that are present and then get EndOfStream. BP5’s OpenTimeoutSecs now also defaults to 0 in Read mode (as BP4’s already did), so opening a file that does not exist fails right away instead of waiting for up to an hour.

This changes how a file that is still being written can be followed. Use the FileStream engine, which sets IgnoreActiveFlag=false and waits up to an hour for the file to appear, or set IgnoreActiveFlag=false (and an OpenTimeoutSecs) on a BP4 or BP5 reader. adios_reorganize keeps following files that are being written; it now warns when such a file stops producing steps, and --ignore-active-flag makes it process the steps that are present.

Native DAOS engine

The DAOS engine now keeps all bulk data in DAOS objects, reading and writing through the DAOS array API rather than through POSIX files on a dfuse mount. Earlier releases shipped only a prototype that placed metadata in DAOS and wrote data as files. Each writer rank writes its own DAOS array, with no cross-rank aggregation, and issues asynchronous writes as its buffer fills, so transfers overlap the remaining Put calls of the step. Per-rank, per-step metadata is stored in DAOS as well; only the small rank-0 index and format files remain in the dataset directory. On reads, a selection that does not match the writer’s decomposition fetches only the bytes it needs, batched into a few large DAOS requests. Select it with io.SetEngine("daos"), and set DAOS_POOL and DAOS_CONT on every rank. See the DAOS engine documentation for build requirements, parameters and current limitations.

Campaign HDF5 reads over HTTPS and S3

The Campaign Reader can now read HDF5 dataset values from HTTPS and S3 objects without downloading the complete object. A read-only HDF5 virtual file driver maps HDF5 byte requests to ADIOS2 transports, while the HDF5 metadata surrogate embedded in the campaign remains the primary file for discovery and small values. Individual HDF5 objects and HDF5 members in indexed TAR objects are supported, including multistep and hyperslab selections.

Leaner default build for packagers

Several rarely used, unmaintained engines are now off by default: DataMan, MHS, SSC, and DataSpaces, along with the DDN IME transport. SSC gains a dedicated ADIOS2_USE_SSC option (previously it was always built alongside MPI); the others switch from AUTO to OFF. ZeroMQ, required only by the DataMan engine, is likewise off by default, so a default build no longer probes for or links it. Any of these can still be enabled explicitly (for example -DADIOS2_USE_MHS=ON). See the new “Notes for Packagers” section of the README for the recommended feature tiers.

Thread-Safe Get with GetContext

A new GetContext API extends the Selection-based Get() to support concurrent read pipelines on a single engine. Each caller allocates its own GetContext via Engine::NewGetContext() and uses it as the first argument to Get() and PerformGets(); per-context queues mean two threads can drive independent Get batches against the same open engine without racing.

auto ctx = engine.NewGetContext();
if (ctx) {
    engine.Get(*ctx, var, data, adios2::Selection::BoundingBox(start, count));
    engine.PerformGets(*ctx);
}

NewGetContext() returns nullptr when the engine does not support concurrent contexts; callers feature-probe with the null check. Currently only the BP5 reader supports them, and only when opened in Mode::ReadRandomAccess with a reentrant file transport (POSIX). See the Selection chapter for full details.

Collective reader engine selection

When a reader does not set an engine explicitly, the engine type is auto-detected from the filesystem. That probing now happens on rank 0 and is broadcast, instead of every rank issuing its own stat() calls. If nothing exists at the given location, IO::Open now fails collectively with a clear error (and a hint to call SetEngine for a stream that has not been created yet) rather than selecting BP3 and hanging the non-root MPI ranks.

SST Mercury Data Plane

A new Mercury data plane for SST uses the Mercury/margo RPC framework to carry data, supporting multiple network backends through a single implementation: cxi:// for HPE-Cray Slingshot (Frontier, Perlmutter), ofi+tcp / ofi+verbs for libfabric-based fabrics, bmi+tcp, and na+sm for shared memory. The backend is selected at runtime via the MercuryProtocol engine parameter, with an SST_MERCURY_PROTOCOL environment-variable fallback. On Slingshot, the required OFI auth key is supplied automatically from SLINGSHOT_VNIS. See the SST engine documentation for details.

Derived variables on by default

Derived variables are now built by default (ADIOS2_USE_Derived_Variable defaults to ON; it was OFF in earlier releases). A StoreData derived variable can also have an operator (for example a compressor) added through the handle returned by DefineDerivedVariable, with AddOperation in C++ and add_operation in Python, the same way as a primary variable. Previously an operator could be attached only through the XML configuration. Derived variables are still supported only by the BP5 engine.

Reader-defined derived variables

A read IO can now define a derived expression over a file’s variables that were never marked derived at write time: IO::DefineReaderDerivedVariable(name, expression), then InquireVariable/Get after Open. The reader computes it from the file data. BP5 only; inputs must be same-shaped global arrays. C++, C, Fortran, Python.

Derived expressions: attribute and scalar inputs

Derived expressions can now use single-value (scalar) variables and numeric attributes alongside array inputs. A scalar variable broadcasts its per-step value across the array inputs (pressure * dt). @name references the single-element numeric attribute name; its current value is read at each evaluation, so modifiable attributes take effect step by step. A binding with a numeric right-hand side defines a named constant (c = 2.99792458e8). Variable names containing special characters are referenced through binding lines (x = sim/data.Ux) or inline backticks (` `sim/Ux` + 1 `), and / in a formula always means division.

JIT fusion for derived expressions

Element-wise derived expressions over float or double arrays (+, -, *, /, negate, sqrt, including ^2 by strength reduction) can be JIT-compiled into a single fused vector loop via the bundled dill library’s new 128-bit vector API, typically 3-4x faster than the interpreter and within a few percent of natively compiled code. Results are bit-identical to the interpreter. Opt-in for now via the DerivedFuse environment variable; expressions the fuser cannot handle fall back to the interpreter, as do builds without dill >= 4.0.

Missing min/max reported as N/A

Variables stored without statistics (StatsLevel=0) now report an unset range (Min() > Max()) instead of a misleading 0/0; bpls prints N/A.

BP5 recovery from truncated files

BP5 readers can now recover the steps that are intact in a file truncated by a crash or a full filesystem. Steps backed by the actual md.0/mmd.0 content are served, and attributes whose format information was lost are skipped. The reader no longer crashes on malformed metadata framing or index headers. The new EOFWaitSecs parameter controls how long a reader waits before concluding that a writer-inactive file has reached its end. Each BP5 file now also carries a unique id in its index header.

BP5 32-bit and 64-bit portability

BP5 metadata now uses fixed-width fields, so files written on a 32-bit platform can be read on a 64-bit one and vice versa.

FileStream writes BP5

The FileStream engine now writes BP5 and detects the BP version of an existing file from the md.idx header without a race. Append is mode-aware, and Variable::Start() is block-aware for local arrays.

BP5 direct reads of N-dimensional selections

The BP5 reader can read N-dimensional selections directly into the application buffer, and a memory selection is now also honored on the remote read path. A default selection is resolved at the step actually being read.

XRootD remote backend

The remote server can be reached through an XrdCl HTTP backend. The client supports a configurable URL path prefix (serverpath in hosts.yaml), the server answers HEAD requests with the exact size, and the Campaign Reader can read simple files, images, and HDF5 members of TAR objects through XRootD.

HDF5 files inside TAR archives

HDF5 files stored as members of a TAR file can now be read.

New CAESAR compression operator

A new CAESAR operator (enable with ADIOS2_USE_CAESAR) compresses 3D to 5D data, with optional correction methods. The MGARD operator releases its retained GPU memory (MGARD-X cache) after use, and the new ADIOS2_USE_MGARD_MDR option builds MGARD with MDR support. The MGARD operator also accepts a lossless type parameter.

Encryption operator keys from the environment

The EncryptionOperator can now load its key from environment variables on the reader side.

SST improvements

SST now delivers attributes reliably, including string array attributes, and the legacy marshaling code was removed. Several UCX data plane fixes were made (endpoint creation by lazy writers and rkey lifetime).

Python wheels

Wheels are now built for macOS and for free-threaded Python 3.14 (cp314t), and a new adios2-mpi package provides MPI-enabled Linux wheels. The wheels now include libsodium, curl, and SSL support. An Apptainer image of ADIOS2 is also published.

Build and packaging changes

  • Blosc2 3.x is accepted, and ADIOS2_USE_Blosc2=ON now fails if Blosc2 is not found instead of silently disabling it.

  • The bundled KWSys now uses std::filesystem and CLI11 (C++17), and the MinGW-64 specific getopt code was removed.

  • FindZeroMQ.cmake was modernized.

  • bpls and the Python AvailableVariables() now print minimum and maximum values of double variables with enough precision (for example 1.302553e+05 instead of 130255).

  • ZFP now handles complex data, and Python 8-bit arrays map to NumPy dtypes by their own signedness.

What’s new in v2.12?

C API Improvements

New functions for safely retrieving string data of unknown length using a two-call pattern (first call with NULL buffer to query length, then call again with allocated buffer to retrieve data):

  • adios2_get_string() - for string variables

  • adios2_attribute_string_data() - for single-value string attributes

  • adios2_attribute_string_data_array() - for string array attributes

This addresses a gap in the C API where string lengths could not be queried before reading.

Selection API for Get() Operations

A new Selection class provides an explicit, self-contained way to specify what data to read in Get() calls. Instead of mutating the Variable object with SetSelection(), SetBlockSelection(), SetStepSelection(), etc., all selection parameters are bundled into a Selection object that is passed directly to Get(). This avoids relying on potentially stale variable state and makes the intent of each Get() call clear at the call site.

A selection has two independent aspects: a spatial selection — Selection::All() (the default — reads the entire variable) or Selection::BoundingBox(start, count) (hyperslab) — and an optional block selection via Selection::Block(blockID) or .WithBlock(blockID). A block ID combines with a bounding box on a local array, where the box is taken relative to the selected block; on a global array the two select alternative regions and the pair is refused. Additional parameters (steps, memory layout, accuracy) can be added via fluent With*() methods or mutable Set*() methods. A ToString() method is provided for debugging.

// Select everything
engine.Get(var, data, adios2::Selection::All());

// Fluent style — bounding box with step range
auto sel = adios2::Selection::BoundingBox({0, 0}, {10, 20}).WithSteps(0, 5);
engine.Get(var, data, sel);

// Mutable style — reuse across iterations
adios2::Selection sel;
sel.SetBoundingBox({0, 0}, {10, 20});
for (size_t step = 0; step < nsteps; ++step)
{
    sel.SetSteps(step, 1);
    engine.Get(var, buffers[step], sel);
}

// Debug output
std::cout << sel.ToString() << std::endl;

Existing SetSelection()-based APIs remain available and are not deprecated. See Selection for full documentation.

Plugin Interface v2 (Breaking Change)

Both the engine and operator plugin interfaces have been redesigned as standalone classes that no longer inherit from internal core types (core::Engine and core::Operator). This is a breaking change for existing plugins written against the v1 interface (ADIOS2 2.11 and earlier).

What changed:

  • Engine plugins now inherit from PluginEngineInterface (in adios2/plugin/PluginEngineInterface.h) which uses public C++ API types (adios2::IO, adios2::Variable<T>) instead of internal core types. The EngineCreate() signature now takes adios2::IO and adios2::Mode instead of core::IO & and helper::Comm.

  • Operator plugins now inherit from PluginOperatorInterface (in adios2/plugin/PluginOperatorInterface.h) which is fully self-contained with no dependencies on ADIOS internals.

  • Plugin shared libraries now only need to link against adios2::cxx (not adios2::core).

Migrating from v1: Update your plugin class to inherit from the new interface, replace any core::IO / core::Variable<T> usage with the public adios2::IO / adios2::Variable<T> types, and update the EngineCreate() / EngineDestroy() signatures accordingly. See the examples in examples/plugins/ for reference implementations.

New engine plugin capabilities: The v2 engine interface has also been extended with optional methods for more advanced functionality:

  • Selection-based Get: DoGetSync() and DoGetDeferred() overloads that accept a Selection parameter, enabling sub-array and block reads.

  • Span-based Put: DoPut() with a Span parameter for zero-copy writes of primitive types.

  • Step queries: Steps() to report the total number of available steps.

  • Block introspection: MinBlocksInfo() to return block decomposition metadata for a given variable and step.

All new methods have empty default implementations, so they are optional. See Plugins for full documentation.

XRootD Server Resource Management

The XRootD server plugin used for remote campaign access now includes resource-aware cache management:

  • FD and metadata eviction: The file pool tracks per-file file descriptor costs and metadata memory usage, evicting idle entries when configurable limits are approached. Limits can be set via environment variables (ADIOS_POOL_FD_LIMIT, ADIOS_POOL_METADATA_LIMIT) or at runtime through the admin HTTP interface.

  • Shared tar FD cache: When multiple datasets are packed into a single tar file (common in campaign archives), a process-wide singleton shares one file descriptor across all engines reading from the same tar, reducing FD consumption from N to 1 per tar file.

  • Batched data requests: The remote reader now batches multiple variable reads into a single network round-trip, reducing latency for workloads that read many variables per step.

  • Per-request access log: An optional server-side log records each remote read (variable, step, selection, byte count) as JSON lines, for analyzing access patterns. It is off by default; set ADIOS2_XROOTD_ACCESSLOG to a file path to enable it, with size-based rotation and retention configurable via environment variables. See the XRootD plugin README.md for details.

Cross-Endian Interoperability

The ADIOS2_USE_Endian_Reverse CMake option has been removed. Cross-endian file interoperability (reading files written on a machine with different byte order) is now always enabled. This means files written on big-endian systems can be read on little-endian systems and vice versa without any special build configuration.

S3 Object Storage for BP5 Data

BP5 can now write data files to S3-compatible object storage (Amazon S3, MinIO, Ceph, etc.) while keeping metadata on the local filesystem. This hybrid model provides cheap bulk storage for data with fast local metadata access.

Set DataFileTransport=awssdk, S3Endpoint, and S3Bucket as engine parameters. Credentials are accepted as parameters or via standard AWS environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY).

Key features:

  • Multi-object mode (default): each data segment is a separate S3 object, providing automatic crash recovery

  • Async write: automatically enabled for S3 transports so uploads overlap with computation

  • Append and AppendAfterSteps: supported via segment discovery and selective object deletion

  • Stale object cleanup: previous data objects are deleted on Open(Write)

  • s3.json sidecar: written locally so readers auto-detect the S3 location

See BP5 S3 Object Storage for configuration details.

C++17 Minimum Requirement

The minimum C++ standard required to build ADIOS2 has been raised from C++14 to C++17.

Python Bindings: Nanobind Migration

The Python bindings have been migrated from pybind11 to nanobind. Nanobind produces smaller, faster extension modules and enables stable-ABI (abi3) wheels for Python 3.12 and later, so a single wheel binary works across multiple Python versions without recompilation.

Asymmetric Encryption Operator

A new Encryption operator supports asymmetric encryption of variable data using libsodium’s sealed-box construction (X25519 key exchange + XSalsa20-Poly1305). Writers encrypt data using the recipient’s public key; only the holder of the corresponding private key can decrypt. No writer keypair is required, so the data producer does not need to be trusted with decryption credentials.

SZ3 Compression Operator

A new SZ3 operator is available for lossy data compression using the SZ3 library, extending the available compression options alongside SZ, ZFP, MGARD, and BigWhoop.

RefactorProDM Operator

A new RefactorProDM operator integrates ADIOS2 with ProDM, a data decomposition library by Dr. Xin Liang. When ProDM is available at build time, this operator provides decomposition-based data reduction as an alternative to traditional compressors.

Python Free-Threading Support

The Python bindings are now compatible with free-threaded Python (PEP 703, python3.13t), allowing ADIOS2 to operate without the GIL in environments that support it.

HTTPS Transport for Remote Access

An HTTPS-based remote transport (XrootdHttpsRemote) using libcurl has been added as an alternative to the native XRootD protocol. This enables reading ADIOS2 datasets over standard HTTPS URLs from XRootD SSI services, useful in environments where native XRootD connectivity is unavailable.

Campaign Reader Improvements

The campaign reader received several improvements: host aliases in ~/.config/hpc-campaign/hosts.yaml allow symbolic machine names to be defined once and reused across dataset entries; XRootD connections can now be declared as host entries; in-memory metadata caching reduces repeated file access overhead; and the reader now strictly accepts ACA version 0.7, rejecting unsupported versions with a clear error. For large archives the SQLite query was rewritten as a single join across the dataset, replica, file, and resolution tables, reducing open time from ~27 seconds to under one second for collections of thousands of images.

TAR File Reading

The BP5 reader now supports datasets packaged inside TAR archives. When a TAR index is provided, BP5 datasets, text files, and images can be read from a local TAR, an HTTPS-hosted TAR, or a TAR accessible via the remote server. This is primarily used by the campaign reader to access archived datasets.

Python Stream: minmax()

adios2.Stream gains a new minmax(name, [step], [block_info_list]) method that returns the minimum and maximum values of a variable. In read mode or when a step is specified it returns per-step statistics; in random-access mode without a step argument it returns the global min/max.

Inline Engine Buffering

The inline engine now supports basic output buffering, a step toward full feature parity with file-based engines for in-situ workflows.

Windows and macOS pip Wheel Support

Automated integration tests for pip sdist and wheel builds on Windows and macOS have been added to CI, verifying correct library loading and packaging under pip install workflows.

REUSE License Compliance

ADIOS2 now complies with the REUSE specification, ensuring every source file carries a machine-readable SPDX license and copyright notice.

What’s new in 2.11?

This is a major release with new features and lots of bug fixes. The main highlights include enhanced derived variables, remote data access, GPU improvements, campaign management overhaul, and advanced compression operators.

Derived Variables

Support for reader-side computed variables with expression evaluation. This release adds comprehensive functionality including new mathematical operations (trigonometric functions, multiplication, division, power) and the ability to apply derived variables to aggregated arrays.

Remote Data Access Infrastructure

Implementation of XRootD and remote server capabilities enabling distributed file access. This includes support for remote streaming, metadata caching, and optimized query handling across networked systems.

GPU and Memory Space Improvements

Enhanced GPU backend support with memory selection adjustments, Kokkos integration improvements, and bindings for cuPy pointers and torch tensors. Addresses layout mismatches between user code and device memory.

Campaign Management System Overhaul

Significant updates to campaign tracking using SQLite databases replacing JSON files, configuration file support, and attribute handling. Includes multi-host support and improved metadata organization.

Compression and Data Format Advances

New operators including BigWhoop compression and Complex MGARD support. ZFP now supports 4D arrays, and improved MGARD efficiency through zstd compression of lossless data portions.

OpenSSF Best Practices

ADIOS2 now adopts OpenSSF (Open Source Security Foundation) best practices including enhanced security measures, automated vulnerability scanning, and adherence to industry-standard development practices.

What’s new in 2.10?

This is a major release with new features and lots of bug fixes. The main new feature is the new Python API.

Python

Before, ADIOS had two separate APIs for Python. The low-level (“Full”) API was written with Pybind11 and directly mimicked the C++ API. The high-level API was another, smaller, and more pythonesque API that allowed for easier scripting with Python. The main problems with these two were that they were independent, and that the high-level API was not complete. Once a developer needed a feature only available in the full API, they had to start from scratch writing a script with the full API.

In 2.10, there is officially one Python API, written in Python, which in turn uses the old Pybind11 classes. The new API combines the high-level features of the old high-level API – hopefully in a more consistent and likeable way, – and the full feature set of the low-level bindings.

Note

Old scripts that used the full API can still run without almost any modification, just change the import line from import adios2 to import adios2.bindings as adios2

Old scripts that used the high-level API must be modified to make them work with the new API, see Transition from old API to new API

u

See Python APIs

New/updated features

  • BP5 is supported on Windows now

  • SST and DataMan staging engines are GPU-Aware now

  • SYCL support added for Intel GPUs (besides CUDA and HIP for NVidia and AMD GPUs)

  • the SST/libfabric data transport now works on Frontier (besides the MPI data transport)

Packaging

  • adios2 package is now on PyPi

What’s new in 2.9?

This is a major release with new features and lots of bug fixes.

General

  • GPU-Aware I/O enabled by using Kokkos. Device pointers can be passed to Put()/Get() calls directly. Kokkos 3.7.x required for this release. Works with CUDA, HIP and Kokkos applications. https://adios2.readthedocs.io/en/latest/advanced/gpu_aware.html#gpu-aware-i-o

  • GPU-compression. MGARD and ZFP operators can compress data on GPU if they are built for GPU. MGARD operator can be fed with host/device pointers and will move data automaticaly. ZFP operator requires matching data and compressor location.

  • Joined Array concept (besides Global Array and Local Array), which lets writers dump Local Arrays (no offsets no global shape) that are put together into a Global Array by the reader. One dimension of the arrays is selected for this join operation, while other dimensions must be the same for all writers. https://adios2.readthedocs.io/en/latest/components/components.html?highlight=Joined#shapes

File I/O

  • Default File engine is now BP5. If for some reason this causes problems, manually specify using “BP4” for your application.

  • BP5 engine supports multithreaded reading to accelerate read performance for low-core counts.

  • BP5 Two level metadata aggregation and reduction reduced memory impact of collecting metadata and therefore is more scalable in terms of numbers of variables and writers than BP4.

  • Uses Blosc-2 instead of Blosc for lossless compression. The new compression operator is backward compatible with old files compressed with blosc. The name of the operator remains “blosc”.

Staging

  • UCX dataplane added for SST staging engine to support networks under the UCX consortium

  • MPI dataplane added for SST staging engine. It relies on MPI intercommunicators to connect multiple independent MPI applications for staging purposes. Applications must enable multithreaded MPI for this dataplane.

Experimental features

  • Preliminary support for data structs. A struct can have single variables of basic types, and 1D fixed size arrays of basic types. Supported by BP5, SST and SSC engines.