Skip to content
Snippets Groups Projects
Commit 62a52812 authored by Markus Holzer's avatar Markus Holzer
Browse files

Finish setup

parent c7b6c062
No related branches found
No related tags found
No related merge requests found
Pipeline #66195 failed
......@@ -16,7 +16,7 @@ except ImportError:
# increase this to get more reliable measurements
TIME_STEPS_FOR_128_BLOCK = 1000
DB_FILE = os.environ.get('DB_FILE', "gpu_benchmark.sqlite3")
BENCHMARK = os.environ.get('BENCHMARK', 0)
BENCHMARK = int(os.environ.get('BENCHMARK', 0))
BASE_CONFIG = {
'DomainSetup': {
......@@ -277,9 +277,9 @@ def strong_scaling_overlap_const_blocks(target_procs, cuda_enabled_mpi=False):
wlb.log_info_on_root("Running strong scaling benchmark with constant #blocks with communication hiding")
wlb.log_info_on_root("")
scenarios = wlb.ScenarioManager(target_procs)
scenarios = wlb.ScenarioManager()
blocks = block_decomposition(wlb.mpi.numProcesses())
blocks = block_decomposition(target_procs)
cells_per_block = (128, 128, 128)
# overlap
......@@ -368,5 +368,5 @@ elif BENCHMARK == 1:
elif BENCHMARK == 2:
strong_scaling_overlap_const_blocks(1024, True)
else:
print("Invalid benchmark case")
print(f"Invalid benchmark case {BENCHMARK}")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment