"Population-{} finished! It took a total of {}s to run {} systems on {} cores".format(
"Population-{} finished! The total probability was: {}. It took a total of {}s to run {} systems on {} cores".format(
self.grid_options["_population_id"],
self.grid_options["_probtot"],
self.grid_options["_end_time_evolution"]
-self.grid_options["_start_time_evolution"],
self.grid_options["_total_starcount"],
@@ -917,7 +918,9 @@ class Population:
"Process {} started at {}. Using store memaddr {}".format(ID,datetime.datetime.now().isoformat(),self.grid_options["_store_memaddr"]),self.grid_options["verbosity"],0
)
round_number_mod=0
round_number_mod=0# rotating modulo
total_time_calling_binary_c=0
# Go over the generator
whilerunning:
@@ -955,6 +958,8 @@ class Population:
end_runtime_binary_c=time.time()
total_time_calling_binary_c+=end_runtime_binary_c-start_runtime_binary_c# keep track of total binary_c call time
"Process {} finished:\n\tgenerator started at {}, done at {} (total: {}s).\n\tRan {} systems with a total probability of {}.\n\tThis thread had {} failing systems with a total probability of {}".format(
"Process {} finished:\n\tgenerator started at {}, done at {} (total: {}s of which {}s interfacing with binary_c).\n\tRan {} systems with a total probability of {}.\n\tThis thread had {} failing systems with a total probability of {}".format(