DMTCP_LAUNCH(1)
π DMTCP_LAUNCH π
okay bestie, welcome to the DMTCP_LAUNCH(1) manual page, aka the group chat entry for dmtcp_launch, a lil command from the Distributed MultiThreaded CheckPointing family. sit down, grab a boba, we're gonna checkpoint some processes together π«Ά
β¨ NAME β¨
dmtcp_launch β launch a process under DMTCP control. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
dmtcp_launch [OPTIONS] <command> [args...]
π¦ DESCRIPTION π¦
dmtcp_launch launches a process under DMTCP control. like, it takes your lil program and wraps it up in checkpoint magic so you can freeze it, save it, and bring it back to life later. resurrection but make it unix β¨
A typical usage is:
rm ckpt_a.out_*.dmtcp # Remove any stale copies of ckpt image
dmtcp_launch --interval 5 a.out
dmtcp_command --checkpoint # Execute this in another window
#Kill the currently running a.out process
dmtcp_restart ckpt_a.out_*.dmtcp
see how the vibe goes? clean up the stale copies, launch with an interval, poke it from another window, kill it, then bring it back. main character energy from start to finish π
π« OPTIONS π«
π Connecting to the DMTCP Coordinator
-h,--coord-hosthostname (environment variableDMTCP_COORD_HOST) β the hostname wheredmtcp_coordinatoris running. default:localhost. she's local unless you say otherwise π-p,--coord-portport (environment variableDMTCP_COORD_PORT) β the port wheredmtcp_coordinatoris running. default:7779. iconic number honestly--port-filefilename β file to write the listener port number into. (super useful with--coord-port 0, which is the vibe when you wanna assign a random port π²)-j,--joinβ join an existing coordinator. and if one doesn't already exist? raise error. she will not be manifesting a coordinator for you, bestie, that's not her job π--new-coordinatorβ create a new coordinator at the given port. Fail if one already exists on the given port. the port can be specified with--coord-port, or with environment variableDMTCP_COORD_PORT. if no port is specified, start coordinator at a random port (same as specifying port'0'). fresh start, new era π--no-coordinatorβ execute the process in stand-alone coordinator-less mode. usedmtcp_commandor--intervalto request checkpoints. no middleman, just you and your process π§-i,--intervalseconds (environment variableDMTCP_CHECKPOINT_INTERVAL) β time in seconds between automatic checkpoints.0implies never (manual ckpt only); if not set and no env var, use default value set indmtcp_coordinatorordmtcp_command. Not allowed if--joinis specified. pick one lane, babe π«
π Checkpoint image generation
--gzip,--no-gzip(environment variableDMTCP_GZIP=[01]) β enable/disable compression of checkpoint images. default:1(enabled).
β οΈ WARNING: gzip adds seconds. without gzip, ckpt is often < 1s. so likeβ¦ speed or size, choose your fighter π
--ckptdirpath (environment variableDMTCP_CHECKPOINT_DIR) β directory to store checkpoint images. default: curr dir at launch π--ckpt-open-filesβ checkpoint open files and restore old working dir. (default: do neither) π«Ά--checkpoint-open-filesβ Deprecated. use--ckpt-open-filesinstead. she's retired, respect her legacy tho π--ckpt-signalsignum β signal number used internally by DMTCP for checkpointing. default:12π‘--ckpt-signalsignum β Deprecated. use--ckpt-signalinstead. yes bestie, the original really does say that, we're keeping it exactly as written, no notes π
π§© Enable/disable plugins
--with-pluginplugins (environment variableDMTCP_PLUGIN) β colon-separated list of DMTCP plugins to be preloaded with DMTCP. (Absolute pathnames are required.) no shortcuts, absolute only, periodt β--batch-queue,--rmβ enable support for resource managers (Torque PBS and SLURM). (default: disabled) π₯οΈ--modify-envβ update environment variables based on the environment on the restart host (e.g.,DISPLAY=$DISPLAY). this can be set in a filedmtcp_env.txt. (default: disabled) π--disable-alloc-plugin(environment variableDMTCP_ALLOC_PLUGIN=[01]) β disable alloc plugin. (default: enabled) π«--disable-dl-plugin(environment variableDMTCP_DL_PLUGIN=[01]) β disable dl plugin. (default: enabled) π«--disable-all-plugins(EXPERTS ONLY, FOR DEBUGGING) β disable all plugins. do not just casually do this, bestie, she said EXPERTS ONLY and she meant it π
π Other options
--prefixpath β prefix where DMTCP is installed on remote nodes. π°οΈ--tmpdirpath (environment variableDMTCP_TMPDIR) β directory to store temporary files. default:$TMDPIR/dmtcp-$USER@$HOSTor/tmp/dmtcp-$USER@$HOST(yes, that's$TMDPIR, we are copying it character for character because that's the assignment π)-q,--quiet(or set environment variableDMTCP_QUIET=0,1, or2) β skip NOTE messages; if given twice, also skip WARNINGs. shhh era π€«--helpβ print this message and exit. your bestie when you're lost π«Ά--versionβ print version information and exit. β¨
π REPORTING BUGS π
found a bug? don't be shy, tell the group chat:
- Report bugs to:
dmtcp-forum@lists.sourceforge.net - DMTCP home page:
<http://dmtcp.sourceforge.net>
we listen, we fix, we slay π
π SEE ALSO π
dmtcp(1), dmtcp_coordinator(1), dmtcp_launch(1), dmtcp_restart(1), dmtcp_command(1)
the whole squad, all in one place, no cap π₯
ποΈ AUTHOR ποΈ
See /usr/share/doc/dmtcp-3.0.0/AUTHORS. the legends themselves π«
π·οΈ VERSION π·οΈ
DMTCP version 3.0.0 of September, 2018. vintage but still eating β
βοΈ COPYRIGHT βοΈ
See /usr/share/doc/dmtcp-3.0.0/COPYING file.
License LGPLv3+: GNU LGPL version 3 or later <http://gnu.org/licenses/lgpl.html>.
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see COPYING file for details.
and that's the whole page, bestie π shoutout to Distributed MultiThreaded CheckPointing and the September, 2018 date stamp β that's the source/version tea, and now you know it. go forth and checkpoint responsibly. mwah πβ¨ DMTCP_LAUNCH(1) β fin. π
π¦ where this page comes from
- arch rolling: dmtcp 4.2.0-1 Β· LGPL-3.0-or-later
- fedora 43: dmtcp 3.1.2-1.fc42 Β· LGPL-3.0-or-later AND (MIT OR BSD-3-Clause)
- fedora 44: dmtcp 4.1.0-1.fc44 Β· LGPL-3.0-or-later AND (MIT OR BSD-3-Clause)
- nixos 26.05: dmtcp 4.1.0
- nixpkgs unstable: dmtcp 4.1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms