How To Install scalapack-mpich on Rocky Linux 8
Introduction
In this tutorial we learn how to install scalapack-mpich
on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the scalapack-mpich
package we can use the following command:
sudo dnf remove scalapack-mpich
scalapack-mpich Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/5274d8b1407dcd634de963ecaf8e1b5c875d14
/usr/lib64/mpich/lib/libscalapack.so.2
/usr/lib64/mpich/lib/libscalapack.so.2.0.0
References
Summary
In this tutorial we learn how to install scalapack-mpich
on Rocky Linux 8 using yum and dnf.