Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
NearRealTimeCTDAS
CTDAS
Commits
294251e8
Commit
294251e8
authored
Jan 29, 2014
by
Peters, Wouter
Browse files
rolled back submitting python jobs to background
parent
b3b7c855
Changes
1
Hide whitespace changes
Inline
Side-by-side
da/tools/initexit.py
View file @
294251e8
...
...
@@ -538,7 +538,7 @@ class CycleControl(dict):
nextjobid
=
'%s'
%
(
(
self
[
'time.end'
]
+
cycle
*
self
[
'cyclelength'
]).
strftime
(
'%Y%m%d'
),)
nextrestartfilename
=
self
[
'da.restart.fname'
].
replace
(
jobid
,
nextjobid
)
nextlogfilename
=
logfile
.
replace
(
jobid
,
nextjobid
)
template
+=
'
\n
export icycle_in_job=%d
\n
python %s rc=%s %s >&%s
&
\n
'
%
(
cycle
+
1
,
execcommand
,
nextrestartfilename
,
join
(
self
.
opts
,
''
),
nextlogfilename
,)
template
+=
'
\n
export icycle_in_job=%d
\n
python %s rc=%s %s >&%s
\n
'
%
(
cycle
+
1
,
execcommand
,
nextrestartfilename
,
join
(
self
.
opts
,
''
),
nextlogfilename
,)
# write and submit
self
.
daplatform
.
write_job
(
jobfile
,
template
,
jobid
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment