Hi Todd, On 07/02/15 14:42, Heywood, Todd wrote: > Turns out I did not have "repository=FileRepository" (which is the > default) in the config.cfg file. Adding that fixed it.
Thanks for the update. I've been thinking about how it can matter that setting 'repository' to it's default value rather than not setting it would make EasyBuild behave differently... The root cause lays in the old-style configuration style, for which support will be dropped in the upcoming EasyBuild v2.0 (see also http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html#easybuild-configuration). In the 'easybuild_configuration.py' Python module that takes care of the old-style configuration, 'repository' is defined as an *instance* of FileRepository, rather than a string value "FileRepository". The new-style configuration should be taking this into account, and re-initialize 'repository' if 'repositorypath' has changed, but apparently it doesn't. However, with support for the old-style configuration in the next release, this issue should no longer occur anymore in the future, since 'easybuild_configuration.py' is no longer there in the current 'develop' version (see https://github.com/hpcugent/easybuild-framework/tree/develop). regards, Kenneth > > Todd > > > On 2/5/15, 5:06 PM, "Kenneth Hoste" <[email protected]> wrote: > >> On 05/02/15 22:59, Heywood, Todd wrote: >>> Do you want me to send the whole log file as an attacnment to the list? >>> Or >>> maybe these last 4 lines of it suffice: >> Having a full debug log file would be nice to get a good view on what's >> going on, maybe just upload it as a gist (https://gist.github.com), or >> send it to me in private. >> >> >> regards, >> >> Kenneth >> >>> == 2015-02-05 16:56:04,834 main.filetools DEBUG Not creating existing >>> path >>> /sonas-hs/it/hpc/home/heywood/.local/easybuild/ebfiles_repo/ >>> == 2015-02-05 16:56:04,834 main.filetools INFO Creating directory >>> /sonas-hs/it/hpc/home/heywood/.local/easybuild/ebfiles_repo/Ruby >>> (parents: >>> True, set_gid: False, sticky: False) >>> == 2015-02-05 16:56:04,835 main.filetools DEBUG Not creating existing >>> path >>> /sonas-hs/it/hpc/home/heywood/.local/easybuild/ebfiles_repo/Ruby >>> == 2015-02-05 16:56:04,839 main.ConfigureMake INFO Closing log for >>> application name Ruby version 2.1.0 >>> >>> >>> The command was: >>> >>> eb Ruby-2.1.0-goolf-1.4.10.eb -r --try-toolchain-version=1.5.14 --debug >>> >>> >>> Todd >>> >>> From: Kenneth Hoste <[email protected]> >>> Reply-To: "[email protected]" <[email protected]> >>> Date: Thursday, February 5, 2015 at 4:43 PM >>> To: "[email protected]" <[email protected]> >>> Subject: Re: [easybuild] repositorypath not working >>> >>> >>>> Hi Todd, >>>> >>>> On 05/02/15 21:47, Heywood, Todd wrote: >>>>> I have a EASYBUILD_CONFIGFILES variable set to point to a config.cfg >>>>> file. >>>>> Inside that file I have: >>>>> >>>>> repositorypath=/sonas-hs/it/hpc/home/easybuild/ebfiles_repo >>>>> robot-paths = %(repositorypath)s:%(DEFAULT_ROBOT_PATHS)s >>>>> >>>>> This works fine if I manually put easyconfigs in the directory >>>>> indicated >>>>> in repositorypaths, finding these edited easyconfigs ahead of the ones >>>>> in >>>>> the easybuild repository. >>>>> >>>>> However, when I build, at the end of the log file it says it created a >>>>> directory under ~/.local/easybuild/ebfiles_repo/APP for APP¹s >>>>> easyconfig. >>>>> NOT the directory specified in the config.cfg file. >>>>> >>>>> Why? How do I get easybuild to put the easyconfig in the right place? >>>> Can you provide us with a full debug log (using eb --debug) for a run >>>> in >>>> which you see this occurring? >>>> >>>> What you're doing should be sufficient, but maybe other settings are >>>> getting in your way, or you're hitting a bug we're not aware of yet. >>>> >>>> >>>> regards, >>>> >>>> Kenneth

