Skip to content

Lmod hierarchical view under modern Cray environments #197

@etiennemlb

Description

@etiennemlb

I'm looking for either an example or a full blown tutorial showing how to use the Cray PrgEnv to compile products and then expose the products through a hierarchical view.

I wish for the Cray environment to be left untouched. The user should only have to load some modules with a custom name to navigate the hierarchical view. the module exposing the hierarchy, should only change the module path, and not modify the environment in any other way unless exceptional.

i.e:

Hypre was compiled with the PrgEnv-[cray|amd|gcc], this will produce 3 products which I which to expose, never at the same time (mutual exclusion) and only when a particular module is loaded.

$ ml products-cce
$ ml load hypre
$ module li
------------------------- /cce/15.0.0/Core --------------------------
   hypre/2.25.0

-------------------------------------- /Core ---------------------------------------
   products-cce/xxx    products-gcc/xxx     products-rocmcc/xxx    
$ ml products-gcc
<swap modules and automatically reload hypre (under the gcc Core, typical lmod stuff>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions