How To Install blacs1-pvm on Ubuntu 18.04
Introduction
In this tutorial we learn how to install blacs1-pvm
on Ubuntu 18.04.
What is blacs1-pvm
blacs1-pvm 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 (this one), for the static libraries and the development files 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 blacs1-pvm
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 blacs1-pvm Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install blacs1-pvm
using apt-get
by running the following command:
sudo apt-get -y install blacs1-pvm
Install blacs1-pvm Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install blacs1-pvm
using apt
by running the following command:
sudo apt -y install blacs1-pvm
Install blacs1-pvm 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 blacs1-pvm
using aptitude
by running the following command:
sudo aptitude -y install blacs1-pvm
How To Uninstall blacs1-pvm on Ubuntu 18.04
To uninstall only the blacs1-pvm
package we can use the following command:
sudo apt-get remove blacs1-pvm
Uninstall blacs1-pvm And Its Dependencies
To uninstall blacs1-pvm
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove blacs1-pvm
Remove blacs1-pvm Configurations and Data
To remove blacs1-pvm
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge blacs1-pvm
Remove blacs1-pvm configuration, data, and all of its dependencies
We can use the following command to remove blacs1-pvm
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge blacs1-pvm
References
Summary
In this tutorial we learn how to install blacs1-pvm
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.