Skip to content
Snippets Groups Projects
Commit bbcdfd85 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

name of next job copies name of current job now

parent d903dac8
Branches
No related tags found
No related merge requests found
......@@ -514,7 +514,7 @@ class CycleControl(dict):
jobparams = {'jobname':'das','jobaccount':'co2','jobnodes':'nserial 1','jobtime':'06:00:00','jobshell':'/bin/sh'}
template = DaPlatForm.GetJobTemplate(jobparams)
template += 'cd %s\n'%os.getcwd()
template += './das.py rc=%s'% self['da.restart.fname']
template += '%s rc=%s'% (sys.argv[0], self['da.restart.fname'], ) )
cd = self['time.end'].strftime('%Y%m%d')
jobfile = DaPlatForm.WriteJob(self,template,'cycle.%s.das'%cd)
......@@ -543,7 +543,7 @@ class CycleControl(dict):
jobparams = {'jobname':'das.%s'%stepname}
template = DaPlatForm.GetJobTemplate(jobparams)
template += 'cd %s\n'%os.getcwd()
template += './das.py rc=%s process=%s %s' % (self['jobrcfilename'],stepname,join(self.opts,''),)
template += '%s rc=%s process=%s %s' % (sys.argv[0],self['jobrcfilename'],stepname,join(self.opts,''),)
jobfile = DaPlatForm.WriteJob(self,template,stepname)
jobid = DaPlatForm.SubmitJob(jobfile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment