ForkBasetenBasetenpublished Jun 26, 2026seen 17h

basetenlabs/ucx

forked from openucx/ucx

Open original ↗

Captured source

source ↗
published Jun 26, 2026seen 17hcaptured 16hhttp 200method plain

basetenlabs/ucx

Description: Unified Communication X (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group)

License: NOASSERTION

Stars: 0

Forks: 0

Open issues: 0

Created: 2026-06-26T00:02:25Z

Pushed: 2026-06-25T15:44:30Z

Default branch: master

Fork: yes

Parent repository: openucx/ucx

Archived: no

README:

Unified Communication X

Unified Communication X (UCX) is an award winning, optimized production proven-communication framework for modern, high-bandwidth and low-latency networks.

UCX exposes a set of abstract communication primitives that utilize the best of available hardware resources and offloads. These include RDMA (InfiniBand and RoCE), TCP, GPUs, shared memory, and network atomic operations.

Please visit our documentation site for more details.

Please review our "Membership Voluntary Consensus Standard" and "Export Compliant Contribution Submissions" policies.

  • [Using UCX](#using-ucx)
  • [Known issues](#known-issues)
  • [Architecture](#architecture)
  • [Supported Transports](#supported-transports)
  • [Supported CPU Architectures](#supported-cpu-architectures)
  • [Licenses](#licenses)
  • [Our Community](#our-community)
  • [Contributor Agreement and Guidelines](#contributor-agreement-and-guidelines)
  • [Publications](#publications)

Using UCX

Release Builds

Building UCX is typically a combination of running "configure" and "make". If using a release tarball execute the following commands to install the UCX system from within the directory at the top of the tree:

$ ./contrib/configure-release --prefix=/where/to/install
$ make -j8
$ make install

If directly cloning the git repository use:

$ ./autogen.sh
$ ./contrib/configure-release --prefix=/where/to/install
$ make -j8
$ make install

NOTE: Compiling support for various networks or other specific hardware may require additional command line flags when running configure.

Developer Builds

$ ./autogen.sh
$ ./contrib/configure-devel --prefix=$PWD/install-debug

*** NOTE: Developer builds of UCX typically include a large performance penalty at run-time because of extra debugging code.

Build RPM package

$ contrib/buildrpm.sh -s -b

Build DEB package

$ dpkg-buildpackage -us -uc

Build Doxygen documentation

$ make docs

OpenMPI and OpenSHMEM installation with UCX

Wiki page

MPICH installation with UCX

Wiki page

UCX Performance Test

Start server:

$ ./src/tools/perf/ucx_perftest -c 0

Connect client:

$ ./src/tools/perf/ucx_perftest -t tag_lat -c 1

> NOTE the -c flag sets CPU affinity. If running both >commands on same host, make sure you set the affinity to different CPU cores.

Running internal unit tests

$ make -C test/gtest test

Known issues

  • UCX version 1.8.0 has a bug that may cause data corruption when TCP transport

is used in conjunction with shared memory transport. It is advised to upgrade to UCX version 1.9.0 and above. UCX versions released before 1.8.0 don't have this bug.

  • UCX may hang with glibc versions 2.25-2.29 due to known bugs in the

pthread_rwlock functions. When such hangs occur, one of the UCX threads gets stuck in pthread_rwlock_rdlock (which is called by ucs_rcache_get), even though no other thread holds the lock. A related issue is reported in glibc Bug 23844. If this issue occurs, it is advised to use glibc version provided with your OS distribution or build glibc from source using versions less than 2.25 or greater than 2.29.

  • Due to compatibility flaw when using UCX with rdma-core v22 setting

UCX_DC_MLX5_RX_INLINE=0 is unsupported and will make DC transport unavailable. This issue is fixed in rdma-core v24 and backported to rdma-core-22.4-2.el7 rpm. See ucx issue 5749 for more details.

  • If network routing is incorrectly recognized, leading to peers reported as

"unreachable", change the default reachability check mode by setting: UCX_IB_ROCE_REACHABILITY_MODE=all.

Architecture

![](docs/doxygen/Architecture.png)

| Component | Role | Description | | :---: | :---: | --- | | UCP | Protocol | Implements high-level abstractions such as tag-matching, streams, connection negotiation and establishment, multi-rail, and handling different memory types | | UCT | Transport | Implements low-level communication primitives such as active messages, remote memory access, and atomic operations | | UCS | Services | A collection of data structures, algorithms, and system utilities for common use | | UCM | Memory | Intercepts memory allocation and release events, used by the memory registration cache |

Supported Transports

NOTE: UCX >= 1.12.0 requires rdma-core >= 28.0 or MLNX_OFED >= 5.0 for Infiniband and RoCE transports support.

Supported CPU Architectures

Licenses

UCX is licensed as:

  • [BSD3](LICENSE)

Our Community

Contributor...

Excerpt shown — open the source for the full document.

Notability

notability 1.0/10

Routine self-fork with no traction.