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
b2b5515c
Commit
b2b5515c
authored
Sep 26, 2012
by
Peters, Wouter
Browse files
extra jobtime, and no logfile name anymore, simply log to stdout
parent
2528caeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
da/tools/initexit.py
View file @
b2b5515c
...
...
@@ -711,10 +711,10 @@ class CycleControl(dict):
logfile
=
jobfile
.
replace
(
'.jb'
,
'.log'
)
# Template and commands for job
jobparams
=
{
'jobname'
:
"j.%s"
%
jobid
,
'jobtime'
:
'0
1:3
0:00'
}
jobparams
=
{
'jobname'
:
"j.%s"
%
jobid
,
'jobtime'
:
'0
6:0
0: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
...
...
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