3 ms·
Does this work with the "environment module" system (either the perl `module` or modern luamod `module`) commonly used in HPC, and what does the interop look li
by arjvik 4y ago
Does this work with the "environment module" system (either the perl `module` or modern luamod `module`) commonly used in HPC, and what does the interop look like if so?
- tgamblin 4y agoYep, it works with Lmod (https://lmod.readthedocs.io https://lmod.readthedocs.io) and environment modules (https://modules.sourceforge.net https://modules.sourceforge.net). See the tutorial on setting up modules for what the integration looks like: * https://spack-tutorial.readthedocs.io/en/latest/tutorial_modules.html https://spack-tutorial.readthedocs.io/en/latest/tutorial_mod... AFAIK environment modules are implemented in TCL, not perl. The original was in C with an embedded TCL interpreter, but when CEA revived the project w/version 4 in 2017, it was all in TCL.
- rekado 4y agoThis may also be of interest: https://hpc.guix.info/blog/2022/05/back-to-the-future-modules-for-guix-packages/ https://hpc.guix.info/blog/2022/05/back-to-the-future-module... Guix also has a compatibility layer with environment modules, though you likely wouldn't compose environments that mix in Guix stuff with existing modules. It's intended as an output of Guix.