Commit b2b5515c authored by Peters, Wouter's avatar Peters, Wouter
Browse files

extra jobtime, and no logfile name anymore, simply log to stdout

parent 2528caeb
......@@ -711,10 +711,10 @@ class CycleControl(dict):
logfile = jobfile.replace('.jb','.log')
# Template and commands for job
jobparams = {'jobname':"j.%s"%jobid,'jobtime':'01:30:00'}
jobparams = {'jobname':"j.%s"%jobid,'jobtime':'06:00:00','logfile':logfile,'errfile':logfile}
template = DaPlatForm.GetJobTemplate(jobparams)
execcommand = os.path.join(self['dir.da_submit'],sys.argv[0])
template += 'python %s rc=%s %s >& %s' % (execcommand,self['da.restart.fname'],join(self.opts,''),logfile,)
template += 'python %s rc=%s %s' % (execcommand,self['da.restart.fname'],join(self.opts,''),)
# write and submit
Supports Markdown
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