How To Install openmpi3 on CentOS 7

In this tutorial we learn how to install openmpi3 on CentOS 7. openmpi3 is Open Message Passing Interface 3

Introduction

In this tutorial we learn how to install openmpi3 on CentOS 7.

What is openmpi3

The Open MPI Project is an open source Message Passing Interface implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers. Features implemented or in short-term development for Open MPI include * Full MPI-3.1 standards conformance * Thread safety and concurrency * Dynamic process spawning * Network and process fault tolerance * Support network heterogeneity * Single library supports all networks * Run-time instrumentation * Many job schedulers supported * Many OS’s supported (32 and 64 bit) * Production quality software * High performance on all platforms * Portable and maintainable * Tunable by installers and end-users * Component-based design, documented APIs * Active, responsive mailing list * Open source license based on the BSD license The Open MPI Project is an open source Message Passing Interface implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers. Features implemented or in short-term development for Open MPI include * Full MPI-3.1 standards conformance * Thread safety and concurrency * Dynamic process spawning * Network and process fault tolerance * Support network heterogeneity * Single library supports all networks * Run-time instrumentation * Many job schedulers supported * Many OS’s supported (32 and 64 bit) * Production quality software * High performance on all platforms * Portable and maintainable * Tunable by installers and end-users * Component-based design, documented APIs * Active, responsive mailing list * Open source license based on the BSD license

We can use yum or dnf to install openmpi3 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openmpi3.

Install openmpi3 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install openmpi3 using yum by running the following command:

sudo yum -y install openmpi3

Install openmpi3 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.

sudo dnf makecache

After updating yum database, We can install openmpi3 using dnf by running the following command:

sudo dnf -y install openmpi3

How To Uninstall openmpi3 on CentOS 7

To uninstall only the openmpi3 package we can use the following command:

sudo dnf remove openmpi3

References

Summary

In this tutorial we learn how to install openmpi3 on CentOS 7 using yum and dnf.