asl-hardware command not found

In this troubleshooting guide we learn how to fix asl-hardware command not found error message

Introduction

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

asl-hardware: command not found

or when using sudo you get the following error message

sudo: asl-hardware: command not found

Solutions to asl-hardware: command not found

How To Fix asl-hardware: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu asl-hardware is provided by asl-tools package.

asl-tools is:

The Advanced Simulation Library (ASL) is a free and open source hardware accelerated multiphysics simulation platform (and an extensible general purpose tool for solving Partial Differential Equations).

Its computational engine is written in OpenCL and utilizes matrix-free solution techniques which enable extraordinarily high performance, memory efficiency and deployability on a variety of massively parallel architectures, ranging from inexpensive FPGAs, DSPs and GPUs up to heterogeneous clusters and supercomputers. The engine is hidden entirely behind simple C++ classes, so that no OpenCL knowledge is required from application programmers. Mesh-free, immersed boundary approach allows one to move from CAD directly to simulation drastically reducing pre-processing efforts and amount of potential errors.

ASL can be used to model various coupled physical and chemical phenomena and employed in a multitude of fields: computational fluid dynamics, virtual sensing, industrial process data validation and reconciliation, image-guided surgery, computer-aided engineering, design space exploration, crystallography, etc…

This package contains the command-line tools.

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

sudo apt-get -y install asl-tools

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

You can also use apt command to install asl-tools.

sudo apt -y install asl-tools

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

sudo aptitude install asl-tools

Summary

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