diff --git a/docs/source/090_configuring_lmod.rst b/docs/source/090_configuring_lmod.rst index 4ceddc0e3..845453670 100644 --- a/docs/source/090_configuring_lmod.rst +++ b/docs/source/090_configuring_lmod.rst @@ -244,6 +244,15 @@ the configuration option which will set the action. ~/.config/lmod but will check both directories when reading picking the most recent one. +**MODULES_AUTO_HANDLING** + [yes/no, default: no, --with-modulesAutoHandling]. If this option + is activated or the env. var. MODULES_AUTO_HANDLING is set then Lmod + will change prereq() to depends_on() and prereq_any() to + depends_on_any(). + + + + Configuration only settings ~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/rt/configDir/err.txt b/rt/configDir/err.txt index 48305a77c..b17f8bac9 100644 --- a/rt/configDir/err.txt +++ b/rt/configDir/err.txt @@ -2,13 +2,13 @@ step 1 lua ProjectDIR/src/lmod.in.lua shell --regression_testing --version =========================== -Modules based on Lua: Version 8.7.32 2023-08-28 12:42 -05:00 +Modules based on Lua: Version 8.7.34 2024-01-05 19:34 -07:00 by Robert McLay mclay@tacc.utexas.edu =========================== step 2 lua ProjectDIR/src/lmod.in.lua shell --regression_testing --config =========================== -Modules based on Lua: Version 8.7.32 2023-08-28 12:42 -05:00 +Modules based on Lua: Version 8.7.34 2024-01-05 19:34 -07:00 by Robert McLay mclay@tacc.utexas.edu Description Value Allow root to use Lmod (LMOD_ALLOW_ROOT_USE) yes @@ -36,6 +36,7 @@ lmod_config.lua location (LMOD_CONFIG_LOCATION) ProjectDIR/rt/conf LUA_CPATH @sys_lua_cpath@ LUA_PATH @sys_lua_path@ System lua-term (LMOD_HAVE_LUA_TERM) no +Modules Auto Handling no avail: Include modulepath dir (LMOD_MPATH_AVAIL) no MODULEPATH_INIT (LMOD_MODULEPATH_INIT) @PKG@/init/.modulespath -> MODULEPATH_ROOT (MODULEPATH_ROOT) diff --git a/rt/help/err.txt b/rt/help/err.txt index 70c09601d..565273ccc 100644 --- a/rt/help/err.txt +++ b/rt/help/err.txt @@ -2,7 +2,7 @@ step 1 lua ProjectDIR/src/lmod.in.lua shell --regression_testing --version =========================== -Modules based on Lua: Version 8.7.32 2023-08-28 12:42 -05:00 +Modules based on Lua: Version 8.7.34 2024-01-05 19:34 -07:00 by Robert McLay mclay@tacc.utexas.edu =========================== step 2 @@ -108,7 +108,7 @@ Lmod Web Sites SourceForge: https://lmod.sf.net TACC Homepage: https://www.tacc.utexas.edu/research-development/tacc-projects/lmod To report a bug please read https://lmod.readthedocs.io/en/latest/075_bug_reporting.html -Modules based on Lua: Version 8.7.32 2023-08-28 12:42 -05:00 +Modules based on Lua: Version 8.7.34 2024-01-05 19:34 -07:00 by Robert McLay mclay@tacc.utexas.edu =========================== step 3 @@ -214,7 +214,7 @@ Lmod Web Sites SourceForge: https://lmod.sf.net TACC Homepage: https://www.tacc.utexas.edu/research-development/tacc-projects/lmod To report a bug please read https://lmod.readthedocs.io/en/latest/075_bug_reporting.html -Modules based on Lua: Version 8.7.32 2023-08-28 12:42 -05:00 +Modules based on Lua: Version 8.7.34 2024-01-05 19:34 -07:00 by Robert McLay mclay@tacc.utexas.edu =========================== step 4 @@ -234,7 +234,7 @@ Version 9 step 5 lua ProjectDIR/src/lmod.in.lua shell --regression_testing --config =========================== -Modules based on Lua: Version 8.7.32 2023-08-28 12:42 -05:00 +Modules based on Lua: Version 8.7.34 2024-01-05 19:34 -07:00 by Robert McLay mclay@tacc.utexas.edu Description Value Allow root to use Lmod (LMOD_ALLOW_ROOT_USE) yes @@ -262,6 +262,7 @@ lmod_config.lua location (LMOD_CONFIG_LOCATION) no LUA_CPATH @sys_lua_cpath@ LUA_PATH @sys_lua_path@ System lua-term (LMOD_HAVE_LUA_TERM) no +Modules Auto Handling no avail: Include modulepath dir (LMOD_MPATH_AVAIL) no MODULEPATH_INIT (LMOD_MODULEPATH_INIT) @PKG@/init/.modulespath -> MODULEPATH_ROOT (MODULEPATH_ROOT) @@ -412,7 +413,7 @@ propT = { step 6 lua ProjectDIR/src/lmod.in.lua shell --regression_testing --miniConfig =========================== -Modules based on Lua: Version 8.7.32 2023-08-28 12:42 -05:00 +Modules based on Lua: Version 8.7.34 2024-01-05 19:34 -07:00 by Robert McLay mclay@tacc.utexas.edu LMOD_PACKAGE_PATH D nil LMOD_SYSTEM_DEFAULT_MODULES D __unknown__ diff --git a/src/Configuration.lua b/src/Configuration.lua index 450576644..c3fcb3c75 100644 --- a/src/Configuration.lua +++ b/src/Configuration.lua @@ -229,7 +229,7 @@ local function l_new(self) tbl.luaV = { k = "Lua Version" , v = _VERSION, n = false } tbl.lua_term = { k = "System lua-term" , v = have_term, n = "LMOD_HAVE_LUA_TERM" } tbl.lua_term_A = { k = "Active lua-term" , v = activeTerm, n = false } - tbt.mAutoHndl = { k = "Modules Auto Handling" , v = modulesAutoHanding, n = false } + tbl.mAutoHndl = { k = "Modules Auto Handling" , v = modulesAutoHanding, n = false } tbl.mpath_av = { k = "avail: Include modulepath dir" , v = mpath_avail, n = "LMOD_MPATH_AVAIL" } tbl.mpath_init = { k = "MODULEPATH_INIT" , v = mpath_init, n = "LMOD_MODULEPATH_INIT" } tbl.mpath_root = { k = "MODULEPATH_ROOT" , v = mpath_root, n = "MODULEPATH_ROOT" }