Note: Order of precedence for how variables are evaluated - exp-config.h: These variables have top precedence and are used for the experiment (Best practice to use this).
- 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 Not recommended! Use exp-config.h instead).
- oifs-config.edit_me.sh: This file contains global configuration settings for the functionality of OpenIFS and it needs to be always sourced first, however . However, it does not contain variables specific to an experiment and any variables declared in either of the above files exp-config.h or oifs-run 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. |