As a follow up,

My system is a fedora 11 with the latest kernel
(2.6.30.10-105.2.23.fc11.x86_64), nvidia drivers and boost library (1.42).
 I've double checked that the library dependencies are accessible and
present.  I've also listed the symbol table in libcudart.so and the symbol
('cuTexRefSetAddress') reported missing does indeed exists.

The following lists what the pycuda driver wrapper is linked against:
 linux-vdso.so.1 =>  (0x00007fffb39ff000)
libboost_python.so.1.42.0 => /usr/local/lib/libboost_python.so.1.42.0
(0x00007f8bc42f6000)
 libboost_thread.so.1.42.0 => /usr/local/lib/libboost_thread.so.1.42.0
(0x00007f8bc40e1000)
libcudart.so.3 => /usr/local/cuda/lib64/libcudart.so.3 (0x00007f8bc3e86000)
 libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1.0 (0x00007f8bc3ad9000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f8bc37ce000)
 libm.so.6 => /lib64/libm.so.6 (0x00007f8bc354b000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8bc3331000)
 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8bc3114000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8bc2da6000)
 libutil.so.1 => /lib64/libutil.so.1 (0x00007f8bc2ba3000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8bc299e000)
 librt.so.1 => /lib64/librt.so.1 (0x00007f8bc2796000)
/lib64/ld-linux-x86-64.so.2 (0x00000036fd400000)


Thanks,
Paul

On Tue, Mar 23, 2010 at 2:29 PM, Paul Rigor (uci) <paul.ri...@uci.edu>wrote:

> Hi gang,
>
>
> I have both CUDA and PyCUDA related questions.
>
> For CUDA, I'm using the latest drivers (195.x.x) and latest toolkit/sdk
> (3.0).  My problem is compiling the set of test programs.  I remember in the
> past that a hack had to be performed -- ie, comment out some function
> declarations in cuda's math_functions.h.  I've received the following error:
>
> /usr/local/cuda/bin/../include/math_functions.h:422: error: inline function
> ‘int __signbit(double)’ cannot be declared weak
> /usr/local/cuda/bin/../include/math_functions.h:427: error: inline function
> ‘int __signbitf(float)’ cannot be declared weak
> /usr/local/cuda/bin/../include/math_functions.h:440: error: inline function
> ‘int __signbitl(long double)’ cannot be declared weak
>
> The work around is to comment these lines out -- but is this still the best
> way to go about it?
>
> For PyCUDA, I've downloaded the latest beta (0.94.xxx).  The compilation of
> the wrapper for the driver goes smoothly. However, the test fails with the
> following undefined symbol error.  Even with the 190.xxx.xxx drivers and the
> fix I mentioned above, I still get this error =\  Any one encountering
> similar issues?
>
> Traceback (most recent call last):
>   File "test/test_driver.py", line 4, in <module>
>     from pycuda.tools import mark_cuda_test
>   File "/usr/lib64/python2.6/site-packages/pycuda/tools.py", line 30, in
> <module>
>     import pycuda.driver as cuda
>   File "/usr/lib64/python2.6/site-packages/pycuda/driver.py", line 1, in
> <module>
>     from _driver import *
> ImportError: /usr/lib64/python2.6/site-packages/pycuda/_driver.so:
> undefined symbol: cuTexRefSetAddress
>
>
>
>
> --
> Paul Rigor
> Pre-doctoral BIT Fellow and Graduate Student
> Institute for Genomics and Bioinformatics
> Donald Bren School of Information and Computer Sciences
> University of California, Irvine
> http://www.ics.uci.edu/~prigor
>



-- 
Paul Rigor
Pre-doctoral BIT Fellow and Graduate Student
Institute for Genomics and Bioinformatics
Donald Bren School of Information and Computer Sciences
University of California, Irvine
http://www.ics.uci.edu/~prigor
_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to