Comments (10)
setup.py does not make any assumptions about where it should find
libcuda.dylib. You
may symlink /usr/local/cuda/lib/libcuda.dylib to /usr/lib/libcuda.dylib like
this:
ln -s /usr/local/cuda/lib/libcuda.dylib /usr/lib/libcuda.dylib
Original comment by [email protected]
on 25 Aug 2009 at 6:55
- Changed state: WontFix
from pyrit.
Thanks, that did it
Original comment by [email protected]
on 25 Aug 2009 at 2:37
from pyrit.
Running into a new problem, when I try to build the cpyrit module I get this:
running build
running build_ext
Compiling CUDA module using nvcc 2.3, V0.2.1221...
ptxas info : Compiling entry function 'cuda_pmk_kernel'
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.5-i386-2.5
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common
-dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi
-DENABLE_DTRACE -arch i386 -arch ppc -pipe -I/usr/local/cuda/include
-I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
_cpyrit_cuda.c -o build/temp.macosx-10.5-i386-2.5/_cpyrit_cuda.o
-DVERSION="0.2.5-dev
(svn r169)"
creating build/lib.macosx-10.5-i386-2.5
creating build/lib.macosx-10.5-i386-2.5/cpyrit
gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc
build/temp.macosx-10.5-i386-2.5/_cpyrit_cuda.o -lssl -lcuda -lz -o
build/lib.macosx-10.5-i386-2.5/cpyrit/_cpyrit_cuda.so
ld warning: in /usr/lib/libcuda.dylib, missing required architecture ppc in file
Original comment by [email protected]
on 25 Aug 2009 at 2:49
from pyrit.
The warning can be ignored
Original comment by [email protected]
on 25 Aug 2009 at 2:54
from pyrit.
I tried that and installed the module, then ran pyrit list_cores and it only
listed
my CPU cores, no GPU cores
Original comment by [email protected]
on 25 Aug 2009 at 3:23
from pyrit.
Also after installing the module I tried this from the Troubleshooting guide:
Traes-MacBook:cpyrit_cuda trobrock$ python -c 'from _cpyrit import _cpyrit_cuda'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name _cpyrit_cuda
Original comment by [email protected]
on 25 Aug 2009 at 3:26
from pyrit.
_cpyrit_cuda is part of the package 'cpyrit' so it should read
python -c 'from cpyrit import _cpyrit_cuda'
Original comment by [email protected]
on 25 Aug 2009 at 3:48
from pyrit.
Now getting this:
Traes-MacBook:~ trobrock$ python -c 'from cpyrit import _cpyrit_cuda'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: CUDA seems to be unavailable or no device reported.
Guess this would be an issue with my CUDA install on my MacBook correct?
Original comment by [email protected]
on 25 Aug 2009 at 6:29
from pyrit.
yes it is. Try compiling & running the examples from the SDK
Original comment by [email protected]
on 25 Aug 2009 at 7:09
from pyrit.
Instead of the symlink for libcuda.dylib, you can also pass a search path to
the build script:
stewreo$ LDFLAGS=-L/usr/local/cuda/lib python setup.py build
Original comment by [email protected]
on 17 Dec 2009 at 12:49
from pyrit.
Related Issues (20)
- WIFITE WSL2 HOT 4
- uilding 'cpyrit._cpyrit_cpu' extension HOT 1
- Error when using python2 setup.py install and build HOT 8
- sudo python setup.py build HOT 1
- issue compling pyrit cuda
- sudo python setup.py clean HOT 3
- Can't parse a file HOT 2
- cpyrit_opencl
- fatal error: 'openssl/hmac.h' file not found HOT 5
- OpenCL & Intel® UHD Graphics 600
- 3 Dead Links in Wiki
- clang issue fatal error: 'new' file not found
- python setup.py build HOT 3
- Is there still consideration to rewrite in Python3? HOT 3
- forgotten () in a print call HOT 3
- python2 setup.py build error HOT 3
- Traceback (most recent call last) HOT 1
- Pip install . HOT 1
- SHA1 has been deprecated
- Why is Lukas Lueg no longer involved in this project? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrit.