da-vi...@da-vinci-desktop:~/pycuda-0.91.1/test$ ldd
/usr/lib/python2.5/site-packages/pycuda-0.91.1-py2.5-linux-i686.egg/pycuda/_driver.so
linux-gate.so.1 => (0xb7fd8000)
libboost_python-gcc42-mt-1_34_1.so.1.34.1 =>
/usr/lib/libboost_python-gcc42-mt-1_34_1.so.1.34.1 (0xb7ea2000)
libcuda.so.1 => /usr/lib/libcuda.so.1 (0xb7a94000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb79a0000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb797b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7970000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7958000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7809000)
libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7805000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7800000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb77f7000)
libz.so.1 => /usr/lib/libz.so.1 (0xb77e2000)
/lib/ld-linux.so.2 (0xb7fd9000)
I'm still a noob in linux, and this is the first time I have programmed
(ever) in a linux environment. My professor is requiring me to use it, so
please bare with me.
Thank you for your patience!
Jan Paolo Acosta
On Sun, Feb 8, 2009 at 11:42 AM, J-Pascal Mercier <
[email protected]> wrote:
> On Sun, 8 Feb 2009 11:19:23 -0500
> jan acosta <[email protected]> wrote:
>
> > Installed /usr/lib/python2.5/site-packages/pytools-7-py2.5.egg
> > Finished processing dependencies for pycuda==0.91.1
> > da-vi...@da-vinci-desktop:~/pycuda-0.91.1$ cd test
> > da-vi...@da-vinci-desktop:~/pycuda-0.91.1/test$ python test_driver.py
> > Traceback (most recent call last):
> > File "test_driver.py", line 2, in <module>
> > import pycuda.autoinit
> > File
> >
> "/usr/lib/python2.5/site-packages/pycuda-0.91.1-py2.5-linux-i686.egg/pycuda/autoinit.py",
> > line 1, in <module>
> > import pycuda.gpuarray as gpuarray
> > File
> >
> "/usr/lib/python2.5/site-packages/pycuda-0.91.1-py2.5-linux-i686.egg/pycuda/gpuarray.py",
> > line 3, in <module>
> > import pycuda._kernel as _kernel
> > File
> >
> "/usr/lib/python2.5/site-packages/pycuda-0.91.1-py2.5-linux-i686.egg/pycuda/_kernel.py",
> > line 1, in <module>
> > import pycuda.driver as drv
> > File
> >
> "/usr/lib/python2.5/site-packages/pycuda-0.91.1-py2.5-linux-i686.egg/pycuda/driver.py",
> > line 1, in <module>
> > from _driver import *
> > ImportError:
> >
> /usr/lib/python2.5/site-packages/pycuda-0.91.1-py2.5-linux-i686.egg/pycuda/_driver.so:
> > undefined symbol:
> >
> _ZN5boost6python7objects9enum_baseC2EPKcPFP7_objectPKvEPFPvS6_EPFvS6_PNS0_9converter30rvalue_from_python_stage1_dataEENS0_9type_infoES4_
> > da-vi...@da-vinci-desktop:~/pycuda-0.91.1/test$ ls
> >
> > Any thoughts anyone?
> >
> > Jan
>
>
> Hi,
>
> Did you forgot LD_LIBRARY_PATH ?
>
> Can you provide the output for the command (without the quotes):
>
> "ldd
> /usr/lib/python2.5/site-packages/pycuda-0.91.1-py2.5-linux-i686.egg/pycuda/_driver.so"
>
> Looks like you have 2 version of lib boost_python installed and the
> loader is not loading the one you linked against. You know, many
> distros come with pre-compiled package for boost_python, maybe you
> should use it instead of your own installation.
>
> cheers,
>
> J-Pascal
>
>
> _______________________________________________
> PyCuda mailing list
> [email protected]
> http://tiker.net/mailman/listinfo/pycuda_tiker.net
>
>
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net