Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Lukas Weber
load_leveller
Commits
7227d0c5
Commit
7227d0c5
authored
Jun 14, 2019
by
Lukas Weber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run commands in shell to make segfaults visible to the user
parent
a4521853
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
python/loadl
python/loadl
+6
-6
No files found.
python/loadl
View file @
7227d0c5
...
...
@@ -64,9 +64,9 @@ def run():
job_input_filename
=
job
.
write_job_input_file
()
if
args_run
.
single
:
cmd
=
[
job
.
jobconfig
[
'mc_binary'
],
'single'
,
job_input_filename
]
print
(
'$ '
+
' '
.
join
(
cmd
)
)
subprocess
.
run
(
cmd
)
cmd
=
'{} single "{}"'
.
format
(
job
.
jobconfig
[
'mc_binary'
],
job_input_filename
)
print
(
'$ '
+
cmd
)
subprocess
.
run
(
cmd
,
shell
=
True
)
else
:
clusterutils
.
run
(
job
.
jobname
,
job
.
jobconfig
,
[
job
.
jobconfig
[
'mc_binary'
],
job_input_filename
])
...
...
@@ -84,9 +84,9 @@ def delete():
def
merge
():
job_input_filename
=
job
.
write_job_input_file
()
cmd
=
[
job
.
jobconfig
[
'mc_binary'
],
'merge'
,
job_input_filename
]
print
(
'$ '
+
' '
.
join
(
cmd
)
)
subprocess
.
run
(
cmd
)
cmd
=
'{} merge "{}"'
.
format
(
job
.
jobconfig
[
'mc_binary'
],
job_input_filename
)
print
(
'$ '
+
cmd
)
subprocess
.
run
(
cmd
,
shell
=
True
)
def
status
():
from
loadleveller
import
jobstatus
...
...
Write
Preview
Markdown
is supported
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