How To Install blacs-pvm-dev on Ubuntu 18.04

In this tutorial we learn how to install blacs-pvm-dev on Ubuntu 18.04. blacs-pvm-dev is Basic Linear Algebra Comm. Subprograms - Dev. files for PVM

Introduction

In this tutorial we learn how to install blacs-pvm-dev on Ubuntu 18.04.

What is blacs-pvm-dev

blacs-pvm-dev is:

The BLACS project is an ongoing investigation whose purpose is to create a linear algebra oriented message passing interface that may be implemented efficiently and uniformly across a large range of distributed memory platforms.

You can choose between an implementation based on MPI or PVM. This package uses PVM.

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

Most users do not need to install this package directly because it is used as a high level driver for the communication in the ScaLAPACK packages. Therefore, it is installed when installing ScaLAPACK. ScaLAPACK is a parallel version of LAPACK and is used on Beowulf type clusters.

There are three methods to install blacs-pvm-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 blacs-pvm-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 blacs-pvm-dev using apt-get by running the following command:

sudo apt-get -y install blacs-pvm-dev

Install blacs-pvm-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install blacs-pvm-dev

Install blacs-pvm-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 blacs-pvm-dev using aptitude by running the following command:

sudo aptitude -y install blacs-pvm-dev

How To Uninstall blacs-pvm-dev on Ubuntu 18.04

To uninstall only the blacs-pvm-dev package we can use the following command:

sudo apt-get remove blacs-pvm-dev

Uninstall blacs-pvm-dev And Its Dependencies

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

sudo apt-get -y autoremove blacs-pvm-dev

Remove blacs-pvm-dev Configurations and Data

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

sudo apt-get -y purge blacs-pvm-dev

Remove blacs-pvm-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge blacs-pvm-dev

References

Summary

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