How To Install scalapack-openmpi on AlmaLinux 8

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

Introduction

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

What is scalapack-openmpi

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 openmpi.

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

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

sudo dnf -y install scalapack-openmpi

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

sudo yum -y install scalapack-openmpi

How To Uninstall scalapack-openmpi on AlmaLinux 8

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

sudo dnf remove scalapack-openmpi

References

Summary

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