Skip to content

Commit

Permalink
doc: desc. Lmod Tcl mfile support in MIGRATING
Browse files Browse the repository at this point in the history
  • Loading branch information
xdelaruelle committed Mar 23, 2022
1 parent 0cb08ff commit 64891b3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions MIGRATING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,26 @@ also been updated to track shell completion changes.
:sgrcm:`set-function` _foo {
...bash completion code...}
Lmod Tcl modulefile support
---------------------------

With this new version, Modules now supports Tcl modulefiles written for
`Lmod`_, the alternative :command:`module` implementation developed in Lua.
Such modulefiles can be safely evaluated by Modules without raising error.

Support has been added for the following modulefile commands introduced by
Lmod: :mfcmd:`depends-on`, :mfcmd:`prereq-any`, :mfcmd:`always-load`,
:mfcmd:`module load-any<module>`, :mfcmd:`pushenv`, :mfcmd:`require-fullname`
and :mfcmd:`family`.

The :ref:`Compatibility with Lmod Tcl modulefile` section in the
:ref:`modulefile(4)` describes the differences existing between the two
implementations.

Note that when processing a :mfcmd:`family` command, the
:envvar:`LMOD_FAMILY_\<NAME\>` environment variable is defined by Modules to
be compatible with existing modulefiles or scripts relying on such variable.


v5.0
====
Expand Down

0 comments on commit 64891b3

Please sign in to comment.