diff --git a/cscs-checks/system/slurm/slurm.py b/cscs-checks/system/slurm/slurm.py index 5896b5f23c..955baca829 100644 --- a/cscs-checks/system/slurm/slurm.py +++ b/cscs-checks/system/slurm/slurm.py @@ -117,8 +117,8 @@ def __init__(self): super().__init__() self.valid_systems = ['daint:gpu', 'dom:gpu'] self.executable = 'scontrol show job ${SLURM_JOB_ID}' - self.sanity_patterns = sn.assert_found(r'.*Gres=.*gpu:1.*', - self.stdout) + self.sanity_patterns = sn.assert_found( + r'.*(TresPerNode|Gres)=.*gpu:1.*', self.stdout) @rfm.simple_test