To follow up on install failure detailed below, went ahead and removed
python-setuptools while installing distribute-0.6.4.  The ongoing
unresolved issue is that to re-install numpy, scipy, rpy prior to
PyCuda requires the setuptools dependency which messes up the install
as previously mentioned.  Would appreciate any further insights, V.


---------- Forwarded message ----------
From: Vince Fulco <vful...@gmail.com>
Date: Wed, Aug 18, 2010 at 6:30 PM
Subject: Fwd: [PyCUDA] installing/upgrading issue with siteconf.py,
setup.py and 0.94rc
To: pycuda@tiker.net


Following up on install issues of two weeks ago.  Sorry for the delay
as on the road.  I can send the make install output next if necessary.
 It would appear make & make install completes without error except
for the same 'dist.py' warning (found below) and the make tests raise
a multitude of errors.  I think I may have the setup tools vs.
distribute problem mentioned previously although only running python
2.6.2 and python-setuptools 0.6c9 on FC12.  However, if I attempt a
'yum remove python-setuptools', it will remove numpy and rpy I use
elsewhere.  Will I need to re-install separately?  Would prefer to
hear others experiences before removing working packages.

Best, V.

##
'rm -Rf build' (done)

make output:

[r...@skynet-linux1 pycuda]# make
ctags -R src || true
/usr/bin/python setup.py build
Scanning installed packages
Setuptools installation detected at /home/vfulco/Downloads/pycuda
Non-egg installation
Removing elements out of the way...
Already patched.
/home/vfulco/Downloads/pycuda/setuptools-0.6c9-py2.6.egg-info already patched.
Extracting in /tmp/tmpL4muIo
Now working in /tmp/tmpL4muIo/distribute-0.6.4
Building a Distribute egg in /home/vfulco/Downloads/pycuda
/home/vfulco/Downloads/pycuda/setuptools-0.6c9-py2.6.egg-info already exists
/usr/include/ /boost/  python .hpp
/usr/lib64 / lib boost_python-mt .so
/usr/lib64 / lib boost_thread-mt .so
/usr/local/cuda/ /bin/  nvcc
/usr/local/cuda/include /  cuda .h
/usr/lib64 / lib cuda .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/autoinit.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/curandom.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/gpuarray.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/reduction.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/driver.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/compiler.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/__init__.py -> build/lib.linux-x86_64-2.6/pycuda
copying pycuda/elementwise.py -> build/lib.linux-x86_64-2.6/pycuda
creating build/lib.linux-x86_64-2.6/pycuda/gl
copying pycuda/gl/autoinit.py -> build/lib.linux-x86_64-2.6/pycuda/gl
copying pycuda/gl/__init__.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 -fwrapv -O3 -DNDEBUG -fPIC
-DHAVE_GL=1 -Isrc/cpp -I/usr/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 -fwrapv -O3 -DNDEBUG -fPIC
-DHAVE_GL=1 -Isrc/cpp -I/usr/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 -fwrapv -O3 -DNDEBUG -fPIC
-DHAVE_GL=1 -Isrc/cpp -I/usr/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:443: warning: deprecated conversion from
string constant to ‘char*’
src/wrapper/wrap_cudadrv.cpp:447: warning: deprecated conversion from
string constant to ‘char*’
src/wrapper/wrap_cudadrv.cpp:448: warning: deprecated conversion from
string constant to ‘char*’
src/wrapper/wrap_cudadrv.cpp:449: warning: deprecated conversion from
string constant to ‘char*’
src/wrapper/wrap_cudadrv.cpp:450: 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 -fwrapv -O3 -DNDEBUG -fPIC
-DHAVE_GL=1 -Isrc/cpp -I/usr/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 -fwrapv -O3 -DNDEBUG -fPIC
-DHAVE_GL=1 -Isrc/cpp -I/usr/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/lib64
-L/usr/lib64 -L/usr/lib64 -lboost_python-mt -lboost_thread-mt -lcuda
-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 -fwrapv -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
[r...@skynet-linux1 pycuda]#



-- 
Vince Fulco, CFA, CAIA
612.424.5477 (universal)
vful...@gmail.com

 A posse ad esse non valet consequentia

“the possibility does not necessarily lead to materialization”

Attachment: pgpXGn4idwofX.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to