The Lmod cache for 2025.06 is created with a very new Lmod.

Report a problem:

If I use Lmod 8.7 on lua 5.4.4 to load the EESSI/2025.06 the cache causes a lua error. 2023.06 works fine.

Input fields:

Institution (optional):

Department of Mathematics, University of Oslo

EESSI Version (required):

2025.06

Machine architecture (required):

x86_64

Operating system (required):

RHEL9

Description of problem (required):

$ command -v module && module --version
module

Modules based on Lua: Version 8.7  2022-04-16 13:49 -05:00
    by Robert McLay mclay@tacc.utexas.edu

$ module load EESSI/2025.06
Module for EESSI/2025.06 loaded successfully
$ module avail
/opt/uio/modules/rhel9/support/lua/bin/lua: ...dules/rhel9/support/lmod-8.7/lmod/lmod/libexec/Cache.lua:337: bad argument #1 to 'next' (table expected, got boolean)
stack traceback:
        [C]: in function 'next'
        ...dules/rhel9/support/lmod-8.7/lmod/lmod/libexec/Cache.lua:337: in upvalue 'l_readCacheFile'
        ...dules/rhel9/support/lmod-8.7/lmod/lmod/libexec/Cache.lua:439: in function 'Cache.build'
        ...les/rhel9/support/lmod-8.7/lmod/lmod/libexec/ModuleA.lua:685: in function 'ModuleA.singleton'
        ...ules/rhel9/support/lmod-8.7/lmod/lmod/libexec/Master.lua:1155: in function 'Master.avail'
        ...es/rhel9/support/lmod-8.7/lmod/lmod/libexec/cmdfuncs.lua:133: in function 'Avail'
        ...io/modules/rhel9/support/lmod-8.7/lmod/lmod/libexec/lmod:503: in function 'main'
        ...io/modules/rhel9/support/lmod-8.7/lmod/lmod/libexec/lmod:573: in main chunk
        [C]: in ?
Edited by Terje Kvernes