Skip to content

Releases: buildtesters/lmodule

lmodule version 0.4

15 Mar 21:21
4fa2c7c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4

lmodule version 0.3.0

18 Oct 20:54
5492af9
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @vsoch made their first contribution in #22

Full Changelog: v0.2.0...v0.3.0

lmodule v0.2.0

25 Oct 01:03
e024250
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

Initial release of lmodule (v0.1.0)

25 Mar 16:13
Compare
Choose a tag to compare
Pre-release

v0.1.0

The first release of lmodule v0.1.0 includes three python classes: Module, Spider, and ModuleLoadTest

The features for Module class include:

  • Pass modules to Module class and you can use get_command to retrieve module load command with list of modules
  • You can test modules using test_command
  • Save modules into a user collection via save and show collection content via describe.
  • You can get & test collection via get_collection and test_collection
  • Get Lmod version via version
  • Check if module is avail via is_avail and avail
  • Return a list of user collection via get_user_collections

Features for Spider class include:

  • get_trees will return a list of module trees used by spider
  • get_names will return a list of software names
  • get_modules will return a list of full canonical module names
  • get_parents will return a list of parent modules
  • get_all_version will return a list of versions for a particular software

ModuleLoadTest will automate module load test for one or more module trees. The class include features such as

  • testing one or more module trees, by default it resorts to MODULEPATH when testing
  • tweak module purge and module --force purge when testing modules
  • test modules in login shell, defaults to subshell
  • Enable debug to view extra output during the test
  • Filter module by software name when testing
  • Filter include and exclude module by full canonical module name
  • Run test up to a count threshold