From c101c12a62af7de55bac53a4470ce91b8cbd80ff Mon Sep 17 00:00:00 2001 From: Eirini Koutsaniti Date: Tue, 8 Apr 2025 10:54:03 +0200 Subject: [PATCH] Pass cli_job_options to the correct arg when creating the autodetecting job --- reframe/frontend/autodetect.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reframe/frontend/autodetect.py b/reframe/frontend/autodetect.py index 605a54932..3ef7a0b9d 100644 --- a/reframe/frontend/autodetect.py +++ b/reframe/frontend/autodetect.py @@ -172,7 +172,8 @@ def _emit_custom_script(job, env, commands): job = Job.create(part.scheduler, part.launcher_type(), name='rfm-detect-job', - sched_access=part.access + cli_job_options) + sched_access=part.access, + sched_options=cli_job_options) custom_command = runtime.runtime().get_option( 'general/0/remote_install' )