How To Install mvapich2 on AlmaLinux 8

In this tutorial we learn how to install mvapich2 in AlmaLinux 8. mvapich2 is OSU MVAPICH2 MPI package

Introduction

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

What is mvapich2

MVAPICH2 is a Message Passing Interface (MPI 3.0) implementation based on MPICH and developed by Ohio State University.

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

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

sudo dnf -y install mvapich2

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

sudo yum -y install mvapich2

How To Uninstall mvapich2 on AlmaLinux 8

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

sudo dnf remove mvapich2

References

Summary

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