Skip to content

Commit 6ca54b8

Browse files
authored
Fix for YODA modulefile (#5739)
use full path for yoda-config, otherwise the module cannot be unloaded using `module unload` or `module purge`
1 parent 1b0b2ca commit 6ca54b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yoda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ set YODA_ROOT \$::env(BASEDIR)/$PKGNAME/\$version
142142
prepend-path PATH \$YODA_ROOT/bin
143143
prepend-path LD_LIBRARY_PATH \$YODA_ROOT/lib
144144
prepend-path LD_LIBRARY_PATH \$YODA_ROOT/lib64
145-
set pythonpath [exec yoda-config --pythonpath]
145+
set pythonpath [exec \$YODA_ROOT/bin/yoda-config --pythonpath]
146146
prepend-path PYTHONPATH \$pythonpath
147147
prepend-path PYTHONPATH \$YODA_ROOT/lib/python/site-packages
148148
EoF

0 commit comments

Comments
 (0)