Skip to content

add modulerc method to ModuleGenerator class #2575

Merged
ocaisa merged 7 commits intoeasybuilders:developfrom
boegel:modulerc
Sep 11, 2018
Merged

add modulerc method to ModuleGenerator class #2575
ocaisa merged 7 commits intoeasybuilders:developfrom
boegel:modulerc

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Sep 11, 2018

No description provided.

@boegel boegel added this to the 3.7.0 milestone Sep 11, 2018
Copy link
Copy Markdown
Member

@ocaisa ocaisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and tests cover all modtool possibilities, one explanatory comment needed

Comment thread easybuild/tools/module_generator.py
COMMAND = 'lmod'
COMMAND_ENVIRONMENT = 'LMOD_CMD'
REQ_VERSION = '5.8'
REQ_VERSION = '6.6.3'
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: Lmod 6.0 or newer is needed to pick up on .modulerc files in module file subdirectory.

Older Lmod 6.x versions have bugs that make it incompatible with EasyBuild in other (unrelated ways), hence the more recent 6.x being required.

Lmod 6.6.3 is the latest 6.x release, which was released Nov 13th 2016 (close to 2 years old), so I don't expect this to be a big problem.

Also, this way EasyBuild is still compatible with both Lmod 6.x & 7.x...

Copy link
Copy Markdown
Member

@ocaisa ocaisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants