Skip to content

Conversation

@kelseymh
Copy link
Contributor

@kelseymh kelseymh commented May 5, 2020

Following #3323 , a new EasyConfig parameter is introduced in the DEPENDENCIES section to allow EasyConfig writers to specify an additional path to find dependency modules within the EasyConfig. The moddependpaths path (or paths, it may be either a string or a list/tuple) is prepended(*) to MODULEPATH before load actions in the generated Lmod file.

A new function in easyblock.py, make_module_deppaths() is introduced to support this, and a unit test for it is provided.

(*) module_generator.use() is invoked, rather than explicitly specifying MODULEPATH.

@easybuilders easybuilders deleted a comment from boegelbot May 6, 2020
@ocaisa
Copy link
Member

ocaisa commented May 6, 2020

Going in, thanks @kelseymh !

@ocaisa ocaisa merged commit 70b86fa into easybuilders:develop May 6, 2020
@kelseymh kelseymh deleted the 3323_dependency_search_in_EC branch May 7, 2020 04:10
@boegel boegel added this to the next release (4.2.1?) milestone May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants