From a8d3911a83a419ab61658a869e8b8442a563fb89 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 10 Jul 2020 14:07:17 +0200 Subject: [PATCH] Adding account in executable options --- cscs-checks/system/slurm/slurm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cscs-checks/system/slurm/slurm.py b/cscs-checks/system/slurm/slurm.py index b4597aa425..e48e4eb09e 100644 --- a/cscs-checks/system/slurm/slurm.py +++ b/cscs-checks/system/slurm/slurm.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: BSD-3-Clause import reframe as rfm +import reframe.utility.os_ext as ext import reframe.utility.sanity as sn @@ -95,7 +96,7 @@ def __init__(self): super().__init__() self.valid_systems = ['daint:login', 'dom:login'] self.executable = 'srun' - self.executable_opts = ['hostname'] + self.executable_opts = ['-A', ext.osgroup(), 'hostname'] self.sanity_patterns = sn.assert_found( r'error: You have to specify, at least, what sort of node you ' r'need: -C gpu for GPU enabled nodes, or -C mc for multicore '