Logo

Basics

  • Installing Modules on Unix
  • Installing Modules on Windows
  • New features
  • Release notes
  • Frequently Asked Questions
  • Changes between versions
  • Other module implementations

Examples

  • Cookbook
    • 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
    • Handle man pages search path
    • 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

Reference

  • ml
  • module
  • modulefile

Development

  • Contributing
  • Developer HowTos
  • Design notes
  • Modules Technical Charter
  • Modules Governance
  • Acknowledgments
Modules
  • Cookbook
  • Edit on GitHub

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
  • Handle man pages search path
  • 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
Previous Next

© Copyright 1996-2025, Modules Contributors.

Built with Sphinx using a theme provided by Read the Docs.