Skip to content

Commit 9f73430

Browse files
authored
Merge pull request #3456 from ekouts/bugfix/autodetect_cli_opts
[bugfix] Handle explicit scheduler options passed in the CLI in the remote auto-detection script
2 parents 199a457 + d183740 commit 9f73430

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reframe/frontend/autodetect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ def _emit_custom_script(job, env, commands):
172172
job = Job.create(part.scheduler,
173173
part.launcher_type(),
174174
name='rfm-detect-job',
175-
sched_access=part.access + cli_job_options)
175+
sched_access=part.access,
176+
sched_options=cli_job_options)
176177
custom_command = runtime.runtime().get_option(
177178
'general/0/remote_install'
178179
)

0 commit comments

Comments
 (0)