Hi Naveed,
On 08/06/16 20:01, Near-Ansari, Naveed wrote:
Is there a way to add a stanza to each module file generated?
We like to have it logged when a module is loaded. It helps with support for
end uesrs and allows us to easily see what is mostly used. We would like to
add something like the following to each module file:
system "echo $ModulesCurrentModulefile \$USER | /bin/logger -p local2.info -t
module"
Is this possible?
Yes, EasyBuild has a configuration option for that purpose, see (taken
from 'eb --help'):
--modules-footer=PATH
Path to file containing footer to be added to all
generated module files
regards,
Kenneth