Skip to content

Weird behaviour while loading EESSIE with multiples modulefiles #1014

@remyd1

Description

@remyd1

Hi,

I have a very strange behaviour while trying to load EESSIE (source /cvmfs/software.eessi.io/versions/2023.06/init/lmod/bash):

stack traceback:
	[C]: in function 'next'
	...compat/linux/x86_64/usr/share/Lmod/libexec/Cache.lua:341: in function 'l_readCacheFile'
	...compat/linux/x86_64/usr/share/Lmod/libexec/Cache.lua:561: in function 'build'
	...mpat/linux/x86_64/usr/share/Lmod/libexec/ModuleA.lua:685: in function 'singleton'
	...compat/linux/x86_64/usr/share/Lmod/libexec/MName.lua:183: in function 'l_lazyEval'
	...compat/linux/x86_64/usr/share/Lmod/libexec/MName.lua:262: in function 'sn'
	...6/compat/linux/x86_64/usr/share/Lmod/libexec/Hub.lua:312: in function 'load'
	.../linux/x86_64/usr/share/Lmod/libexec/MainControl.lua:1055: in function 'load'
	.../linux/x86_64/usr/share/Lmod/libexec/MainControl.lua:1031: in function 'load_usr'
	...pat/linux/x86_64/usr/share/Lmod/libexec/cmdfuncs.lua:550: in function 'l_usrLoad'
	...pat/linux/x86_64/usr/share/Lmod/libexec/cmdfuncs.lua:578: in function 'Load_Usr'
	...pat/linux/x86_64/usr/share/Lmod/libexec/cmdfuncs.lua:711: in function 'Reset'
	...pat/linux/x86_64/usr/share/Lmod/libexec/cmdfuncs.lua:867: in function 'cmd'
	...3.06/compat/linux/x86_64/usr/share/Lmod/libexec/lmod:514: in function 'main'
	...3.06/compat/linux/x86_64/usr/share/Lmod/libexec/lmod:585: in main chunk
	[C]: ?

Basically, we have a lot of modulefiles elsewhere, which are overwritten by sourcing this file (this should be in another issue).

module --version

Modules based on Lua: Version 8.7.23  2023-03-29 17:19 -05:00
    by Robert McLay mclay@tacc.utexas.edu

We are using OpenHPC with Rocky Linux. /etc/os-release

NAME="Rocky Linux"
VERSION="9.4 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.4"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.4 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.4"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.4"

Any idea would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions