Description
For older versions of Tcl/Tk such as the one on Narwhal, there is apparently a 8192-character limit for environment variables. With the new, longer names of the modulefiles themselves in spack-stack v2 (mostly because of oneapi --> intel-oneapi-compilers), environment variables such as _LMFILES_ exceed this limit and as a result, commands such as module li segfault.
To Reproduce
See above.
Expected behavior
module li et al do not segfault. This can be achieved by shortening the module installation path, and/or by shortening the name of the compiler in the module hierarchy.
System, compiler, code, ...
Narwhal, Intel oneAPI
Additional context
n/a