easybuild-framework
easybuild-framework copied to clipboard
Working directory pickup of configuration files
Is there support for eb
picking the configuration file in the folder it is executed? Does not seems to be the case and I could not find it in the docs. Is this something that could rather easily be added?
Also, maybe I did not read the documentation clearly enough, but how is the configuration variables set if you have a global configuration file and a local one? Maybe that is not possible and only one is used/specified? In this case, it would be nice to support this in view of the initial question.
If you mean the EasyBuild configuration file, easybuild.cfg then you can use --configfiles= which expects a "," separated list of files to read the configuration from. See eb --help for more details.
The variables are read in the order specified by --configfiles or by default site-config, user-config. Last read value wins.