AdamKnube / pyrit

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

Problem while installing CUDA #169

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.python setup.py build

output:

svn: '.' is not a working copy
running build
running build_ext
Compiling CUDA module using nvcc 3.1, V0.2.1221...
ptxas info    : Compiling entry function 'cuda_pmk_kernel' for 'sm_10'
ptxas info    : Used 42 registers, 8+16 bytes smem, 12 bytes cmem[1]
Building modules...
building 'cpyrit._cpyrit_cuda' extension
creating build
creating build/temp.macosx-10.6-universal-2.6
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall 
-Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe 
-I/usr/local/cuda/include 
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
_cpyrit_cuda.c -o build/temp.macosx-10.6-universal-2.6/_cpyrit_cuda.o 
-DVERSION="0.3.0"
creating build/lib.macosx-10.6-universal-2.6
creating build/lib.macosx-10.6-universal-2.6/cpyrit
gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc -arch 
x86_64 build/temp.macosx-10.6-universal-2.6/_cpyrit_cuda.o -lssl -lcuda -lz -o 
build/lib.macosx-10.6-universal-2.6/cpyrit/_cpyrit_cuda.so
ld: library not found for -lcuda
collect2: ld returned 1 exit status
ld: library not found for -lcuda
collect2: ld returned 1 exit status
ld: library not found for -lcuda
collect2: ld returned 1 exit status
lipo: can't open input file: 
/var/folders/nI/nI8bpAQPFdW3O9lZvPtwRk+++TI/-Tmp-//ccpNwAwv.out (No such file 
or directory)
error: command 'gcc-4.2' failed with exit status 1

What version of the product are you using? On what operating system?
mac osx snow leopard 10.6.4
pyrit 0.3.0
cuda 0.3.0
(intel & nvidia hardware)

dont know how to fix the issue?!

Original issue reported on code.google.com by wolfgang...@gmail.com on 5 Jul 2010 at 11:10

GoogleCodeExporter commented 9 years ago
you need to symlink libcuda.dylib 

Please search the numerous, already-solved issues here or on the mailing-list

Original comment by lukas.l...@gmail.com on 5 Jul 2010 at 4:33

GoogleCodeExporter commented 9 years ago
Issue 178 has been merged into this issue.

Original comment by lukas.l...@gmail.com on 31 Aug 2010 at 7:00