Bug#725649: nvcc fatal : Path to libdevice library not specified
Vedran Miletić
rivanvx at gmail.com
Sun Oct 6 23:53:56 UTC 2013
Package:nvidia-cuda-toolkit
Version: 5.5.22-1
Running any example with PyCUDA results in:
% python hello_gpu.py
Traceback (most recent call last):
File "hello_gpu.py", line 12, in <module>
mod = SourceModule(open("hello_gpu.cu").read())
File "/usr/lib/python2.7/dist-packages/pycuda/compiler.py", line
262, in __init__
arch, code, cache_dir, include_dirs)
File "/usr/lib/python2.7/dist-packages/pycuda/compiler.py", line
252, in compile
return compile_plain(source, options, keep, nvcc, cache_dir)
File "/usr/lib/python2.7/dist-packages/pycuda/compiler.py", line
134, in compile_plain
cmdline, stdout=stdout.decode("utf-8"), stderr=stderr.decode("utf-8"))
pycuda.driver.CompileError: nvcc compilation of /tmp/tmpDX0YZu/kernel.cu failed
[command: nvcc --cubin -arch sm_21
-I/usr/lib/python2.7/dist-packages/pycuda/cuda kernel.cu]
[stderr:
nvcc fatal : Path to libdevice library not specified
]
nvidia-cuda toolkit 5.0.35-7 works fine. I'm not sure if this is on
PyCUDA or nvidia-cuda-toolkit's side. Apologies in advance if it's
PyCUDA.
Regards,
Vedran
More information about the pkg-nvidia-devel
mailing list