How To Install openmpi on CentOS 7
Introduction
In this tutorial we learn how to install openmpi
on CentOS 7.
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 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openmpi.
Install openmpi on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install openmpi
using yum
by running the following command:
Install openmpi on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install openmpi
using dnf
by running the following command:
How To Uninstall openmpi on CentOS 7
To uninstall only the openmpi
package we can use the following command:
References
Summary
In this tutorial we learn how to install openmpi
on CentOS 7 using yum
and dnf
.