How To Install clblast on Fedora 34

clblast is Tuned OpenCL BLAS routines Tuned OpenCL BLAS routines

Introduction

In this tutorial we learn how to install clblast on Fedora 34.

What is clblast

CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS library written in C++11. It is designed to leverage the full performance potential of a wide variety of OpenCL devices from different vendors, including desktop and laptop GPUs, embedded GPUs, and other accelerators. CLBlast implements BLAS routines subprograms operating on vectors and matrices. See the CLBlast website for performance reports on various devices as well as the latest CLBlast news. The library is not tuned for all possible OpenCL devices out-of-the-box performance is poor, please run the tuners first. clblast 1.5.2 2.fc34 x86_64 671 k clblast-1.5.2-2.fc34.src.rpm fedora Tuned OpenCL BLAS routines https ASL 2.0 CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS library written in C++11. It is designed to leverage the full performance potential of a wide variety of OpenCL devices from different vendors, including desktop and laptop GPUs, embedded GPUs, and other accelerators. CLBlast implements BLAS routines subprograms operating on vectors and matrices. See the CLBlast website for performance reports on various devices as well as the latest CLBlast news. The library is not tuned for all possible OpenCL devices out-of-the-box performance is poor, please run the tuners first.

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

Install clblast 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 clblast using dnf by running the following command:

sudo dnf -y install clblast

Install clblast 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 clblast using yum by running the following command:

sudo yum -y install clblast

How To Uninstall clblast on Fedora 34

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

sudo dnf remove clblast

clblast Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/6e22100eaa6cf966160013e99db162bcc1cad7
/usr/lib/libclblast.so.1
/usr/lib/libclblast.so.1.5.2
/usr/share/doc/clblast
/usr/share/doc/clblast/CHANGELOG
/usr/share/doc/clblast/README.md
/usr/share/doc/clblast/ROADMAP.md
/usr/share/licenses/clblast
/usr/share/licenses/clblast/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/9418eb1e5ca637044303180495123ad03638a5
/usr/lib64/libclblast.so.1
/usr/lib64/libclblast.so.1.5.2
/usr/share/doc/clblast
/usr/share/doc/clblast/CHANGELOG
/usr/share/doc/clblast/README.md
/usr/share/doc/clblast/ROADMAP.md
/usr/share/licenses/clblast
/usr/share/licenses/clblast/LICENSE

References

Summary

In this tutorial we learn how to install clblast on Fedora 34 using yum and dnf.