Skip to content

Commit d02d23a

Browse files
committed
Update collectives_halo syntax
1 parent 771a3bb commit d02d23a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cscs-checks/mch/collectives_halo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def __init__(self, variant, bench_reference):
110110
self.maintainers = ['AJ', 'MKr']
111111
self.tags = {'production', 'mch', 'craype'}
112112

113-
def setup(self, *args, **kwargs):
114-
super().setup(*args, **kwargs)
113+
@rfm.run_before('run')
114+
def set_launcher_options(self):
115115
if self.current_system.name in ['arolla', 'kesch', 'tsa']:
116116
self.job.launcher.options = ['--distribution=block:block',
117117
'--cpu_bind=q']

0 commit comments

Comments
 (0)