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

working on submittable substeps

parent 0ff83779
No related branches found
No related tags found
No related merge requests found
......@@ -195,6 +195,8 @@ def Advance( DaCycle, StateVector):
return None
def SaveAndSubmit( DaCycle, StateVector):
""" Save the model state and submit the next job """
......@@ -358,4 +360,12 @@ def Optimize(DaCycle, StateVector):
if __name__ == "__main__":
pass
jobparams = {'jobname':'das.jobinut'}
template = DaPlatForm.GetJobTemplate(jobparams)
template += 'cd %s\n'%os.getcwd()
template += './das.py','rc=%s process=jobinput' % self.da_settings['da.restart.fname']
jobfile = DaPlatForm.WriteJob(self,template,'cycle.%s.das'%cd)
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