Skip to content

Update to spack v1: module file names too long for old Tcl/Tk systems #1811

@climbfuji

Description

@climbfuji

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

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions