How To Install mld2p4-openmpi on Rocky Linux 8

In this tutorial we learn how to install mld2p4-openmpi on Rocky Linux 8. mld2p4-openmpi is OpenMPI mld2p4

Introduction

In this tutorial we learn how to install mld2p4-openmpi on Rocky Linux 8.

What is mld2p4-openmpi

The MULTI-LEVEL DOMAIN DECOMPOSITION PARALLEL PRECONDITIONERS PACKAGE BASED ON PSBLAS (MLD2P4) provides multi-level Schwarz preconditioners, to be used in the iterative solutions of sparse linear systems Ax=b where $A$ is a square, real or complex, sparse matrix with a symmetric sparsity pattern. These preconditioners have the following general features - both additive and hybrid multilevel variants are implemented, i.e. variants that are additive among the levels and inside each level, and variants that are multiplicative among the levels and additive inside each level; the basic Additive Schwarz (AS) preconditioners are obtained by considering only one level; - a purely algebraic approach is used to generate a sequence of coarse-level corrections to a basic AS preconditioner, without explicitly using any information on the geometry of the original problem (e.g. the discretization of a PDE). The smoothed aggregation technique is applied as algebraic coarsening strategy.

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

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

sudo dnf -y install mld2p4-openmpi

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

sudo yum -y install mld2p4-openmpi

How To Uninstall mld2p4-openmpi on Rocky Linux 8

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

sudo dnf remove mld2p4-openmpi

mld2p4-openmpi Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/6dfeaf2d3998e3aa0bc93cf78bbac55205c494
/usr/lib64/openmpi/lib/libmld_prec.so.2
/usr/lib64/openmpi/lib/libmld_prec.so.2.2
/usr/lib64/openmpi/lib/libmld_prec.so.2.2.2

References

Summary

In this tutorial we learn how to install mld2p4-openmpi on Rocky Linux 8 using yum and dnf.