Skip to content
Snippets Groups Projects
Commit 3f9cbdfe authored by Franck Dary's avatar Franck Dary
Browse files

updated launchBatches to be idempotent on oar

parent de0f5545
No related branches found
No related tags found
No related merge requests found
...@@ -40,11 +40,12 @@ def launchTrainOar(mode, expName, arguments) : ...@@ -40,11 +40,12 @@ def launchTrainOar(mode, expName, arguments) :
command = "oarsub" command = "oarsub"
command += " -t besteffort" command += " -t besteffort"
command += " -t idempotent"
command += " -n train:%s"%expName command += " -n train:%s"%expName
command += " -E %s.stderr"%expName command += " -E %s.stderr"%expName
command += " -O %s.stdout"%expName command += " -O %s.stdout"%expName
command += " -p \"gpu IS NOT NULL\"" command += " -p \"gpu IS NOT NULL\""
command += " -l walltime=96:00:00" command += " -l walltime=15:00:00"
command += " \"" + "./train.sh %s bin/%s %s --silent %s"%(mode,expName,arguments,devScore) + "\"" command += " \"" + "./train.sh %s bin/%s %s --silent %s"%(mode,expName,arguments,devScore) + "\""
os.system(command) os.system(command)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment