Bonjour mailing list reader,
I am running tests with a recent version of module:
$ module --version
Modules Release 5.5.0+XX-ged17988 (2025-02-16)
I am trying to use lmod modules file in my module path, but they are not
detected.
module use /lmod/modulesfiles
make nothing available
I also get complains if I run test on the file themself
$ module test ./test_soft/0.0.0.lua
Module ERROR: Magic cookie '#%Module' missing
In '/nb/home/poq/tmp/test/test_soft/0.0.0.lua'
Please contact <root@localhost>
I can set the Magic cookie and it does not help, I then simply get error
on the lmod options themselves.
However, the module doc states that it is compatible with lmod's lua
modulefiles:
https://modules.readthedocs.io/en/stable/design/lmod-tcl-modulefile-compat.html
But perhaps I am missing something. Do I need to somehow translate the
lmod files? Do I need to add some option in the `module use` command? I
can't find anything in the documentation or in this mailing list
history. Please help.
Salutations,
Pierre-Olivier
|