I'm a newbie to all this. I've installed cuda and the SDK and verified
that the sample applications work. I've installed Boost 1.40 because I
saw bug reports about 1.38 under Karmic. I've experimented with the
"python configure.py" command for configuring the making of pycuda.
I'm stuck- here's the output from the "sudo make install" command:
$ sudo make install
ctags -R src || true
/bin/sh: ctags: not found
/usr/bin/python setup.py install
/usr/include /boost/ python .hpp
/usr/lib / lib boost_python .so
/usr/lib / lib boost_thread .so
/usr/local/cuda /bin/ nvcc
/usr/local/cuda/include / cuda .h
/usr/local/cuda/lib / lib cuda .so
running install
Checking .pth file support in /usr/local/lib/python2.6/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.6/dist-packages/ appears to
support .pth files
running
bdist_egg
running
egg_info
writing requirements to
pycuda.egg-info/requires.txt
writing
pycuda.egg-info/PKG-INFO
writing top-level names to
pycuda.egg-info/top_level.txt
writing dependency_links to
pycuda.egg-info/dependency_links.txt
reading manifest file
'pycuda.egg-info/SOURCES.txt'
reading manifest template
'MANIFEST.in'
writing manifest file
'pycuda.egg-info/SOURCES.txt'
installing library code to
build/bdist.linux-x86_64/egg
running
install_lib
running
build_py
running
build_ext
--------------------------------------------------------------------------
Sorry, your build failed. Try rerunning configure with different
options.
--------------------------------------------------------------------------
Traceback (most recent call
last):
File "setup.py", line 325, in
<module>
main()
File "setup.py", line 317, in
main
("include/cuda",
glob.glob("src/cuda/*.hpp"))
File "/home/johnz/pycuda-0.93/aksetup_helper.py", line 12, in
setup
setup(*args,
**kwargs)
File "/usr/lib/python2.6/distutils/core.py", line 152, in
setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in
run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/install.py", line
76, in run
File "build/bdist.linux-i686/egg/setuptools/command/install.py", line
96, in do_egg_install
File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/bdist_egg.py",
line 174, in run
File "build/bdist.linux-i686/egg/setuptools/command/bdist_egg.py",
line 161, in call_command
File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/install_lib.py",
line 20, in run
File "/usr/lib/python2.6/distutils/command/install_lib.py", line 113,
in build
self.run_command('build_ext')
File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/build_ext.py",
line 46, in run
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, in
run
self.build_extensions()
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 449, in
build_extensions
self.build_extension(ext)
File "build/bdist.linux-i686/egg/setuptools/command/build_ext.py",
line 175, in build_extension
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 460, in
build_extension
ext_path = self.get_ext_fullpath(ext.name)
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 637, in
get_ext_fullpath
filename = self.get_ext_filename(ext_name)
File "build/bdist.linux-i686/egg/setuptools/command/build_ext.py",
line 85, in get_ext_filename
KeyError: '_driver'
make: *** [install] Error 1
Thanks for your help.
I have always depended on the kindness of strangers.
Blanche DuBois "A Streetcar Named Desire"
_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net