Hi Frank,
~/.modulerc is made to set parameters for modulefiles, not to configure the
module command. I have added a note in documentation to clarify that point
[1].
~/.modulerc is evaluated each time a module command is executed, module
config is intended to be run just once, mainly when the module command is
initialized. This is why the config sub-command cannot be used in
~/.modulerc.
Cheers,
Xavier
[1] https://modules.readthedocs.io/en/latest/INSTALL.html#configuration
Le ven. 8 avr. 2022 à 13:30, Frank Thommen <f.t...@dk...> a
écrit :
>
> Hi,
>
> this time I tried to set "config icase never" in ~/.modulerc (empty and
> comment lines eliminiated):
>
> #%Module
> module config icase never
>
> but
>
> $ module list
> Module ERROR: module: Command 'config' not supported
> while executing
> "module config icase never"
> (file "/home/thommen/.modulerc" line 14)
> Please contact <root@localhost>
> No Modulefiles Currently Loaded.
> $
>
> https://modules.readthedocs.io/en/latest/module.html#subcmd-config
> doesn't mention, that it cannot be used in modulerc. What am I doing
> wrong?
>
> Modules version is 5.0.1
>
> Cheers, Frank
>
>
> _______________________________________________
> Modules-interest mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/modules-interest
>
|