Avoid error when unloading EasyBuild module#77
Conversation
When unloading EasyBuild with the extend-Module loaded it fails with:
Lmod has detected the following error: Unable to load module because of error when evaluating modulefile:
/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen4/modules/all/EESSI-extend/2023.06-easybuild.lua: [string "help([==[..."]:239: attempt to compare string with nil
This is due to the easybuild_version being not set.
Change the order of the mode check and include the dependency check type
ocaisa
left a comment
There was a problem hiding this comment.
This looks correct to me but I am AFK this week to actually test it.
|
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2 |
|
New job on instance
|
|
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen3 |
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws for:arch=x86_64/generic |
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-jsc for:arch=aarch64/nvidia/grace |
|
New job on instance
|
|
New job on instance
|
|
The tarballs have been ingested. Thanks @Flamefire! |
When unloading EasyBuild with the extend-Module loaded it fails with: Lmod has detected the following error: Unable to load module because of error when evaluating modulefile:
/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen4/modules/all/EESSI-extend/2023.06-easybuild.lua: [string "help([==[..."]:239: attempt to compare string with nil
This is due to the easybuild_version being not set.
Change the order of the mode check and include the dependency check type which I discovered being used with manual printf debugging
The error also happens during the sanity check step when installing EasyBuild