How To Install libxsmm on CentOS 7
Introduction
In this tutorial we learn how to install libxsmm
on CentOS 7.
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 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libxsmm.
Install libxsmm on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libxsmm
using yum
by running the following command:
Install libxsmm on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install libxsmm
using dnf
by running the following command:
How To Uninstall libxsmm on CentOS 7
To uninstall only the libxsmm
package we can use the following command:
References
Summary
In this tutorial we learn how to install libxsmm
on CentOS 7 using yum
and dnf
.