Robert McLay
Robert McLay
Thanks for reporting to me that it is possible for a collection to load even if it is missing a module. That is a bug and I'll try to fix...
The design of the collection hash is to only checks for any kinds of load() and prepend_path() and append_path() to MODULEPATH. Any other changes in a modulefile should be ignored....
The principal design criteria for collections is they produce the same environment as if the user did the loads by hand or sourced a shell script. That is their only...
In order to have the module commands make sense in perl you have to "source" the appropriate perl code to make the module command work and that depends on your...
My tests show that ``` module("unload foobar") ``` works fine. when done inside a perl script. Please provide a reproducer that shows this issue. Thanks!
Closing this issue as there have been no followup. Feel free to re-open if there is a reproducer.
It is possible to have a system configuration to move every users to ~/.lmod.d directory to a different location. It is also possible to switch lmod to use ~/.config/lmod/* and...
I'm not against this (or for it either). It is just that I want you understand the issues here.
Here is my thinking on this. This issue will be discussed at the September Lmod Zoom meeting (see https://github.com/TACC/Lmod/wiki for details). So the cache file change will show up soon....
The testing branch of Lmod is available for testing this feature. Lmod will now write to both ~/.lmod.d and ~/.config/lmod. It will continue to read from both directories. Sites can...