How To Install MUMPS on CentOS 8

MUMPS is A MUltifrontal Massively Parallel sparse direct Solver

Introduction

In this tutorial we learn how to install MUMPS on CentOS 8.

What is MUMPS

MUMPS implements a direct solver for large sparse linear systems, with a particular focus on symmetric positive definite matrices. It can operate on distributed matrices e.g. over a cluster. It has Fortran and C interfaces, and can interface with ordering tools such as Scotch.

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

Install MUMPS on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install MUMPS

Install MUMPS on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install MUMPS using yum by running the following command:

sudo yum -y install MUMPS

How To Uninstall MUMPS on CentOS 8

To uninstall only the MUMPS package we can use the following command:

sudo dnf remove MUMPS

MUMPS Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/0c939f5b270ca8522ce5f50f4909cac7e78481
/usr/lib/.build-id/62
/usr/lib/.build-id/62/fbe5d5dca57810c8643406e7ffdf5b9dcb2c3f
/usr/lib/.build-id/96
/usr/lib/.build-id/96/da7c65327f3606278e5d1ebb5593bb53f13cf9
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/53173b0d6da380fdcba25b002a867b99bf9fd7
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/d3868189f3140640c3b3988f8f299c82b686b5
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/327890245a90d8de63185dbc9913c122290b33
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/75eb1ba7634a6880e0f8f1570f4d18771d49c6
/usr/lib64/libcmumps-5.3.so
/usr/lib64/libdmumps-5.3.so
/usr/lib64/libmpiseq-5.3.so
/usr/lib64/libmumps_common-5.3.so
/usr/lib64/libpord-5.3.so
/usr/lib64/libsmumps-5.3.so
/usr/lib64/libzmumps-5.3.so

References

Summary

In this tutorial we learn how to install MUMPS on CentOS 8 using yum and dnf.