[Lmod-users] Releasing Lmod 7.0
A Lua based environment module system that reads TCL modulefiles.
Brought to you by:
rtmclay
|
From: Robert M. <mc...@ta...> - 2016-11-14 00:09:37
|
I am releasing 6.9.5-beta to now be Lmod 7.0. Here are some comments I
made a week ago about Lmod 7:
Many sites want to hide modules without removing them. If your sites never
removes modules
but wants to discourage new users from using old modules then this feature
can help. In the MODULERC file you can now do:
#%Module
hide-version mpich/3.2-dbg
module-version gcc/4.8.1 default
You can hide a module by specifying its full name. You can also set a
default module. The ability to hide modules is new. The ability to
specify a default here is new to Lmod but has been supported by Tmod
for a long time.
Your site can use the standard location of the RC file. If you
install Lmod in:
/apps/lmod/<lmod-version>/
then the MODULERC file is
/apps/lmod/etc/rc
You can check what Lmod thinks the location is by checking
"module --config". Or you can define the environment variable MODULERC
to point a file of your choice.
Users can also specify a personal ~/.modulerc file. The rules are
that a users ~/.modulerc file has priority over the system MODULERC
file which has priority over a .modulerc file stored with the
modulefiles.
There are three issues to be aware of:
First: $LMOD_DEFAULT_MODULEPATH is not used anymore. Any place
where you would have used it, you can use $MODULEPATH instead. Lmod
no longer needs to track "Core" modulefile directories versus Compiler or
Compiler/MPI dependent modulefile directories.
Second: The name and contents of the spider cache file have changed.
The previous name was moduleT.lua. The new name is spiderT.lua. The
"update_lmod_system_cache_files" has been updated to generate the new
name and contents. If you use your own script to call the "spider"
command please change it to:
$ spider -o spiderT $MODULEPATH > /path/to/lmod/cacheDir/spiderT.lua
Third: The format for the collection file has changed. Lmod 7 will read
old collection files. However if a user creates a new collection with this
release
file, Lmod 6 will not be able to read it. This should only be a problem
when testing.
Enjoy,
R.
--
Robert McLay, Ph.D.
TACC
Manager, HPC Software Tools
(512) 232-8104
|