On Thu, Dec 15, 2016 at 3:39 PM, Lebouc Lise (CS SI)
<Lis...@cn...> wrote:
>
> The message should be more comprehensive if the number of the version
> appears in the message (like $ module swap moduleA/1.0 moduleA/2.0) ??
>
> I find how to do that : in the file lmod/lmod/libexec/Master.lua, I did two
> modifications line 281 and 284 of the 7.1.5 lmod version.
That seems like a good idea to me. But you want to use `fullName`
instead of manually concating sn and version. In Lmod speak 'sn' is
short name (moduleA in this case) and fullName is name+version
(moduleA/1.0).
Sent a pull request to the github repo?
> Do you know where I can find documentation about all variables like
> LMOD_DISABLE_SAME_NAME_AUTOSWAP?
The best place is probably the file `src/myGlobals.lua` which has all of these.
Ward
|