Skip to content

Commit

Permalink
merge benchmarking across threads and across compute nodes in benchma…
Browse files Browse the repository at this point in the history
…rking script
  • Loading branch information
C.A.P. Linssen committed Jul 24, 2024
1 parent babd614 commit 8ede374
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extras/benchmark/Running/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,10 @@ def start_strong_scaling_benchmark_mpi(iteration):

def start_weak_scaling_benchmark_threads(iteration):
benchmarkPathStr = '--benchmarkPath ' + WEAKSCALINGFOLDERNAME
rng_seed = rng.integers(0, max_int32)
combinations = [
{
"command": ['bash', '-c', f'source {PATHTOSTARTFILE} && python3 {PATHTOFILE} --simulated_neuron {neuronmodel} --network_scale {NETWORK_BASE_SCALE * n_threads} --threads {NUMTHREADS} --iteration {iteration} {benchmarkPathStr}'],
"command": ['bash', '-c', f'source {PATHTOSTARTFILE} && python3 {PATHTOFILE} --simulated_neuron {neuronmodel} --network_scale {NETWORK_BASE_SCALE * n_threads} --threads {NUMTHREADS} --rng_seed {rng_seed} --iteration {iteration} {benchmarkPathStr}'],
"name": f"{neuronmodel}",
"networksize": NETWORK_BASE_SCALE * n_threads} for neuronmodel in NEURONMODELS for n_threads in N_THREADS]
log(f"\033[93mWeak Scaling Benchmark {iteration}\033[0m")
Expand Down

0 comments on commit 8ede374

Please sign in to comment.