Skip to content

Commit 2cea4aa

Browse files
committed
Do not pass stdout/stderr options to srunalloc launcher
1 parent 20a1a5e commit 2cea4aa

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

reframe/core/launchers/mpi.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ def command(self, job):
126126
h, m, s = seconds_to_hms(job.time_limit)
127127
ret += ['--time=%d:%d:%d' % (h, m, s)]
128128

129-
if job.stdout:
130-
ret += ['--output=%s' % job.stdout]
131-
132-
if job.stderr:
133-
ret += ['--error=%s' % job.stderr]
134-
135129
if job.num_tasks:
136130
ret += ['--ntasks=%s' % str(job.num_tasks)]
137131

unittests/test_launchers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ def test_run_command(job):
130130
assert command == ('srun '
131131
'--job-name=fake_job '
132132
'--time=0:10:0 '
133-
'--output=fake_stdout '
134-
'--error=fake_stderr '
135133
'--ntasks=4 '
136134
'--ntasks-per-node=2 '
137135
'--ntasks-per-core=1 '
@@ -177,8 +175,6 @@ def test_run_command_minimal(minimal_job):
177175
elif launcher_name == 'srunalloc':
178176
assert command == ('srun '
179177
'--job-name=fake_job '
180-
'--output=fake_job.out '
181-
'--error=fake_job.err '
182178
'--ntasks=1 '
183179
'--foo')
184180
elif launcher_name == 'ssh':

0 commit comments

Comments
 (0)