Hi Xavier,
On 19.03.2022 14:19, Xavier Delaruelle wrote:
> Virtual modules [1] seem a good solution for this situation. The idea is
> to dynamically define the available modulefiles based on the software
> directories found under the current $ARCH directory.
That sounds like a good way to implement this. Let me try this and see
if I still have some questions left, but it looks like the ideal
solution to my problem.
> Instead of having a modulefile per software-version couple, you could
> just have a single file that adapts its evaluation based on the name it
> has been called (use [module-info name] in modulefile to fetch the name
> of the module currently being evaluated).
[...]
Thanks for the detailed description. It will take a bit to implement
it, but I will certainly try it out in the next couple of days.
Kind regards,
-michael
|