Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • You can edit the exp-config.h file which determines settings for this experiment.
  • The oifs-run script will read the settings from this file.
  • Alternatively, the settings can be passed to the oifs-run script via command line parameters, which takes precedence over the exp-config.h settings. 
Info

Note:  Order of precedence for how variables are evaluated

  1. exp-config.h:  These variables have top precedence and are used for the experiment
  2. oifs-run:  If no exp-config.h is found, and if no command-line parameters are used, then the default settings in oifs-run are used instead (not recommended!)
  3. oifs-config.edit_me.sh:  This file needs to be sourced first, however any variables declared in either of the above files will overwrite the settings in this global configuration file

You should always set up an exp-config.h for each experiment. If no exp-config.h file is found in the experiment directory, and if also no command line parameters are provided when calling oifs-run, then oifs-run will revert to its own default values which are not appropriate. In any case you should either edit the exp-config.h file appropriately or provide the correct command line parameters.

...