How To Install dmtcp on Fedora 34

dmtcp is Checkpoint/Restart functionality for Linux processes

Introduction

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

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

Install dmtcp on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install dmtcp

Install dmtcp on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove dmtcp

dmtcp Package Contents on Fedora 34

/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/0f
/usr/lib/.build-id/0f/70faf2054c1e049301bbe639594d7c587fae39
/usr/lib/.build-id/16
/usr/lib/.build-id/16/26435a580d1389b01664b5fbad6ff70c479fbb
/usr/lib/.build-id/16/2d6da4c901af77fb919ae463010d7e3fd5256b
/usr/lib/.build-id/23
/usr/lib/.build-id/23/1c61d328bc22e081daaf29efa94ad12c0465e4
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/06d50a280103699cec96c7fb262dc14e1c4cf5
/usr/lib/.build-id/55
/usr/lib/.build-id/55/d0f3093aed8210b2cacc239547500269bab578
/usr/lib/.build-id/64
/usr/lib/.build-id/64/1ad749a270c3a280b4f5882ced68f76fbc396d
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/be35d3af5f4f2d5283ef889ca32de295f16a2a
/usr/lib/.build-id/75
/usr/lib/.build-id/75/b4fb144a8a43919eae294f3d1ad76193d912cc
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/2df5e8db5e5efe2868a23be1cd2bb7d799d5b3
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/7c774f46c21c388500fbd2cd5057120d889088
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/5e0aaae997c36cfa8b56ad2711240f258f3759
/usr/lib/.build-id/93
/usr/lib/.build-id/93/d71d4e6fd98c55154bbd623e13b4637a45f410
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/4d2a2b57b00d441da831f29f0f551ba95ce145
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/f6d40d08c32dcfaabbd37274d76f918f517e16
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/96be3acc68bb158f79bc77a47c973906b6f485
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/50000863f5ab5381384c97ce9086f463db962c
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/816721637f1de4cd309ebf5676556b333f2907
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/3f356a618140929a585070d8aff7a18163b86f
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/b28f3fe39653a2d907b6fb05974fdbecc810b0
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/aaed90dde058811700883a02a05374ccd02c51
/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 34 using yum and dnf.