Commit 5f4d3a02 authored by James Clark's avatar James Clark

Revert "remove extraneous condor checkpoint directives"

This reverts commit b4c2e436.
parent 7c388d86
......@@ -885,16 +885,19 @@ def condor_job_config(job_type, condor_job, config_parser):
requires=[]
# Periodic checkpointing
# If the process exits successfully after receiving this signal, intermediate file transfer will occur
# "success" occurs when the process exits on signal CheckpointExitSignal
# Otherwise, "success" occurs when the process exits with code CheckpointExitCode
condor_job.add_condor_cmd('+CheckpointExitBySignal', False) #
condor_job.add_condor_cmd('+CheckpointExitSignal', '"SIGTERM"')
condor_job.add_condor_cmd('+CheckpointExitCode', 130)
condor_job.add_condor_cmd('+SuccessCheckpointExitBySignal', False) #
condor_job.add_condor_cmd('+SuccessCheckpointExitSignal', '"SIGTERM"')
condor_job.add_condor_cmd('+SuccessCheckpointExitCode', 130)
condor_job.add_condor_cmd('+WantFTOnCheckpoint', True)
condor_job.add_condor_cmd('+CheckpointSig', 130)
#condor_job.add_condor_cmd('+SpoolOnEvict', False)
# Reactive checkpointing
condor_job.add_condor_cmd('+WantCheckpointSignal', True)
condor_job.add_condor_cmd('kill_sig', 'SIGTERM')
#
# Singularity configuration
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment