cea-hpc / modules

Environment Modules: provides dynamic modification of a user's environment
http://modules.sourceforge.net/
GNU General Public License v2.0
695 stars 109 forks source link

Facing error with envsetup.sh #530

Closed Ranjana-Mattur closed 4 months ago

Ranjana-Mattur commented 4 months ago

I face the below error when I source envsetup.sh . Can you please help as this is blocking my tasks. Thanks.

Path : /google/gchips/workspace/redondo-us/cbf/shared/tvspe-diag-1/mattur/WORK_TILHI/tilhi_wa_2024_04_01/repo/tilhi/envsetup.sh

##################################################################################### **ERROR: Can't find a usable init.tcl in the following directories: /root/AllianceATE/GTKWave/lib/tcl8.5 /usr/lib/tcl8.5 /lib/tcl8.5 /usr/library /library /tcl8.5.15/library /tcl8.5.15/library

This probably means that Tcl wasn't installed properly.**

  while executing

"error $msg" (procedure "tclInit" line 61) invoked from within "tclInit" invoked from within "interp create $itrp" (procedure "execute-modulerc" line 34) invoked from within "execute-modulerc $dir/$elt $elt $elt" (procedure "getModules" line 95) invoked from within "getModules $dir $mod 0 [list rc_defs_included resolve]" (procedure "getPathToModule" line 49) invoked from within "getPathToModule $mod {} $notfounderr" (procedure "cmdModuleLoad" line 24) invoked from within "cmdModuleLoad load 1 {}$args" (procedure "module" line 123) invoked from within "{}$execcmdlist" Please report this issue at https://github.com/cea-hpc/modules/issues application-specific initialization failed: Can't find a usable init.tcl in the following directories: /root/AllianceATE/GTKWave/lib/tcl8.5 /usr/lib/tcl8.5 /lib/tcl8.5 /usr/library /library /tcl8.5.15/library /tcl8.5.15/library

#######################################################################################

xdelaruelle commented 4 months ago

The error stack trace is not enough to analyze your issue. Please provide some more information:

It would also be interesting to run the tclsh command by itself to see if it is correctly running. The error message seems to indicate that Tcl has not been properly installed.

Ranjana-Mattur commented 4 months ago

I face this issue only on the NC terminals. Otherwise on the regular terminal I dont see this issue. Please let me know if I have to open this bug with the infra team.

When I run tclsh on regular terminal it works fine. On NC terminal I see the below error.

application-specific initialization failed: Can't find a usable init.tcl in the following directories: /root/AllianceATE/GTKWave/lib/tcl8.5 /lib/tcl8.5 /lib/tcl8.5 /library /library /tcl8.5.15/library /tcl8.5.15/library

This probably means that Tcl wasn't installed properly.

Thanks, Ranjana

On Tue, May 21, 2024 at 11:47 PM Xavier Delaruelle @.***> wrote:

The error stack trace is not enough to analyze your issue. Please provide some more information:

  • the content of the envsetup.sh file
  • the module command you are running
  • the modulefile you are evaluating
  • the version of Modules tool you use (module -V)

It would also be interesting to run the tclsh command by itself to see if it is correctly running. The error message seems to indicate that Tcl has not been properly installed.

— Reply to this email directly, view it on GitHub https://github.com/cea-hpc/modules/issues/530#issuecomment-2123182662, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIUPWU5SUDZWNIDZOLHBALDZDOFSTAVCNFSM6AAAAABICDCCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGE4DENRWGI . You are receiving this because you authored the thread.Message ID: <cea-hpc/modules/issues/530/2123182662 @.***>

xdelaruelle commented 4 months ago

Tcl is not properly installed which breaks Modules. I suggest you to report this issue to your infra team.

You may see this error when you connect to the NC terminal if module command is used in the shell initialization process.

Ranjana-Mattur commented 4 months ago

Sure. Will report the issue to the infra team.

Thanks, Ranjana

On Wed, May 22, 2024 at 12:20 AM Xavier Delaruelle @.***> wrote:

Tcl is not properly installed which breaks Modules. I suggest you to report this issue to your infra team.

You may see this error when you connect to the NC terminal if module command is used in the shell initialization process.

— Reply to this email directly, view it on GitHub https://github.com/cea-hpc/modules/issues/530#issuecomment-2123243992, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIUPWU6SH3LW2AUEXFHMQGDZDOJPBAVCNFSM6AAAAABICDCCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGI2DGOJZGI . You are receiving this because you authored the thread.Message ID: <cea-hpc/modules/issues/530/2123243992 @.***>