Last active
November 30, 2017 01:32
-
-
Save tkf/3a184befe0a63e834c194db77c342f95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lolcow.submit | |
job.*.error | |
job.*.output | |
job.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Universe = vanilla | |
Requirements = OSGVO_OS_STRING == "RHEL 6" && Arch == "X86_64" && HAS_SINGULARITY == True | |
request_cpus = 1 | |
request_memory = 1 GB | |
Executable = GodloveD-lolcow-master-latest.simg | |
Arguments = | |
# ERROR and OUTPUT are the error and output channels from your job | |
# that HTCondor returns from the remote host. | |
Error = job.$(Cluster).$(Process).error | |
Output = job.$(Cluster).$(Process).output | |
# The LOG file is where HTCondor places information about your | |
# job's status, success, and resource consumption. | |
Log = job.log | |
# Send the job to Held state on failure. | |
on_exit_hold = (ExitBySignal == True) || (ExitCode != 0) | |
# Periodically retry the jobs every 1 hour, up to a maximum of 5 retries. | |
periodic_release = (NumJobStarts < 5) && ((CurrentTime - EnteredCurrentStatus) > 60*60) | |
# QUEUE is the "start button" - it launches any jobs that have been | |
# specified thus far. | |
Queue 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: submit | |
GodloveD-lolcow-master-latest.simg: | |
singularity pull shub://GodloveD/lolcow | |
submit: lolcow.submit GodloveD-lolcow-master-latest.simg | |
condor_submit $< | |
lolcow.submit: lolcow.submit.orig | |
cp $^ $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment