You should probably put /software/modules/linux/x86_64 earlier in the MODULEPATH
A better solution, is don't use the same folder name in two module directories.
It searches each folder in the MODULEPATH, until the request is satisfied.
Note, I take advantage of this in testing an updated module - by using the same module name in an earlier path (a location in my home directory).
On 2025-01-22 2:27 PM, Marius Retegan wrote:
> Dear all,
>
> I apologize in advance if this is covered in documentation, but I did not manage to find an answer.
>
> We have the following situation:
>
> module avail jupyter-slurm
>
> ------------------ /software/modules/ubuntu24.04/x86_64 ------------------
> jupyter-slurm/2020.07.1
>
> no default here. Is it using an implicit default?
>
> --------------------- /software/modules/linux/x86_64 ---------------------
> jupyter-slurm/2022.05.1 jupyter-slurm/2023.10.3 jupyter-slurm/2023.10.7
> jupyter-slurm/2023.10.0 jupyter-slurm/2023.10.4 jupyter-slurm/2023.10.8
> jupyter-slurm/2023.10.1 jupyter-slurm/2023.10.5 jupyter-slurm/2023.10.9
> jupyter-slurm/2023.10.2 jupyter-slurm/2023.10.6 jupyter-slurm/2023.10.10
>
> the default is set here (jupyter-slurm/2023.10.9)
>
> When doing module load jupyter-slurm, the expectation is to load the 2023.10.9, the default in the second group.
>
> Is it possible to define one default version across multiple paths? Thank you!
>
> Best regards,
> Marius
>
>
>
> _______________________________________________
> Modules-interest mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/modules-interest
>
--
--------------------------------------------------------
The views and opinions expressed above are strictly
those of the author(s). The content of this message has
not been reviewed nor approved by any entity whatsoever.
--------------------------------------------------------
Paul FM Info: http://paulfm.com/~paulfm/
--------------------------------------------------------
|