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 c0ce5c2 commit babd614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/benchmark/Running/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def start_strong_scaling_benchmark_threads(iteration):

dirname = os.path.join(output_folder, STRONGSCALINGFOLDERNAME)
rng_seed = rng.integers(0, max_int32)
combinations = [{"command":['bash', '-c', f'source {PATHTOSTARTFILE} && python3 {PATHTOFILE} --simulated_neuron {neuronmodel} --network_scale {MPI_STRONG_SCALE_NEURONS} --threads {n_threads} --iteration {iteration}, "rng_seed": {rng_seed} --benchmarkPath {dirname}'],
combinations = [{"command":['bash', '-c', f'source {PATHTOSTARTFILE} && python3 {PATHTOFILE} --simulated_neuron {neuronmodel} --network_scale {MPI_STRONG_SCALE_NEURONS} --threads {n_threads} --iteration {iteration} --rng_seed {rng_seed} --benchmarkPath {dirname}'],
"name":f"{neuronmodel},{n_threads}"
} for neuronmodel in NEURONMODELS for n_threads in N_THREADS]
for combination in combinations:
Expand Down

0 comments on commit babd614

Please sign in to comment.