How To Install scalapack-mpich on AlmaLinux 8

In this tutorial we learn how to install scalapack-mpich in AlmaLinux 8. scalapack-mpich is ScaLAPACK libraries compiled against mpich

Introduction

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

What is scalapack-mpich

The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines redesigned for distributed memory MIMD parallel computers. It is currently written in a Single-Program-Multiple-Data style using explicit message passing for inter-processor communication. It assumes matrices are laid out in a two-dimensional block cyclic decomposition. ScaLAPACK is designed for heterogeneous computing and is portable on any computer that supports MPI or PVM. Like LAPACK, the ScaLAPACK routines are based on block-partitioned algorithms in order to minimize the frequency of data movement between different levels of the memory hierarchy. (For such machines, the memory hierarchy includes the off-processor memory of other processors, in addition to the hierarchy of registers, cache, and local memory on each processor.) The fundamental building blocks of the ScaLAPACK library are distributed memory versions (PBLAS) of the Level 1, 2 and 3 BLAS, and a set of Basic Linear Algebra Communication Subprograms (BLACS) for communication tasks that arise frequently in parallel linear algebra computations. In the ScaLAPACK routines, all inter-processor communication occurs within the PBLAS and the BLACS. One of the design goals of ScaLAPACK was to have the ScaLAPACK routines resemble their LAPACK equivalents as much as possible. This package contains ScaLAPACK libraries compiled with mpich.

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

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

sudo dnf -y install scalapack-mpich

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

sudo yum -y install scalapack-mpich

How To Uninstall scalapack-mpich on AlmaLinux 8

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

sudo dnf remove scalapack-mpich

References

Summary

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