clblast_test_xhemv command not found

In this troubleshooting guide we learn how to fix clblast_test_xhemv command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

clblast_test_xhemv: command not found

or when using sudo you get the following error message

sudo: clblast_test_xhemv: command not found

Solutions to clblast_test_xhemv: command not found

How To Fix clblast_test_xhemv: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu clblast_test_xhemv is provided by clblast-tests package.

clblast-tests is:

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: basic linear algebra subprograms operating on vectors and matrices.

This package provides tests and benchmarks against other BLAS implementations.

To fix this problem, we can install more using the command below.

sudo apt-get -y install clblast-tests

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install clblast-tests.

sudo apt -y install clblast-tests

Or if you have aptitude installed you can use the following command.

sudo aptitude install clblast-tests

Summary

In this tutorial we learn how to fix clblast_test_xhemv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.