Skip to content

Recursive module unload with limited depth for Cray toolchains #3627

@lucamar

Description

@lucamar

I report here as a placeholder for further discussion a request to implement a limited depth recursive module unload when using the Cray toolchains: the relevant framework scripts are easyblocks/generic/craytoolchain.py and tools/module_generator.py.
The Cray toolchains load Cray external modules as dependencies that should not be unloaded, in order to keep a working programming environment.
When you build a modulefile using a Cray toolchain with the recursive module unload feature enabled, the full list of dependencies is unrolled, therefore also the Cray external modules (dependencies of the Cray toolchain) are unloaded with the module.
It would be preferable to stop the unloading at the depth of the Cray toolchain module, if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    crayIssues and PRs related to integration with Cray PEfeature request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions