How To Install mvapich2-psm2 on AlmaLinux 8

In this tutorial we learn how to install mvapich2-psm2 in AlmaLinux 8. mvapich2-psm2 is OSU MVAPICH2 MPI package 2.3 for Omni-Path adapters

Introduction

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

What is mvapich2-psm2

MVAPICH2 is a Message Passing Interface (MPI 3.0) implementation based on MPICH and developed by Ohio State University. This is a version of mvapich2 2.3 that uses the PSM2 transport for Omni-Path adapters.

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

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

sudo dnf -y install mvapich2-psm2

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

sudo yum -y install mvapich2-psm2

How To Uninstall mvapich2-psm2 on AlmaLinux 8

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

sudo dnf remove mvapich2-psm2

References

Summary

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