Skip to content
Snippets Groups Projects
Commit 1bafaf58 authored by David Hendriks's avatar David Hendriks
Browse files

Merge branch 'population' of gitlab.eps.surrey.ac.uk:ri0005/binary_c-python into population

parents 6950cc64 8c47a230
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ hostname = socket.gethostname() ...@@ -18,7 +18,7 @@ hostname = socket.gethostname()
# Generate list of cpu amounts to use # Generate list of cpu amounts to use
if amount_of_cpus <= 4: if amount_of_cpus <= 4:
stepsize = 1 stepsize = 1
elif 4 < amount_of_cpus <= 24: elif 4 < amount_of_cpus:
stepsize = 2 stepsize = 2
# elif 24 < amount_of_cpus <= 48: # elif 24 < amount_of_cpus <= 48:
# stepsize = 4 # stepsize = 4
...@@ -122,4 +122,4 @@ result_dict['linear'] = linear_times ...@@ -122,4 +122,4 @@ result_dict['linear'] = linear_times
# Write to file # Write to file
with open('scaling_results/{}_{}_systems.json'.format(hostname, total_systems), 'w') as f: with open('scaling_results/{}_{}_systems.json'.format(hostname, total_systems), 'w') as f:
f.write(json.dumps(result_dict)) f.write(json.dumps(result_dict))
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment