-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Description
Describe the bug
ubuntu 24.04.04 + cpu: Intel(R) Xeon(R) Platinum 8488C
export SRC_ROOT=/data/software
export INST_ROOT=/data/usr
/modules-5.6.1$ source $INST_ROOT/modules-5.6.1/init/bash
ERROR: this extension is compiled for Tcl 9.0
while executing
"load [file normalize [getConf tcl_ext_lib]] Envmodules"
To Reproduce
Steps to reproduce the behavior:
1. install tcl 9.0.3
tar -xf tcl9.0.3-src.tar.gz && cd tcl9.0.3/unix
mkdir build && cd build
../configure --prefix=$INST_ROOT/tcl9.0.3 \
--enable-shared \
CFLAGS="-O3 -march=sapphirerapids -fPIC" \
LDFLAGS="-Wl,-rpath=$INST_ROOT/tcl9.0.3/lib"
make -j$(nproc) && make install
2. install modules 5.6.1
tar -xf modules-5.6.1.tar.gz && cd modules-5.6.1
./configure --prefix=$INST_ROOT/modules-5.6.1 \
--with-tcl=$INST_ROOT/tcl9.0.3/lib \
--with-tclinclude=$INST_ROOT/tcl9.0.3/include \
CFLAGS="-O2 -fPIC"
make -j$(nproc) && make install
3.
/data/software/modules-5.6.1$ ls -la $INST_ROOT/modules-5.6.1/bin/
total 24
drwxr-xr-x 2 lsfadmin lsfadmin 69 Mar 14 15:44 .
drwxr-xr-x 9 lsfadmin lsfadmin 98 Mar 14 15:44 ..
-rwxr-xr-x 1 lsfadmin lsfadmin 5433 Mar 14 15:44 add.modules
-rwxr-xr-x 1 lsfadmin lsfadmin 4209 Mar 14 15:44 envml
-rwxr-xr-x 1 lsfadmin lsfadmin 2892 Mar 14 15:44 mkroot
-rwxr-xr-x 1 lsfadmin lsfadmin 894 Mar 14 15:44 modulecmd
4. source
source $INST_ROOT/modules-5.6.1/init/bash
ERROR: this extension is compiled for Tcl 9.0
while executing
"load [file normalize [getConf tcl_ext_lib]] Envmodules"
Please report this issue at https://github.com/envmodules/modules/issues
...Location and content of any modulerc or modulefile involved:
ls -lhtra /data/usr/modules-5.6.1
total 4.0K
drwxr-xr-x 17 lsfadmin lsfadmin 325 Mar 14 15:44 ..
drwxr-xr-x 2 lsfadmin lsfadmin 27 Mar 14 15:44 libexec
drwxr-xr-x 2 lsfadmin lsfadmin 33 Mar 14 15:44 lib
drwxr-xr-x 2 lsfadmin lsfadmin 69 Mar 14 15:44 bin
drwxr-xr-x 9 lsfadmin lsfadmin 98 Mar 14 15:44 .
drwxr-xr-x 4 lsfadmin lsfadmin 4.0K Mar 14 15:44 init
drwxr-xr-x 2 lsfadmin lsfadmin 42 Mar 14 15:44 etc
drwxr-xr-x 2 lsfadmin lsfadmin 96 Mar 14 15:44 modulefiles
drwxr-xr-x 7 lsfadmin lsfadmin 68 Mar 14 15:44 share
...Expected behavior
The source $INST_ROOT/modules-5.6.1/init/bash will not fail,
and my can use tcl9.0.3
Error and debugging information
...Modules version and configuration
Additional context
Reactions are currently unavailable