How To Install mpich on AlmaLinux 8

In this tutorial we learn how to install mpich in AlmaLinux 8. mpich is A high-performance implementation of MPI

Introduction

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

What is mpich

MPICH is a high-performance and widely portable implementation of the Message Passing Interface (MPI) standard (MPI-1, MPI-2 and MPI-3). The goals of MPICH are computation and communication platforms including commodity clusters (desktop systems, shared-memory systems, multicore architectures), high-speed networks (10 Gigabit Ethernet, InfiniBand, Myrinet, Quadrics) and proprietary high-end computing systems (Blue Gene, Cray) and (2) to enable cutting-edge research in MPI through an easy-to-extend modular framework for other derived implementations. The mpich binaries in this RPM packages were configured to use the default process manager (Hydra) using the default device (ch3). The ch3 device was configured with support for the nemesis channel that allows for shared-memory and TCP/IP sockets based communication. This build also include support for using the ‘module environment’ to select which MPI implementation to use when multiple implementations are installed. If you want MPICH support to be automatically loaded, you need to install the mpich-autoload package.

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

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

sudo dnf -y install mpich

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

sudo yum -y install mpich

How To Uninstall mpich on AlmaLinux 8

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

sudo dnf remove mpich

References

Summary

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