Skip to content
Snippets Groups Projects
Commit df9f1f8e authored by Martin Bauer's avatar Martin Bauer
Browse files

UniformGridGenerated: fixes

parent 40629765
No related merge requests found
Pipeline #19164 failed with stages
in 3 hours, 10 minutes, and 24 seconds
...@@ -93,7 +93,7 @@ with CodeGeneration() as ctx: ...@@ -93,7 +93,7 @@ with CodeGeneration() as ctx:
'aa_odd_split': True, 'aa_odd_split': True,
'aa_odd_nt_stores': False, 'aa_odd_nt_stores': False,
'compiled_in_boundaries': True, 'compiled_in_boundaries': False,
} }
config_name = ctx.config config_name = ctx.config
noopt = False noopt = False
......
...@@ -64,7 +64,7 @@ class BenchmarkScenario: ...@@ -64,7 +64,7 @@ class BenchmarkScenario:
@wlb.member_callback @wlb.member_callback
def config(self, **kwargs): def config(self, **kwargs):
time_steps_for_128_cubed = 50 time_steps_for_128_cubed = 10
time_steps = int(128**3 / prod(self.block_size) * time_steps_for_128_cubed) time_steps = int(128**3 / prod(self.block_size) * time_steps_for_128_cubed)
time_steps = max(10, time_steps) time_steps = max(10, time_steps)
cfg = { cfg = {
...@@ -73,8 +73,8 @@ class BenchmarkScenario: ...@@ -73,8 +73,8 @@ class BenchmarkScenario:
}, },
'Parameters': { 'Parameters': {
'timesteps': time_steps, 'timesteps': time_steps,
'warmupSteps': 6, 'warmupSteps': 2,
'outerIterations': 3, 'outerIterations': 4,
'vtkWriteFrequency': 0, 'vtkWriteFrequency': 0,
'remainingTimeLoggerFrequency': 0, 'remainingTimeLoggerFrequency': 0,
'omega': 1.6, 'omega': 1.6,
...@@ -136,14 +136,13 @@ def single_node_benchmark(): ...@@ -136,14 +136,13 @@ def single_node_benchmark():
if not block_size_ok(sc): if not block_size_ok(sc):
continue continue
scenarios.add(sc) scenarios.add(sc)
else:
else: sc = BenchmarkScenario(block_size=block_size, direct_comm=direct_comm,
sc = BenchmarkScenario(block_size=block_size, direct_comm=direct_comm, domain_decomposition_func=domain_decomposition_func_z,
domain_decomposition_func=domain_decomposition_func_z, time_step_mode=time_step_mode)
time_step_mode=time_step_mode) if not block_size_ok(sc):
if not block_size_ok(sc): continue
continue scenarios.add(sc)
scenarios.add(sc)
def single_node_benchmark_small(): def single_node_benchmark_small():
...@@ -169,5 +168,4 @@ def weak_scaling(): ...@@ -169,5 +168,4 @@ def weak_scaling():
continue continue
scenarios.add(sc) scenarios.add(sc)
single_node_benchmark() single_node_benchmark()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment