How To Install opari2 on AlmaLinux 8

In this tutorial we learn how to install opari2 in AlmaLinux 8. opari2 is An OpenMP runtime performance measurement instrumenter

Introduction

In this tutorial we learn how to install opari2 on AlmaLinux 8.

What is opari2

OPARI2 is a source-to-source instrumentation tool for OpenMP and hybrid codes. It surrounds OpenMP directives and runtime library calls with calls to the POMP2 measurement interface. OPARI2 will provide you with a new initialization method that allows for multi-directory and parallel builds as well as the usage of pre-instrumented libraries. Furthermore, an efficient way of tracking parent-child relationships was added. Additionally, we extended OPARI2 to support instrumentation of OpenMP 3.0 tied tasks.

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

Install opari2 on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install opari2

Install opari2 on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install opari2

How To Uninstall opari2 on AlmaLinux 8

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

sudo dnf remove opari2

References

Summary

In this tutorial we learn how to install opari2 on AlmaLinux 8 using yum and dnf.