santolp / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

nvcc warning : option 'host-compilation' has been deprecated and is ignored #394

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Fresh installed BT 5 R2
2. NVIDIA Linux Display Drivers 295.40
3. NVIDIA CUDA Toolkit 4.1

What is the expected output? What do you see instead?
root@bt:~/pyrit/cpyrit_cuda# python setup.py build
running build
running build_ext
Compiling CUDA module using nvcc 4.1, V0.2.1221...
Executing '/opt/cuda/bin/nvcc -m32 --host-compilation C -Xcompiler "-fPIC" 
--ptx ./_cpyrit_cudakernel.cu'
nvcc warning : option 'host-compilation' has been deprecated and is ignored
Building modules...
building 'cpyrit._cpyrit_cuda' extension
creating build
creating build/temp.linux-i686-2.6
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/opt/cuda/include -I/usr/include/python2.6 -c 
_cpyrit_cuda.c -o build/temp.linux-i686-2.6/_cpyrit_cuda.o -Wall 
-fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
creating build/lib.linux-i686-2.6
creating build/lib.linux-i686-2.6/cpyrit
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
build/temp.linux-i686-2.6/_cpyrit_cuda.o -lcrypto -lcuda -lz -o 
build/lib.linux-i686-2.6/cpyrit/_cpyrit_cuda.so

What version of the product are you using? On what operating system?
I have two NVIDIA GeForce GTX 285 and I am using the newest Linux Display 
Driver with the CUDA Toolkit 4.1

Please provide any additional information below.
The nvidia installation went fine without any errors. Also the basic pyrit 
installation (upgrade to 4.0.1) went fine.
Pyrit simply won't detect my gpus. I tried the same thing before on Ubuntu 
11.10 and had the exact same problem. Now I installed BT 5 and it won't work 
either.

Original issue reported on code.google.com by mcposs...@gmail.com on 11 Apr 2012 at 9:27