Skip to content

Finding modules with multiple modulepaths and HMNS #3703

@Micket

Description

@Micket

Currently, EB won't find anything from your normal MODULEPATHs, only stuff that's in --installpath-modules.
Not to bad for sysadmins to work around (just expand the MODULEPATH to also include the "/all" module directory directly, but it gets painful when lettings users build their stuff (especially if they use multiple paths as well).
t would be nicer to just deduce these from the normal MODULEPATH's instead.

From the zoom discussion, some options presented were

  1. can EasyBuild automatically add to each entry in $MODULEPATH when /Core is there already?
  2. can we avoid that EasyBuild uses the full module names internally when checking for dependencies?
  3. also module files that extend $MODULEPATH should iterate over existing $MODULEPATH for other "opportunities" to extend $MODULEPATH?

I think option 1 seems most promising, with a configuration option to disable it. Heck, it can even be off by default since it would be simple to enable for those who use this so it would be perfectly safe feature to add.

@Flamefire ping (since you are also interested in this).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions