How To Install dmtcp on Fedora 36

In this tutorial we learn how to install dmtcp in Fedora 36. dmtcp is Checkpoint/Restart functionality for Linux processes

Introduction

In this tutorial we learn how to install dmtcp on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dmtcp.

Install dmtcp on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install dmtcp

Install dmtcp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install dmtcp

How To Uninstall dmtcp on Fedora 36

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

sudo dnf remove dmtcp

dmtcp Package Contents on Fedora 36

/usr/bin/dmtcp_command
/usr/bin/dmtcp_coordinator
/usr/bin/dmtcp_discover_rm
/usr/bin/dmtcp_launch
/usr/bin/dmtcp_nocheckpoint
/usr/bin/dmtcp_restart
/usr/bin/dmtcp_rm_loclaunch
/usr/bin/dmtcp_srun_helper
/usr/bin/dmtcp_ssh
/usr/bin/dmtcp_sshd
/usr/bin/mtcp_restart
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/1de490e256feb1cc6ea800e46fe37f017d0c6c
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/e3504f72e4eee67a08780b7e10d67071038b0b
/usr/lib/.build-id/42
/usr/lib/.build-id/42/78c6420ac20f76d5468268f923379f98a06cc3
/usr/lib/.build-id/47
/usr/lib/.build-id/47/8d39d3560fd4674e13ae295c00f04bd0545c80
/usr/lib/.build-id/50
/usr/lib/.build-id/50/cdb36871becefda2249044ded5410dd98dc79c
/usr/lib/.build-id/56
/usr/lib/.build-id/56/7895c41004a05ead34547eb7b53b556ffa4b88
/usr/lib/.build-id/69
/usr/lib/.build-id/69/9b17b21d6dd918c8dd9b9b872a6c31230db07a
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/d168391e96fcf43832df36b86783baba866514
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/7f00e1124db580f8d5dd7d461163e7211a819f
/usr/lib/.build-id/70
/usr/lib/.build-id/70/bd5b8b5892258003bdb80a9c6c049ce37a8d8f
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/7c05d68d655e9f0170fdcf64f7f0e5b8b40429
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/ea90ada0db97686c26b5bda8ad9f2f057353d0
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/cc158f9841069d0c6de486ddc716d9a144e764
/usr/lib/.build-id/82
/usr/lib/.build-id/82/aa3a95660bb2aad438076a188de878e278a179
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/97cb8857771d7aa4ab2d97468336eca71531e7
/usr/lib/.build-id/a3/fd2df2adac0b870d8a8b8a45b8f58674e37a9e
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/736fa0076be06760344cdf57131d5b62d1bd63
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/bc27d0c622fdf15cd5b7b4ecf2af4fdb4a6382
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/332a4f4a14de79f8fed7e4eaebcdbfb585e2ca
/usr/lib/.build-id/df
/usr/lib/.build-id/df/3bb3e799257d59226a1b932122745a7ec9404d
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/04b519d7caae5acac9ee630e52177591a13ef0
/usr/lib64/dmtcp
/usr/lib64/dmtcp/libdmtcp.so
/usr/lib64/dmtcp/libdmtcp_alloc.so
/usr/lib64/dmtcp/libdmtcp_batch-queue.so
/usr/lib64/dmtcp/libdmtcp_dl.so
/usr/lib64/dmtcp/libdmtcp_ipc.so
/usr/lib64/dmtcp/libdmtcp_modify-env.so
/usr/lib64/dmtcp/libdmtcp_pathvirt.so
/usr/lib64/dmtcp/libdmtcp_pid.so
/usr/lib64/dmtcp/libdmtcp_svipc.so
/usr/lib64/dmtcp/libdmtcp_timer.so
/usr/lib64/dmtcp/libdmtcp_unique-ckpt.so
/usr/share/doc/dmtcp
/usr/share/doc/dmtcp/AUTHORS
/usr/share/doc/dmtcp/COPYING
/usr/share/doc/dmtcp/NEWS
/usr/share/doc/dmtcp/QUICK-START.md
/usr/share/licenses/dmtcp
/usr/share/licenses/dmtcp/COPYING
/usr/share/man/man1/dmtcp.1.gz
/usr/share/man/man1/dmtcp_command.1.gz
/usr/share/man/man1/dmtcp_coordinator.1.gz
/usr/share/man/man1/dmtcp_discover_rm.1.gz
/usr/share/man/man1/dmtcp_launch.1.gz
/usr/share/man/man1/dmtcp_nocheckpoint.1.gz
/usr/share/man/man1/dmtcp_restart.1.gz
/usr/share/man/man1/dmtcp_rm_loclaunch.1.gz
/usr/share/man/man1/dmtcp_srun_helper.1.gz
/usr/share/man/man1/dmtcp_ssh.1.gz
/usr/share/man/man1/dmtcp_sshd.1.gz
/usr/share/man/man1/mtcp_restart.1.gz

References

Summary

In this tutorial we learn how to install dmtcp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).