-
Notifications
You must be signed in to change notification settings - Fork 136
Closed
Description
Describe the bug
if LMOD_CACHED_LOADS is set to yes or 1, loading a module still works but returns exit code 1, without any error message.
To Reproduce
export LMOD_CACHED_LOADS=yes
module load foss/2022a
echo $? # returns 1
Expected behavior
I would expect this to return 0, or is this intended behavior?
Desktop (please complete the following information):
- OS: Linux
- Linux distribution: CentOS 7
- Lmod Version: 8.7.14
- For Lmod Versions 8.7.7+, please run "module --miniConfig" and
include the output here.
Modules based on Lua: Version 8.7.14 2022-11-01 10:59 -05:00
by Robert McLay [email protected]
Changes from Default Configuration
----------------------------------
Name Where Set Default Value
---- --------- ------- -----
LFS_VERSION D 1.6.3 1.8.0
LMOD_CACHED_LOADS D no yes
LMOD_HAVE_LUA_TERM C no yes
LMOD_PACKAGE_PATH D nil <empty>
LMOD_PAGER C less /usr/bin/less
LMOD_SYSTEM_DEFAULT_MODULES D __unknown__ <empty>
LMOD_SYSTEM_NAME E false hydra-skylake-ib
LMOD_TCLSH C tclsh /usr/bin/tclsh
MODULEPATH_ROOT C /data/brussel/100/vsc10009/software/lmod/lmod-8.7.14/modulefiles
PATH_TO_LUA C lua /usr/bin/lua
Where Set -> D: default, E: environment, C: configuration
lmod_cfg: lmod_config.lua SitePkg: SitePackage StdPkg: StandardPackage
Other: Set somewhere outside of normal locations
Metadata
Metadata
Assignees
Labels
No labels