Skip to content

add support for a parsable output of available modules #303

@shahzebsiddiqui

Description

@shahzebsiddiqui

Hello,

Not sure if environment-modules has an equivalent to spider command from Lmod https://lmod.readthedocs.io/en/latest/136_spider.html

This command is required by buildtest (https://buildtest.readthedocs.io/en/devel/) to do Software Stack Operation some of which is highlighted in the following:

The most important of them being to automate module load testing which buildtest can do already see https://buildtest.readthedocs.io/en/devel/module_operation.html#module-load-testing-buildtest-module-loadtest

If envrionment-modules can support this feature, I can add support in buildtest to support environment-modules. Take a look at my recent talk in SC19 at https://hust-workshop.github.io/2019_presentations/1-buildtest.pdf that highlights the module operations buidltest can perform. Lmod spider is the only sane way of figuring out how to load modules and its dependencies so buildtest requires Lmod in the system.

If it is within scope of this project to support a feature like this please formulate a json like structure that provides details on all modules so I can utilize it in buildtest. If this is outside scope , please disregard this request. Since some HPC facilities are using environment-modules instead of Lmod i am unable to use buildtest to test their software stack.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions