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 104416c commit 4d7f57f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extras/benchmark/Running/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def start_strong_scaling_benchmark_threads(iteration):

dirname = os.path.join(output_folder, STRONGSCALINGFOLDERNAME)

combinations = [{"command":['bash', '-c', f'source {PATHTOSTARTFILE} && python3 {PATHTOFILE} --simulated_neuron {neuronmodel} --network_scale {MPI_STRONG_SCALE_NEURONS} --threads {threads} --iteration {iteration} --benchmarkPath {dirname}'],
"name":f"{neuronmodel},{threads}"
} for neuronmodel in NEURONMODELS for threads in N_THREADS]
combinations = [{"command":['bash', '-c', f'source {PATHTOSTARTFILE} && python3 {PATHTOFILE} --simulated_neuron {neuronmodel} --network_scale {MPI_STRONG_SCALE_NEURONS} --threads {n_threads} --iteration {iteration} --benchmarkPath {dirname}'],
"name":f"{neuronmodel},{n_threads}"
} for neuronmodel in NEURONMODELS for n_threads in N_THREADS]
for combination in combinations:
log(combination["name"])

Expand Down

0 comments on commit 4d7f57f

Please sign in to comment.