@@ -23,31 +23,31 @@ class VASPCheck(rfm.RunOnlyRegressionTest):
2323 maintainers = ['LM' ]
2424
2525 num_nodes = parameter ([6 , 16 ], loggable = True )
26- references = {
26+ allref = {
2727 6 : {
2828 'sm_60' : {
29- 'dom:gpu' : {'time ' : (56.0 , None , 0.10 , 's' )},
30- 'daint:gpu' : {'time ' : (65.0 , None , 0.15 , 's' )},
29+ 'dom:gpu' : {'elapsed_time ' : (56.0 , None , 0.10 , 's' )},
30+ 'daint:gpu' : {'elapsed_time ' : (65.0 , None , 0.15 , 's' )},
3131 },
3232 'broadwell' : {
33- 'dom:mc' : {'time ' : (58.0 , None , 0.10 , 's' )},
34- 'daint:mc' : {'time ' : (65.0 , None , 0.15 , 's' )},
33+ 'dom:mc' : {'elapsed_time ' : (58.0 , None , 0.10 , 's' )},
34+ 'daint:mc' : {'elapsed_time ' : (65.0 , None , 0.15 , 's' )},
3535 },
3636 'zen2' : {
37- 'eiger:mc' : {'time ' : (100.0 , None , 0.10 , 's' )},
38- 'pilatus:mc' : {'time ' : (100.0 , None , 0.10 , 's' )},
37+ 'eiger:mc' : {'elapsed_time ' : (100.0 , None , 0.10 , 's' )},
38+ 'pilatus:mc' : {'elapsed_time ' : (100.0 , None , 0.10 , 's' )},
3939 },
4040 },
4141 16 : {
4242 'sm_60' : {
43- 'daint:gpu' : {'time ' : (55.0 , None , 0.15 , 's' )},
43+ 'daint:gpu' : {'elapsed_time ' : (55.0 , None , 0.15 , 's' )},
4444 },
4545 'broadwell' : {
46- 'daint:mc' : {'time ' : (55.0 , None , 0.15 , 's' )},
46+ 'daint:mc' : {'elapsed_time ' : (55.0 , None , 0.15 , 's' )},
4747 },
4848 'zen2' : {
49- 'eiger:mc' : {'time ' : (100.0 , None , 0.10 , 's' )},
50- 'pilatus:mc' : {'time ' : (100.0 , None , 0.10 , 's' )}
49+ 'eiger:mc' : {'elapsed_time ' : (100.0 , None , 0.10 , 's' )},
50+ 'pilatus:mc' : {'elapsed_time ' : (100.0 , None , 0.10 , 's' )}
5151 }
5252 }
5353 }
@@ -85,7 +85,6 @@ def setup_system_filtering(self):
8585 else :
8686 self .valid_prog_environs = ['builtin' ]
8787
88-
8988 @run_before ('run' )
9089 def setup_run (self ):
9190 # set auto-detected architecture
@@ -98,7 +97,7 @@ def setup_run(self):
9897 arch = 'sm_60'
9998
10099 try :
101- found = self .references [self .num_nodes ][arch ]
100+ found = self .allref [self .num_nodes ][arch ]
102101 except KeyError :
103102 self .skip (f'Configuration with { self .num_nodes } node(s) '
104103 f'is not supported on { arch !r} ' )
@@ -122,4 +121,4 @@ def setup_run(self):
122121 })
123122
124123 # setup performance references
125- self .reference = self .references [self .num_nodes ][arch ]
124+ self .reference = self .allref [self .num_nodes ][arch ]
0 commit comments