How To Install mld2p4-mpich on CentOS 7

In this tutorial we learn how to install mld2p4-mpich on CentOS 7. mld2p4-mpich is MPICH mld2p4

Introduction

In this tutorial we learn how to install mld2p4-mpich on CentOS 7.

What is mld2p4-mpich

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

Install mld2p4-mpich on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install mld2p4-mpich using yum by running the following command:

sudo yum -y install mld2p4-mpich

Install mld2p4-mpich on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install mld2p4-mpich using dnf by running the following command:

sudo dnf -y install mld2p4-mpich

How To Uninstall mld2p4-mpich on CentOS 7

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

sudo dnf remove mld2p4-mpich

References

Summary

In this tutorial we learn how to install mld2p4-mpich on CentOS 7 using yum and dnf.