Cookbook
Modules can be used in many ways. The following collection of recipes provides
various installation examples that shed lights on how to take advantage of
existing Modules features and how to extend the module
command to achieve
specific needs.
- Handling Compiler and other Package Dependencies
- Ensure user fully qualify the modules they use
- Expose procedures and variables to modulefiles
- Hide and forbid modules
- Inhibit output of informative messages
- Log module command
- Return file basename on module-info name for full path modulefile
- Version control your Modulefiles using Git
- Make defined modulepaths persist over sudo
- Use new features without breaking old module command
- Reduce I/O load
- Source shell script in modulefile
- Sticky modules
- Testing Modulefiles
- Tips for Code Reuse in Modulefiles
- Top priority environment variable values
- Unload firstly loaded module matching name