-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RESEARCH] finding libnvvm.so #441
Comments
|
Inside a
|
|
Using a
|
When using conda (miniforge), this appears to always exist, after installing
With these files:
I tried:
Additionally, |
For the record, I also experimented with this script: Example: Into a
Example output WITHOUT setting LD_LIBRARY_PATH:
After --- /home/rgrossekunst/z/vfailure 2025-02-11 15:53:15.693518916 -0800
+++ /home/rgrossekunst/z/vsuccess 2025-02-11 15:53:05.281172240 -0800
@@ -29,10 +29,10 @@
/usr/lib/x86_64-linux-gnu/libz.so.1.3
-label: after cuda.bindings.nvvm.version() failure
+label: after cuda.bindings.nvvm.version() success
--- before
+++ after
-@@ -7,9 +7,12 @@
+@@ -7,9 +7,13 @@
/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
/usr/lib/x86_64-linux-gnu/libc.so.6
@@ -45,5 +45,6 @@
+/usr/lib/x86_64-linux-gnu/librt.so.1
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.33
/usr/lib/x86_64-linux-gnu/libz.so.1.3
++/usr/local/cuda-12.6/nvvm/lib64/libnvvm.so.4.0.0 |
Possible approaches for locating libnvvm.so:
In theory we could look for |
@rwgk could probably also learn from how Numba finds |
Creating this as a place for myself to collect information related to finding libnvvm.so
Note that libnvvm.so is unusual: while most CTK .so files live under <loc>/lib or <loc>/lib64, it lives under <loc>/nvvm/lib64.
The text was updated successfully, but these errors were encountered: