How To Install libscalapack-mpich-dev on Ubuntu 18.04

In this tutorial we learn how to install libscalapack-mpich-dev on Ubuntu 18.04. libscalapack-mpich-dev is Scalable Linear Algebra Package - Dev. files for MPICH

Introduction

In this tutorial we learn how to install libscalapack-mpich-dev on Ubuntu 18.04.

What is libscalapack-mpich-dev

libscalapack-mpich-dev is:

ScaLAPACK is the parallel version of LAPACK used on clusters.

There are packages for the shared libraries, for the static libraries and the development files (this one) and for test programs.

Also included: - PBLAS, Parallel Basic Linear Algebra Subprograms - BLACS, Basic Linear Algebra Communication Subprograms Also included: PBLAS, Parallel Basic Linear Algebra Subprograms.

This package supports the MPICH implementation of MPI.

There are three methods to install libscalapack-mpich-dev on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libscalapack-mpich-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libscalapack-mpich-dev using apt-get by running the following command:

sudo apt-get -y install libscalapack-mpich-dev

Install libscalapack-mpich-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libscalapack-mpich-dev using apt by running the following command:

sudo apt -y install libscalapack-mpich-dev

Install libscalapack-mpich-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libscalapack-mpich-dev using aptitude by running the following command:

sudo aptitude -y install libscalapack-mpich-dev

How To Uninstall libscalapack-mpich-dev on Ubuntu 18.04

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

sudo apt-get remove libscalapack-mpich-dev

Uninstall libscalapack-mpich-dev And Its Dependencies

To uninstall libscalapack-mpich-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libscalapack-mpich-dev

Remove libscalapack-mpich-dev Configurations and Data

To remove libscalapack-mpich-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libscalapack-mpich-dev

Remove libscalapack-mpich-dev configuration, data, and all of its dependencies

We can use the following command to remove libscalapack-mpich-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libscalapack-mpich-dev

References

Summary

In this tutorial we learn how to install libscalapack-mpich-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.