How To Install libpsm2-compat.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libpsm2-compat.x86_64 in Amazon Linux 2. libpsm2-compat.x86_64 is Support for MPIs linked with PSM1

Introduction

In this tutorial we learn how to install libpsm2-compat.x86_64 on Amazon Linux 2.

What is libpsm2-compat.x86_64

Support for MPIs linked with PSM1. The compat library is installed in a non-standard directory to avoid conflicting with infinipath-psm. To use it, set LD_LIBRARY_PATH=/usr/lib64/psm2-compat

We can use yum to install libpsm2-compat.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libpsm2-compat.x86_64.

Install libpsm2-compat.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libpsm2-compat.x86_64 using yum by running the following command:

sudo yum -y install libpsm2-compat.x86_64

How To Uninstall libpsm2-compat.x86_64 on Amazon Linux 2

To uninstall only the libpsm2-compat.x86_64 package we can use the following command:

sudo yum remove libpsm2-compat.x86_64

libpsm2-compat.x86_64 Package Contents on Amazon Linux 2

/etc/modprobe.d/libpsm2-compat.conf
/usr/lib/libpsm2
/usr/lib/libpsm2/libpsm2-compat.cmds
/usr/lib/udev/rules.d/40-psm-compat.rules
/usr/lib64/psm2-compat
/usr/lib64/psm2-compat/libpsm_infinipath.so.1

References

Summary

In this tutorial we learn how to install libpsm2-compat.x86_64 on Amazon Linux 2 using yum.