How To Install libxsmm on Fedora 34
Introduction
In this tutorial we learn how to install libxsmm
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libxsmm.
Install libxsmm on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libxsmm
using dnf
by running the following command:
sudo dnf -y install libxsmm
Install libxsmm on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the libxsmm
package we can use the following command:
sudo dnf remove libxsmm
libxsmm Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/1ace65d733b5c9f2ef3d62e358935308565956
/usr/lib/.build-id/44
/usr/lib/.build-id/44/ebc4a740c21236cfed0a66aaa8763f1678795e
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/de8f151bd60479824c89c6c6a5a02baac475a9
/usr/lib/.build-id/93
/usr/lib/.build-id/93/fe69c1207b738acc967309aae7efeaaa031216
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/36126fa735b8a33b80cb8c5f365cd636dbebad
/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 34 using yum and dnf.