How To Install scalapack-mpich on Fedora 36

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

Introduction

In this tutorial we learn how to install scalapack-mpich on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install scalapack-mpich.

Install scalapack-mpich on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove scalapack-mpich

scalapack-mpich Package Contents on Fedora 36

---
title: "How To Install scalapack-mpich on Fedora 36"
linkTitle: "scalapack-mpich"
type: "docs"
description: "In this tutorial we learn how to install scalapack-mpich in Fedora 36. scalapack-mpich is ScaLAPACK libraries compiled against mpich"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/scalapack-mpich-featured.png
---

## Introduction

In this tutorial we learn how to install `scalapack-mpich` on Fedora 36.

### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install scalapack-mpich.

## Install scalapack-mpich on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
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 Fedora 36 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 Fedora 36

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

sudo dnf remove scalapack-mpich

scalapack-mpich Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/ac9c14cf48ec0d7bb0b690b8e9970768f593d2
/usr/lib64/mpich/lib/libscalapack.so.2
/usr/lib64/mpich/lib/libscalapack.so.2.1.0

References

Summary

In this tutorial we learn how to install scalapack-mpich on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/62 /usr/lib/.build-id/62/39c7e660617ca46ef28541ef9c502538aff21b /usr/lib/mpich/lib/libscalapack.so.2 /usr/lib/mpich/lib/libscalapack.so.2.1.0


## References

* [scalapack-mpich website](http://www.netlib.org/scalapack/)

## Summary

In this tutorial we learn how to install `scalapack-mpich` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).