Skip to content

Module wrongly found in HMNS with user-Modulepath #4593

Open
@Flamefire

Description

@Flamefire

We have a site-wide software installation and allow custom modules, i.e. --envvars-user-modules

To be able to build on top of that the user needs to modify it's module path.
For a base path like /software/modules/all/Core the user needs to do ml use /software/modules/all as otherwise EB won't be able to find modules in "Core". I mentioned this usability issue in #3703 (comment)

However that now leads to a different problem I haven't seen before:

  • I reinstall intel-compilers/2022.1.0 into the user env
  • EasyBuild then claims that e.g. impi/2021.6.0 (impi-2021.6.0-intel-compilers-2022.1.0.eb (module: Compiler/intel/2022.1.0 | impi/2021.6.0) is already installed

However it is only installed in the global tree but not in my user env. Hence I cannot load the module:
$ ml intel-compilers/2022.1.0 impi/2021.6.0 fails

More curiously: It does find the impi installed in the global env but only via the full path:

$ ml intel-compilers/2022.1.0
Module intel-compilers/2022.1.0 and 3 dependencies loaded.
s3248973@julia.hpc ~  $ ml av impi

---------------- /software/modules/all -------------------
   Compiler/intel/2022.1.0/impi/2021.6.0

So using the trace output I see that EasyBuild checks that full path: Compiler/intel/2022.1.0/impi/2021.6.0 is already installed (module found), skipping.

However using the current modules that isn't available by the module name "impi/2021.6.0" which EB uses e.g. in the sanity check to load the module and what a user expects.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions