/usr/share/modules/versions/3.2.10 is in environment-modules 3.2.10-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #%Module1.0#####################################################################
##
## version modulefile
##
## modulefiles/version. Generated from version.in by configure.
##
proc ModulesHelp { } {
global version
puts stderr "\tChanges the MODULE_VERSION environment variable"
puts stderr "\tto the new version selected such that a different"
puts stderr "\tversion of the module command can be used."
puts stderr "\n\tVersion $version\n"
}
module-whatis "Changes the MODULE_VERSION environment variable"
# for Tcl script use only
set version 3.2.10
if [ expr [ module-info mode load ] || [ module-info mode display ] ] {
# get rid of old version
module unload null
module unload modules
setenv MODULE_VERSION 3.2.10
}
# version stack
prepend-path MODULE_VERSION_STACK 3.2.10
if [ module-info mode remove ] {
unsetenv MODULE_VERSION [lindex [split $env(MODULE_VERSION_STACK) : ] 0 ]
}
if [ expr [ module-info mode load ] || [ module-info mode display ] ] {
# bring in new version
module load modules
}
|