How To Install ga-openmpi on CentOS 8

ga-openmpi is Global Arrays Toolkit for OpenMPI

Introduction

In this tutorial we learn how to install ga-openmpi on CentOS 8.

What is ga-openmpi

The Global Arrays (GA) toolkit provides an efficient and portable “shared-memory” programming interface for distributed-memory computers. Each process in a MIMD parallel program can asynchronously access logical blocks of physically distributed dense multi- dimensional arrays, without need for explicit cooperation by other processes. Unlike other shared-memory environments, the GA model exposes to the programmer the non-uniform memory access (NUMA) characteristics of the high performance computers and acknowledges that access to a remote portion of the shared data is slower than to the local portion. The locality information for the shared data is available, and a direct access to the local portions of shared data is provided. - Libraries against OpenMPI.

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

Install ga-openmpi on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install ga-openmpi

Install ga-openmpi on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install ga-openmpi using yum by running the following command:

sudo yum -y install ga-openmpi

How To Uninstall ga-openmpi on CentOS 8

To uninstall only the ga-openmpi package we can use the following command:

sudo dnf remove ga-openmpi

ga-openmpi Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/65918fee26478cc7229589c17732e4c8af90b8
/usr/lib/.build-id/32
/usr/lib/.build-id/32/aa26b585751fb3f4d077fa4aacdaad21e0d223
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/b85c43dc509e8d179e7d0881ada236f731d474
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/debc79163a1a58336d4c40a04da6a1d6ae609d
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/8f347322dc02db6057f23c3cc185b3adb879a1
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/80fc27ea77be0da22fcce4a70fa2c23747b5c1
/usr/lib64/openmpi/bin/adjust.x
/usr/lib64/openmpi/bin/collisions.x
/usr/lib64/openmpi/lib/libarmci.so.0
/usr/lib64/openmpi/lib/libarmci.so.0.0.0
/usr/lib64/openmpi/lib/libcomex.so.0
/usr/lib64/openmpi/lib/libcomex.so.0.0.0
/usr/lib64/openmpi/lib/libga++.so.0
/usr/lib64/openmpi/lib/libga++.so.0.0.0
/usr/lib64/openmpi/lib/libga.so.1
/usr/lib64/openmpi/lib/libga.so.1.1.1
/usr/share/doc/ga-openmpi
/usr/share/doc/ga-openmpi/COPYRIGHT

References

Summary

In this tutorial we learn how to install ga-openmpi on CentOS 8 using yum and dnf.