How To Install libASL on CentOS 7

In this tutorial we learn how to install libASL on CentOS 7. libASL is Advanced Simulation Library hardware accelerated multiphysics

Introduction

In this tutorial we learn how to install libASL on CentOS 7.

What is libASL

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 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 fluid dynamics, virtual sensing, industrial process data validation and reconciliation, image-guided surgery, computer-aided engineering, design space exploration, crystallography, etc..

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

Install libASL on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libASL using yum by running the following command:

sudo yum -y install libASL

Install libASL 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.

sudo dnf makecache

After updating yum database, We can install libASL using dnf by running the following command:

sudo dnf -y install libASL

How To Uninstall libASL on CentOS 7

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

sudo dnf remove libASL

References

Summary

In this tutorial we learn how to install libASL on CentOS 7 using yum and dnf.