28371, "bradcray", "Tcl Modulefile Portability issues on EX", "2026-02-04T18:35:11Z"
A user in the field encountered Tcl errors from the EX module file:
chapel/2.7.0(106):ERROR:102: Tcl command execution failed: if { [string match aarch64 $CHPL_HOST_ARCH] } {
# ARM-based CPU, 2018-06-08
} elseif { [string match x86_64 $CHPL_HOST_ARCH] } {
# Cray-XC/HPE Cray EX
[...]
This was running using environment modules version 3.2.11.7 with Tcl 8.6.10
Key issues seem to be:
- the
$cpuvariable not existing - the
$CPUenvironment variable not being set on the system in question