How To Install ucx on Rocky Linux 8

In this tutorial we learn how to install ucx on Rocky Linux 8. ucx is UCX is a communication library implementing high-performance messaging

Introduction

In this tutorial we learn how to install ucx on Rocky Linux 8.

What is ucx

UCX stands for Unified Communication X. UCX provides an optimized communication layer for Message Passing (MPI), PGAS/OpenSHMEM libraries and RPC/data-centric applications. UCX utilizes high-speed networks, such as RDMA (InfiniBand, RoCE, etc), Cray Gemini or Aries, for inter-node communication. If no such network is available, TCP is used instead. UCX supports efficient transfer of data in either main memory (RAM) or GPU memory (through CUDA and ROCm libraries). In addition, UCX provides efficient intra-node communication, by leveraging the following shared memory mechanisms This package was built from ’’ branch, commit 6b29558.

We can use yum or dnf to install ucx on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ucx.

Install ucx on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ucx using dnf by running the following command:

sudo dnf -y install ucx

Install ucx on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ucx using yum by running the following command:

sudo yum -y install ucx

How To Uninstall ucx on Rocky Linux 8

To uninstall only the ucx package we can use the following command:

sudo dnf remove ucx

ucx Package Contents on Rocky Linux 8

/usr/bin/ucp_client_server
/usr/bin/ucp_hello_world
/usr/bin/uct_hello_world
/usr/bin/ucx_info
/usr/bin/ucx_perftest
/usr/bin/ucx_read_profile
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/6821ed3cccc0060d8a0ac43792d2c143541e0a
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/9cb9af01b82dd8192cca7762c666dc5a3271e5
/usr/lib/.build-id/20
/usr/lib/.build-id/20/a970a101bd67a3ed9fa5c8f8213032428372aa
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/e76840f6e97071d4f9fbcc6191c19a71095a9e
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/1adbb01b0cc35acd460ca98d2e26f2b60b6d81
/usr/lib/.build-id/73
/usr/lib/.build-id/73/b86cdf1477e1a288d21bc9edb6362906c194fe
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/b2a79ceddef2e9f06f1d19631bb678611ebf61
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/fdcfce2fdbaa73dbbb26b61db5d85715ce94b7
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/ca0d4b45e0e5ad98893c035ddf4455fea146a0
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/2d9d2d558e8eaa24c6499414f836891e45d1c8
/usr/lib64/libucm.so.0
/usr/lib64/libucm.so.0.0.0
/usr/lib64/libucp.so.0
/usr/lib64/libucp.so.0.0.0
/usr/lib64/libucs.so.0
/usr/lib64/libucs.so.0.0.0
/usr/lib64/libuct.so.0
/usr/lib64/libuct.so.0.0.0
/usr/share/doc/ucx
/usr/share/doc/ucx/AUTHORS
/usr/share/doc/ucx/NEWS
/usr/share/doc/ucx/README
/usr/share/licenses/ucx
/usr/share/licenses/ucx/LICENSE
/usr/share/ucx
/usr/share/ucx/perftest
/usr/share/ucx/perftest/README
/usr/share/ucx/perftest/msg_pow2
/usr/share/ucx/perftest/msg_pow2_large
/usr/share/ucx/perftest/test_types_ucp
/usr/share/ucx/perftest/test_types_uct
/usr/share/ucx/perftest/transports

References

Summary

In this tutorial we learn how to install ucx on Rocky Linux 8 using yum and dnf.