Hi Alexander,

Just in case this might be helpful, here's a copy of the make log for
pycuda.

Thanks,
Paul

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

> Hi Alexander,
>
> THanks, additional compile flags fixed the compilation of the test
> programs.  The device can be queried and the programs actually work.
>  However, this doesn't really address the PyCUDA issue.  For example,
> test_driver.py fails because the wrapper doesn't seem to compile against
> CUDA driver properly.
>
> Any insights to that problem?
>
> For the rest of the list, has anyone had success at installing PyCUDA on
> Fedora 11?
>
> Thanks!
> Paul
>
> On Tue, Mar 23, 2010 at 3:46 PM, Alexander Wagner <a...@ypermutator.ca>wrote:
>
>> Paul,
>>
>> I'm assuming you're trying to compile with GCC 4.4, which CUDA is not
>> currently compatible with.  You can either downgrade to 4.3, or set
>> some nvcc options as per:
>> http://forums.nvidia.com/index.php?showtopic=104525
>>
>> Cheers.
>>
>> _______________________________________________
>> PyCUDA mailing list
>> pyc...@host304.hostmonster.com
>> http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net
>>
>
>
>
> --
> 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
[r...@baldicuda pycuda]# make
ctags -R src || true
/usr/bin/python setup.py build
Scanning installed packages
Setuptools installation detected at /root/Downloads/pycuda
Non-egg installation
Removing elements out of the way...
Already patched.
/root/Downloads/pycuda/setuptools-0.6c9-py2.6.egg-info already patched.
Extracting in /tmp/tmpAOFkKf
Now working in /tmp/tmpAOFkKf/distribute-0.6.4
Building a Distribute egg in /root/Downloads/pycuda
Traceback (most recent call last):
  File "setup.py", line 142, in <module>
    scripts = scripts,
  File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File "/tmp/tmpAOFkKf/distribute-0.6.4/setuptools/dist.py", line 224, in 
__init__
    _Distribution.__init__(self,attrs)
  File "/usr/lib64/python2.6/distutils/dist.py", line 270, in __init__
    self.finalize_options()
  File "/tmp/tmpAOFkKf/distribute-0.6.4/setuptools/dist.py", line 257, in 
finalize_options
    ep.load()(self, ep.name, value)
  File "/tmp/tmpAOFkKf/distribute-0.6.4/pkg_resources.py", line 1922, in load
    raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'setuptools.dist' from 
'/tmp/tmpAOFkKf/distribute-0.6.4/setuptools/dist.py'> has no 'check_packages' 
attribute
/root/Downloads/pycuda/setuptools-0.6c9-py2.6.egg-info already exists
/usr/local/include /boost/  python .hpp
/usr/local/lib / lib boost_python .so
/usr/local/lib / lib boost_thread .so
/usr/local/cuda /bin/  nvcc
/usr/local/cuda/include /  cuda .h
/usr/local/cuda/lib64 / lib cudart .so
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution 
option: 'install_requires'
  warnings.warn(msg)
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/pycuda
copying pycuda/elementwise.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/driver.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/tools.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/cumath.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/__init__.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/compiler.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/gpuarray.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/autoinit.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/reduction.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/curandom.py -> build/lib.linux-x86_64-2.6/pycuda
creating build/lib.linux-x86_64-2.6/pycuda/gl
copying pycuda/gl/__init__.py -> build/lib.linux-x86_64-2.6/pycuda/gl
copying pycuda/gl/autoinit.py -> build/lib.linux-x86_64-2.6/pycuda/gl
running build_ext
building '_driver' extension
creating build/temp.linux-x86_64-2.6
creating build/temp.linux-x86_64-2.6/src
creating build/temp.linux-x86_64-2.6/src/cpp
creating build/temp.linux-x86_64-2.6/src/wrapper
gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -DCUDAPP_TRACE_CUDA=1 -DHAVE_GL=1 
-Isrc/cpp -I/usr/local/include -I/usr/local/cuda/include 
-I/usr/lib64/python2.6/site-packages/numpy/core/include 
-I/usr/include/python2.6 -c src/cpp/cuda.cpp -o 
build/temp.linux-x86_64-2.6/src/cpp/cuda.o
gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -DCUDAPP_TRACE_CUDA=1 -DHAVE_GL=1 
-Isrc/cpp -I/usr/local/include -I/usr/local/cuda/include 
-I/usr/lib64/python2.6/site-packages/numpy/core/include 
-I/usr/include/python2.6 -c src/cpp/bitlog.cpp -o 
build/temp.linux-x86_64-2.6/src/cpp/bitlog.o
gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -DCUDAPP_TRACE_CUDA=1 -DHAVE_GL=1 
-Isrc/cpp -I/usr/local/include -I/usr/local/cuda/include 
-I/usr/lib64/python2.6/site-packages/numpy/core/include 
-I/usr/include/python2.6 -c src/wrapper/wrap_cudadrv.cpp -o 
build/temp.linux-x86_64-2.6/src/wrapper/wrap_cudadrv.o
src/wrapper/wrap_cudadrv.cpp: In function ‘void init_module__driver()’:
src/wrapper/wrap_cudadrv.cpp:415: warning: deprecated conversion from string 
constant to ‘char*’
src/wrapper/wrap_cudadrv.cpp:419: warning: deprecated conversion from string 
constant to ‘char*’
src/wrapper/wrap_cudadrv.cpp:420: warning: deprecated conversion from string 
constant to ‘char*’
src/wrapper/wrap_cudadrv.cpp:421: warning: deprecated conversion from string 
constant to ‘char*’
src/wrapper/wrap_cudadrv.cpp:422: warning: deprecated conversion from string 
constant to ‘char*’
gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -DCUDAPP_TRACE_CUDA=1 -DHAVE_GL=1 
-Isrc/cpp -I/usr/local/include -I/usr/local/cuda/include 
-I/usr/lib64/python2.6/site-packages/numpy/core/include 
-I/usr/include/python2.6 -c src/wrapper/mempool.cpp -o 
build/temp.linux-x86_64-2.6/src/wrapper/mempool.o
gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -DCUDAPP_TRACE_CUDA=1 -DHAVE_GL=1 
-Isrc/cpp -I/usr/local/include -I/usr/local/cuda/include 
-I/usr/lib64/python2.6/site-packages/numpy/core/include 
-I/usr/include/python2.6 -c src/wrapper/wrap_cudagl.cpp -o 
build/temp.linux-x86_64-2.6/src/wrapper/wrap_cudagl.o
g++ -pthread -shared build/temp.linux-x86_64-2.6/src/cpp/cuda.o 
build/temp.linux-x86_64-2.6/src/cpp/bitlog.o 
build/temp.linux-x86_64-2.6/src/wrapper/wrap_cudadrv.o 
build/temp.linux-x86_64-2.6/src/wrapper/mempool.o 
build/temp.linux-x86_64-2.6/src/wrapper/wrap_cudagl.o -L/usr/local/lib 
-L/usr/local/cuda/lib64 -L/usr/lib64 -lboost_python -lboost_thread -lcudart 
-lpython2.6 -o build/lib.linux-x86_64-2.6/pycuda/_driver.so
building '_pvt_struct' extension
gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -I/usr/include/python2.6 -c 
src/wrapper/_pycuda_struct.c -o 
build/temp.linux-x86_64-2.6/src/wrapper/_pycuda_struct.o
src/wrapper/_pycuda_struct.c:240: warning: ‘unpack_float’ defined but not used
src/wrapper/_pycuda_struct.c:252: warning: ‘unpack_double’ defined but not used
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/wrapper/_pycuda_struct.o 
-L/usr/lib64 -lpython2.6 -o build/lib.linux-x86_64-2.6/pycuda/_pvt_struct.so
_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to