diff --git a/experiments/remhos/experiment.py b/experiments/remhos/experiment.py index e60e5a48f..079ecac56 100644 --- a/experiments/remhos/experiment.py +++ b/experiments/remhos/experiment.py @@ -33,12 +33,13 @@ class Remhos( def compute_applications_section(self): # TODO: Replace with conflicts clause scaling_modes = { - "strong": self.spec.satisfies("strong=oui"), - "single_node": self.spec.satisfies("single_node=oui"), + "strong": self.spec.satisfies("+strong"), + "single_node": self.spec.satisfies("+single_node"), } scaling_mode_enabled = [key for key, value in scaling_modes.items() if value] if len(scaling_mode_enabled) != 1: + print(scaling_mode_enabled) raise BenchparkError( f"Only one type of scaling per experiment is allowed for application package {self.name}" ) @@ -46,10 +47,10 @@ def compute_applications_section(self): # Number of initial nodes num_nodes = {"n_nodes": 1} - if self.spec.satisfies("single_node=oui"): + if self.spec.satisfies("+single_node"): for pk, pv in num_nodes.items(): self.add_experiment_variable(pk, pv, True) - elif self.spec.satisfies("strong=oui"): + elif self.spec.satisfies("+strong"): scaled_variables = self.generate_strong_scaling_params( {tuple(num_nodes.keys()): list(num_nodes.values())}, int(self.spec.variants["scaling-factor"][0]),