Replies: 1 comment 3 replies
-
|
Thanks for reporting! There are a lot of layers that have an opportunity to modify environment variables, so a little more detail might help:
Kallichore loads all terminal environment variables and so my initial guess is that one of the extensions is setting LD_LIBRARY_PATH in such a way that it overrides the value inside the container. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I’m running Kallichore inside a Singularity container and trying to use GPU/CUDA functionality via the
cupyPython library. After a frustrating few hours of debugging, I discovered that$LD_LIBRARY_PATH—which the CUDA runtime relies on to locate the drivers—was not being propagated correctly to spawned kernels.Specifically:
.bashrcand enableKernel Supervisor: Run in Shellto make things work.$SINGULARITY_NAME, are propagated correctly, but$LD_LIBRARY_PATHis reset.I’ve seen a few related issues but nothing directly addressing this, so I’m not opening a bug report straightaway.
Question: Why are certain environment variables propagated correctly while $LD_LIBRARY_PATH is not?
Thanks in advance for any insights!
Beta Was this translation helpful? Give feedback.
All reactions