DARMA-tasking / LB-analysis-framework

Analysis framework for exploring, testing, and comparing load balancing strategies
Other
3 stars 1 forks source link

Create baseline/global YAML configuration file #352

Closed lifflander closed 1 year ago

tlamonthezie commented 1 year ago

The logic is: dict <- {} Read the global keys -> dict Read the local keys -> put in dict

tlamonthezie commented 1 year ago

Hello @ppebay @lifflander could you please just confirm if a key is in both files do we erase the global value with the local ? If no it means that the "global" values won't be used if the "local" config defines all the keys already. In such a case the presence of a global config file won't have any effect... Is it normal or is there some misunderstanding ? If yes then we should remove keys from all the configuration files except the global one. Then which keys should be placed in the global configuration file ?

ppebay commented 1 year ago

Yes, I think that as a rule, local should override global. This is an application of deductive reasoning to parameter setting: "from the general to the particular"