Closed mboisson closed 2 years ago
This version shows the same behaviour as before: modules in ~/.local/easybuild
are not picked up by module spider
when the cache is enabled, unless the modules are in the currently loaded toolchain. I tested this on a local AVX cluster, where:
$ module --version
Modules based on Lua: Version 8.7.4 2022-06-07 18:23 -05:00
by Robert McLay mclay@tacc.utexas.edu
Do you have a local cache that you are using ? For the new behavior to work, the cache has to be generated with the new version of Lmod (which was done at least for avx2 and avx512, need to check for avx or sse3)
Ahh, I know what's going on. The caches are being generated at module deployment time, using the version of Lmod that is in production, so caches in production don't contain the information yet (because the new version of Lmod was just deployed).
I just regenerated the caches with the new version of Lmod. Check again when this returns some matches (there should be one match per module that changes the MODULEPATH):
grep changeMPATH /cvmfs/soft.computecanada.ca/custom/lmod/cache/*/spiderT*.lua
Everything works as expected with the new caches.
Lmod 8.7.4 has been deployed. You can test that cache is working correctly using: