Skip to content

only use environment variable to find module command binary if command can't be found in $PATH#1275

Merged
boegel merged 3 commits intoeasybuilders:developfrom
boegel:LMOD_CMD
May 6, 2015
Merged

only use environment variable to find module command binary if command can't be found in $PATH#1275
boegel merged 3 commits intoeasybuilders:developfrom
boegel:LMOD_CMD

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented May 6, 2015

If lmod is found in $PATH, we shouldn't be using the value of $LMOD_CMD to determine the path to lmod.

When Lmod is available both on the system and in the user's account, we may end up using the wrong lmod binary that way (cfr. Taito @ CSC.fi).

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1690/
Test PASSed.

Comment thread easybuild/tools/modules.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

missing documentation how it resolves it now.

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.

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1692/
Test FAILed.

…ia $PATH, enhance test_lmod_specific unit test
@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1693/
Test PASSed.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented May 6, 2015

Thanks for the review @stdweird!

boegel added a commit that referenced this pull request May 6, 2015
only use environment variable to find module command binary if command can't be found in $PATH
@boegel boegel merged commit cf7ebfb into easybuilders:develop May 6, 2015
@boegel boegel deleted the LMOD_CMD branch May 6, 2015 22:21
boegel added a commit that referenced this pull request May 6, 2015
only use environment variable to find module command binary if command can't be found in $PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants