"Process {} started at {}.\tUsing store memaddr {}".format(ID,datetime.datetime.now().isoformat(),self.grid_options["_store_memaddr"]),self.grid_options["verbosity"],0
# apparently we have to re-load this for every process, otherwise NameErrors arise (seems like a bug but I'm not sure)
# apparently we have to re-load this for every process, otherwise NameErrors arise (seems like a bug but I'm not sure)
self._load_grid_function()
self._load_grid_function()
...
@@ -914,10 +925,6 @@ class Population:
...
@@ -914,10 +925,6 @@ class Population:
0# counter for the actual amt of systems this thread ran
0# counter for the actual amt of systems this thread ran
)
)
verbose_print(
"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# rotating modulo
round_number_mod=0# rotating modulo
total_time_calling_binary_c=0
total_time_calling_binary_c=0
...
@@ -931,7 +938,7 @@ class Population:
...
@@ -931,7 +938,7 @@ class Population:
system=next(generator)
system=next(generator)
# Check if the ID is the correct one for this process
# Check if the ID is the correct one for this process
if (localcounter+(ID+round_number_mod))%self.grid_options["amt_cores"]==0:
if (localcounter+(ID+round_number_mod))%self.grid_options["amt_cores"]==0:
# Combine that with the other settings
# Combine that with the other settings
full_system_dict=self.bse_options.copy()
full_system_dict=self.bse_options.copy()
...
@@ -975,7 +982,7 @@ class Population:
...
@@ -975,7 +982,7 @@ class Population:
if (localcounter+1)%self.grid_options["amt_cores"]==0:
if (localcounter+1)%self.grid_options["amt_cores"]==0:
"Error: if you want to run an ensemble in a population, please set set 'ensemble_output_name'. It will be combined with 'data_dir' to write the output of the ensembles to",
"Warning: Running the ensemble without any filter requires alot of available RAM",