For those of you who are currently using "module source" in a modulefile.
Be aware of this when updating modules to a newer version:
1. The modulefile man page suggests you use the TCL source command instead (which also needs the full path, but of course a true module file with help and info sections probably can't be sourced this way - without being modified first).
2. In the modulefile man page, it also points out "module source" cannot be used in a modulefile.
Which is a new restriction starting (I think) with version 5.0.0; it was not a restriction in 4.8.0.
You can easily allow module source by modifying the installed module.tcl file; but, if you really need that feature, you should make your need known on this list - as unloading modules with module source in them, may cause odd side-effects (and maybe some protections can be added).
In my case, I only use module source in module files that are themselves loaded with module source.
--
--------------------------------------------------------
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/
--------------------------------------------------------
|