TACC / Lmod

Lmod: An Environment Module System based on Lua, Reads TCL Modules, Supports a Software Hierarchy
http://lmod.readthedocs.org
Other
486 stars 126 forks source link

Feature Request: Print the contents of 'inherited' modules when doing module show. #653

Closed Paul-Ferrell closed 1 year ago

Paul-Ferrell commented 1 year ago

Describe the bug

We've been using the inherit() feature to patch in module paths to additional module trees when loading compilers and MPI's. We do this because on Cray Shasta systems we don't have control over the base modulefiles - they come pre-packaged from Cray. This works pretty well - when swapping out compilers/mpi, our modulepaths get changed, which forces reloads of all our provided modules as expected.

The one big downside is that users only see the actions of the inheriting module (including the inherit() line) when they do a module show. It would be really nice if instead the actions of the inherited module file were shown too, maybe surrounded with comments about where they were inherited from.

To Reproduce

Desktop (please complete the following information):

rtmclay commented 1 year ago

This will be added to the list of feature requests to be worked on. Please let me know that your site would be willing to install the latest version of Lmod when this feature exists.

Paul-Ferrell commented 1 year ago

Yes, we will install the latest LMOD if it gets this fix.

rtmclay commented 1 year ago

Please test Lmod 8.7.29 to see it works for you.

rtmclay commented 1 year ago

O.K. to close this issue?

Paul-Ferrell commented 1 year ago

Yes, this can be closed.


From: Robert McLay @.***> Sent: Sunday, July 23, 2023 1:22 PM To: TACC/Lmod Cc: Ferrell, Paul Steven; Author Subject: [EXTERNAL] Re: [TACC/Lmod] Feature Request: Print the contents of 'inherited' modules when doing module show. (Issue #653)

O.K. to close this issue?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/TACC/Lmod/issues/653*issuecomment-1646938540__;Iw!!Bt8fGhp8LhKGRg!CfUXS1_pBLPBwyPfIA2oTh8RH4ffPqEGgWQra27UodieiAzRZTI4nXm1W2XpEZ6pCVWMey5eHDIcCLWK9A9QlZxNrw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AMK6D5FQCA6C4QFNUCDR5LLXRV2YJANCNFSM6AAAAAAYW544PA__;!!Bt8fGhp8LhKGRg!CfUXS1_pBLPBwyPfIA2oTh8RH4ffPqEGgWQra27UodieiAzRZTI4nXm1W2XpEZ6pCVWMey5eHDIcCLWK9A9BLEIUCA$. You are receiving this because you authored the thread.Message ID: @.***>