settings_dict['amt_repeats']=1# Number of times the population will be repeated per cpu
# number. Better do it several times than only run it once
settings_dict['resolutions']=[# List of resolution of sampling of the population. Useful for checking whether population size has an effect on the results
{"M_1":10,"per":10,"q":2}
]
settings_dict['result_dir']="scaling_results"# Relative of absolute directory where results are writting to
settings_dict['plot_dir']="scaling_plots"# Directory where the plots will be stored
settings_dict['testcase']="linear vs MP batched"# 'name' of the calculation. will be used in the plot
settings_dict['stepsize_cpus']=1# Stepsize for the cpu number generator. Try to keep this
# low, to get the most reliable results
AMOUNT_OF_CPUS=4# Amount of logical cpus the machine has.
# AMOUNT_OF_CPUS = psutil.cpu_count()
AMOUNT_OF_CORES=2# The amount of physical cores. This value
settings_dict['amount_of_cpus']=4# Amount of logical cpus the machine has (this is not the same as physical cpus!)
RESULT_JSONS=[os.path.join(SCALING_RESULT_DIR,file)forfileinos.listdir(SCALING_RESULT_DIR)iffile.endswith('.json')]# Automatically grab all of the stuff, override it