How To Install libxsmm on Fedora 36

In this tutorial we learn how to install libxsmm in Fedora 36. libxsmm is Small dense or sparse matrix multiplications and convolutions for x86_64

Introduction

In this tutorial we learn how to install libxsmm on Fedora 36.

What is libxsmm

LIBXSMM is a library for small dense and small sparse matrix-matrix multiplications, as well as for deep learning primitives such as small convolutions targeting Intel Architecture (x86). The library generates code for the following instruction set extensions SSE, Intel AVX, Intel AVX2, IMCI (KNCni) for Intel Xeon Phi coprocessors (“KNC”), and Intel AVX‑512 as found in the Intel Xeon Phi processor family (“KNL”) and future Intel Xeon processors. Small convolutions are currently only optimized for Intel AVX‑512. Historically the library was solely targeting the Intel Many Integrated Core Architecture “MIC”) using intrinsic functions. Currently, optimized assembly code targets all aforementioned instruction set extensions (static code generation), and Just‑In‑Time (JIT) code generation targets Intel AVX and beyond.

We can use yum or dnf to install libxsmm on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libxsmm.

Install libxsmm on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libxsmm

Install libxsmm on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libxsmm

How To Uninstall libxsmm on Fedora 36

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

sudo dnf remove libxsmm

libxsmm Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/18cf2c526e8bb6715dface30736b8aeb46dd99
/usr/lib/.build-id/81
/usr/lib/.build-id/81/307b855bfb904676e327c738b90acf025181bd
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/ec74072ca042382f6b164ebfced0ba261e683a
/usr/lib/.build-id/ea/f37b8acaf26ffb1694b80d39964ecb9cc93258
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/9e841fd2aacec082210da76dc2d73cad8d39fb
/usr/lib64/libxsmm.so.1
/usr/lib64/libxsmm.so.1.16.0
/usr/lib64/libxsmmext.so.1
/usr/lib64/libxsmmext.so.1.16.0
/usr/lib64/libxsmmf.so.1
/usr/lib64/libxsmmf.so.1.16.0
/usr/lib64/libxsmmgen.so.1
/usr/lib64/libxsmmgen.so.1.16.0
/usr/lib64/libxsmmnoblas.so.1
/usr/lib64/libxsmmnoblas.so.1.16.0
/usr/share/licenses/libxsmm
/usr/share/licenses/libxsmm/LICENSE.md

References

Summary

In this tutorial we learn how to install libxsmm on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).