EESSI cannot be activated when LD_LIBRARY_PATH is defined
Hi,
While testing EESSI in a shell session inside Rstudio server I realized that loading EESSI would not work.
After some debug with the help of Bob and Kenneth in slack we realized the problem was that Rstudio defines env var
LD_LIBRARY_PATH=/usr/lib/R/lib:/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server
After unsetting LD_LIBRARY_PATH
the EESSI soft stack can be loaded as usual.
The base OS was Ubuntu 24.04 and Rstudio server and R were installed as deb packages.
For reference, this is the error I was getting (notice the errors
symbol lookup error:/usr/lib/x86_64-linux-gnu/libc.so.6: undefined symbol: __tunable_is_initialized, version GLIBC_PRIVATE)
user11@login-node:~$ source /cvmfs/
software.eessi.io/versions/2023.06/init/bash Found EESSI repo @ /cvmfs/
software.eessi.io/versions/2023.06! archdetect says
x86_64/intel/skylake_avx512 archdetect could not detect any accelerators
Using x86_64/intel/skylake_avx512 as software subdirectory. Found Lmod
configuration file at /cvmfs/
software.eessi.io/versions/2023.06/software/linux/x86_64/intel/skylake_avx512/.lmod/lmodrc.lua
Found Lmod SitePackage.lua file at /cvmfs/
software.eessi.io/versions/2023.06/software/linux/x86_64/intel/skylake_avx512/.lmod/SitePackage.lua
Using /cvmfs/
software.eessi.io/host_injections/2023.06/software/linux/x86_64/intel/skylake_avx512
as the site extension directory for installations. Using as the site
extension directory for accelerated installations. Using /cvmfs/
software.eessi.io/versions/2023.06/software/linux/x86_64/intel/skylake_avx512/modules/all
as the directory to be added to MODULEPATH. Using /cvmfs/
software.eessi.io/host_injections/2023.06/software/linux/x86_64/intel/skylake_avx512/modules/all
as the site extension directory to be added to MODULEPATH. Initializing
Lmod... /cvmfs/
software.eessi.io/versions/2023.06/compat/linux/x86_64/usr/bin/lua5.1:
symbol lookup error: /usr/lib/x86_64-linux-gnu/libc.so.6: undefined symbol:
__tunable_is_initialized, version GLIBC_PRIVATE Prepending /cvmfs/
software.eessi.io/versions/2023.06/software/linux/x86_64/intel/skylake_avx512/modules/all
to $MODULEPATH... /cvmfs/
software.eessi.io/versions/2023.06/compat/linux/x86_64/usr/bin/lua5.1:
symbol lookup error: /usr/lib/x86_64-linux-gnu/libc.so.6: undefined symbol:
__tunable_is_initialized, version GLIBC_PRIVATE Prepending site path /cvmfs/
software.eessi.io/host_injections/2023.06/software/linux/x86_64/intel/skylake_avx512/modules/all
to $MODULEPATH... /cvmfs/
software.eessi.io/versions/2023.06/compat/linux/x86_64/usr/bin/lua5.1:
symbol lookup error: /usr/lib/x86_64-linux-gnu/libc.so.6: undefined symbol:
__tunable_is_initialized, version GLIBC_PRIVATE Environment set up to use
EESSI (2023.06), have fun!
Regards, Pablo.
Edited by ocaisa