Page History

Turn Off History

See also StandardUniverse

Usage

Starting up

Start your program like so:

setarch x86_64 -L -B -R ./a.out -_condor_ckpt ckpt

Replace a.out with your program name.

Replace "x86_64" with "i386" if you're on a 32-bit system. You may be able to omit the -B and associated 32-bit memory limit under unknown circumstances. You can add arguments to the program itself before or after the arguments above.

Replace ckpt with the file name you want your checkpoint written into. You can omit all of the arguments, in which case the checkpoint file is your program name with .ckpt appended.

Checkpointing

To checkpoint and exit, send SIGTSTP. To checkpoint and continue, send SIGUSR2.

Checkpoints should be atomic; they are written to ckpt.tmp and moved to ckpt upon completion.

Resuming a checkpoint

To resume from a checkpoint, do this:

setarch x86_64 -L -B -R ./a.out -_condor_restart ckpt

This is the same command line as before, but -_condor_ckpt is now -_condor_restart.

Command line

A program that has been condor_compiled takes additional command line options. Generally speaking end users shouldn't need to know this; Condor will invoke them automatically. But for testing or doing checkpointing without the standard universe, this might be useful. These are officially undocumented and may change without warning!

Command file

You can pass a command file in through a file descriptor (-_condor_cmd_fd) or a file (-_condor_cmd_file). The command file can set several options, and also enables remote syscalls simply by being specified.

Commands in the file are one per line. The recognized commands are

Attachments: