Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
condor:submit:checkpointing [2011/08/05 15:57] garrettheath4condor:submit:checkpointing [2011/08/05 16:02] (current) – [Save a Checkpoint without Exiting] garrettheath4
Line 34: Line 34:
 To make your program save a checkpoint but not exit, run your ''condor_compile''d program with checkpointing enabled.  With your program running in one terminal window, open up a separate terminal window and run the ''killall'' command with the ''-s USR2'' argument to send your program the ''SIGUSR2'' signal, like so: To make your program save a checkpoint but not exit, run your ''condor_compile''d program with checkpointing enabled.  With your program running in one terminal window, open up a separate terminal window and run the ''killall'' command with the ''-s USR2'' argument to send your program the ''SIGUSR2'' signal, like so:
 <code bash>killall -s USR2 HellowOrld</code> <code bash>killall -s USR2 HellowOrld</code>
 +Your program will receive the command and create a checkpoint but will continue running.  That way, if the program is killed later and not given the chance to make a new checkpoint, you can start the program from where it left off at the checkpoint instead of completely starting over.
  
 ====Start from Checkpoint==== ====Start from Checkpoint====
condor/submit/checkpointing.1312559856.txt.gz · Last modified: 2011/08/05 15:57 by garrettheath4
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0