How To Install openmpi on AlmaLinux 8
Introduction
In this tutorial we learn how to install openmpi
on AlmaLinux 8.
What is openmpi
Open MPI is an open source, freely available implementation of both the MPI-1 and MPI-2 standards, combining technologies and resources from several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best MPI library available. A completely new MPI-2 compliant implementation, Open MPI offers advantages for system and software vendors, application developers, and computer science researchers. For more information, see http
We can use yum
or dnf
to install openmpi
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install openmpi.
Install openmpi on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install openmpi
using dnf
by running the following command:
sudo dnf -y install openmpi
Install openmpi on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install openmpi
using yum
by running the following command:
sudo yum -y install openmpi
How To Uninstall openmpi on AlmaLinux 8
To uninstall only the openmpi
package we can use the following command:
sudo dnf remove openmpi
References
Summary
In this tutorial we learn how to install openmpi
on AlmaLinux 8 using yum and dnf.