How To Install dmtcp on CentOS 7

In this tutorial we learn how to install dmtcp on CentOS 7. dmtcp is Checkpoint/Restart functionality for Linux processes

Introduction

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

What is dmtcp

DMTCP (Distributed MultiThreaded Checkpointing) is a tool to transparently checkpointing the state of an arbitrary group of applications including multi-threaded and distributed computations. It operates directly on the user binary executable, with no Linux kernel modules or other kernel mods. Among the applications supported by DMTCP are Open MPI, MVAPICH2, MATLAB, R, Python, Perl, and many programming languages and shell scripting languages. It supports both TCP sockets and InfiniBand connections. With the use of TightVNC, it can also checkpoint and restart X-Window applications. The OpenGL library for 3D graphics is supported through a special plugin. This package contains DMTCP binaries.

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

Install dmtcp on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install dmtcp

Install dmtcp 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 dmtcp using dnf by running the following command:

sudo dnf -y install dmtcp

How To Uninstall dmtcp on CentOS 7

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

sudo dnf remove dmtcp

References

Summary

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