PRUNERS / FLiT

A project to quickly detect discrepancies in floating point computation across hardware, compilers, libraries and software.
Other
36 stars 6 forks source link

Remove `hosts` from `flit-config.toml` #244

Closed mikebentley15 closed 5 years ago

mikebentley15 commented 5 years ago

Feature Request

Describe the new feature: The flit-config.toml has a hosts array that is currently not used, i.e. only the first one is used. The intended use of this hosts array was to either tell FLiT to automatically perform full flit runs on each host, or to pick out the host configuration for the current machine's hostname (which would help facilitate an automatic performing of a full flit run on many machines).

Suggested change: Remove hosts as an array. We can have a top-level host or rename it to something else. Everything that used to be under hosts can now be part of the top-level.

Alternative approaches:

  1. Implement the intended use of the hosts array
  2. Leave it as-is
mikebentley15 commented 5 years ago

Since this is a breaking change, it may be good to add code that will automatically convert your toml file by removing the hosts section and renaming each section accordingly. This could be accompanied by a question to the user perhaps.