The CPU-core supports SSE2 since version '0.2.3'.
This error may happen with SSE2-support compiled in and is caused by SELinux not trusting Pyrit's library. You can follow SELinux's guidelines on fixing that for your specific system. Or you can disable SELinux for the time being by executing (as root):
echo 0 > /selinux/enforce
The error was fixed in version '0.2.4 [r152]'.
This error was fixed in version '0.2.3'. You either have to update to '0.2.3' or downgrade to CUDA 2.1.
Please use the GPU-drivers that come with CUDA 3.0 at http://www.nvidia.com/object/cuda_get.html
This behaviour is intended. Pyrit keeps one CPU free for scheduling work with every GPU it uses.
NVidia/ATI GPU driver requires at least one real core per GPU for efficient work. With HT enabled, the driver needs to fight for CPU cycles with CPU computing core. This leads to GPU starvation and decreased performance. The problem can be solved by reducing number of running CPU-cores: Open '.pyrit/config' and set 'limit_ncpus' to the number of physical CPU-cores.
Pyrit suppresses most errors that occur while loading the GPU-extensions as they are usually caused by simply not having compatible hardware installed. Open a terminal and try loading the offending module directly to get more information.
For CPyrit-OpenCL:
python -c 'from cpyrit import _cpyrit_opencl'
For CPyrit-CUDA:
python -c 'from cpyrit import _cpyrit_cuda'
There is no output at all if the module was loaded successfully. Some of the errors you might get include:
ImportError: cannot import name _cpyrit_cuda / ImportError: cannot import name _cpyrit_opencl
The CPyrit-OpenCL or CPyrit-CUDA modules are simply not installed or can't be found in the current Python-environment. Try (re-) installing the extension modules and make sure you don't mix the Python-interpreters you use (this can happen on MacOS which tends to have multiple versions of Python installed).
ImportError: libcuda.so.1: cannot open shared object file: No such file or directory
The CPyrit-CUDA modules requires Nvidia's proprietary driver to be installed. Depending on your distribution you may also need to symlink e.g. '/usr/lib/nvidia/libcuda.so.1' to '/usr/lib/libcuda.so.1' or add '/usr/lib/nvidia' to your ldconfig.
NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory).
Ensure that the 'nvidia' module has been successfully loaded. Taking a look at the kernel ringbuffer may give more help:
modprobe nvidia dmesg | tail
ImportError: CUDA seems to be unavailable or no device reported.
The CUDA-driver has loaded but failed to initialize or reports that none of your GPUs is compatible. Take a look at this page to find out if your GPU is supported. You may need to update your drivers.
O rly ?
Pyrit ignores passwords that have less than 8 or more than 63 characters as those can't be used for WPA anyway.
Pyrit uses zlib-compression to store the passwords.
Create a ticket in the Issue-Tracker or write an e-mail to lukas.lueg@gmail.com
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: ThomasHe...@gmail.com
How to limit number of running CPU-Cores ? for solving HyperThreading? problems ?
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: lukas.l...@gmail.com
use limit_ncpus in .pyrit/config
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: t3hd...@gmail.com
I would like to let people know that you may not have the cpyrit_calpp and cpyrit_opencl modules installed at the same time. This may result in the following error:
terminate called after throwing an instance of 'cal::Error'
Aborted
It has been stated somewhere here that the performance of CALpp is superb to the OpenCL implementation by a magnitude of 30% to 40% on 5000-series cards and around 10% to 4000-series cards. I found an improvement of about 50% on my ATI Radeon 5550. This may be because I'm using the latest Linux ATI drivers (11.1). For this reason, I would suggest using the CAL++ module over the OpenCL module.
I'd also like to mention that if you know you have an ATI OpenCL-supported card and you're using Linux, you must have Xorg (the window manager) running for it to be detected by such ATI Stream SDK utilities as FindNumDevices? and also by Pyrit. This has to do with how OpenCL communicates with the GPU. To do this on a headless Linux box, I suggest looking at this PDF from AMD/ATI:
http://developer.amd.com/gpu_assets/App_Note-Running_ATI_Stream_Apps_Remotely.pdf
I hope this info helps someone! It took me a while to figure this all out.
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: haykey...@gmail.com
How can we donate to this project to help improve the software? I would like to donate!
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: lukas.l...@gmail.com
There is a flattr-link on the main page
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: syro...@googlemail.com
how can i say pyrit to use only one gpu core?
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: Peter.Fi...@gmail.com
Occasionally, I get the following (on any pyrit command), any idea on why? Backtrack 4 R2, nVidia 295GTX, driver 270.xx
root@bt:~# pyrit list_cores Pyrit 0.3.1-dev (svn r280) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+
Traceback (most recent call last):
_SystemError?: CUDA_ERROR_UNKNOWN _
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: Jamaal.Speights@gmail.com
On Ubuntu using the ATI AMD-APP-SDK-v2.5 . The OpenCL lib will install in
/opt/AMDAPP/lib/x86/libOpenCL.so /opt/AMDAPP/lib/x86/libOpenCL.so.1 /opt/AMDAPP/lib/x86_64/libOpenCL.so /opt/AMDAPP/lib/x86_64/libOpenCL.so.1
if you try and build cpyrit-opencl root@shoryuken:~/cpyrit-opencl-0.3.0# python setup.py build running build running build_ext Building modules... building 'cpyrit._cpyrit_opencl' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include -I/usr/include/python2.7 -c _cpyrit_opencl.c -o build/temp.linux-x86_64-2.7/_cpyrit_opencl.o -DVERSION="0.3.0" gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.7/_cpyrit_opencl.o -lssl -lOpenCL -lz -o build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_opencl.so _
You will get an error ld: cannot find -LOpenCL
To fix this, create a sym link from /opt/AMDAPP/lib/x86_64/libOpenCL.so to /usr/lib64/libOpenCL.so like below
root@shoryuken:~/cpyrit-opencl-0.3.0# ln -s /opt/AMDAPP/lib/x86_64/libOpenCL.so /usr/lib64/libOpenCL.so root@shoryuken:~/cpyrit-opencl-0.3.0# ln -s /opt/AMDAPP/lib/x86_64/libOpenCL.so.1 /usr/lib64/libOpenCL.so.1
Now build will be happy __
\root@shoryuken:~/cpyrit-opencl-0.3.0# python setup.py build running build running build_ext Building modules... building 'cpyrit._cpyrit_opencl' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include -I/usr/include/python2.7 -c _cpyrit_opencl.c -o build/temp.linux-x86_64-2.7/_cpyrit_opencl.o -DVERSION="0.3.0" gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.7/_cpyrit_opencl.o -lssl -lOpenCL -lz -o build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_opencl.so root@shoryuken:~/cpyrit-opencl-0.3.0# _
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: stur...@gmail.com
Pyrit has quite bad GPU utilization on my 5970. I only get ~42000 PMK/s, and aticonfig reports GPU utilization around 40% (varying and shifting between GPUs). Performance is worse when running in batch mode against the database. Any ideas on how to utilize the card better? I suspect the bottleneck is I/O related. Other OpenCL programs are able to drive both GPUs to 99%.
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: hexadeci...@gmail.com
does anyone have a Dell M90 laptop with nvidia 2500m working with pyrit/cuda? pyrit does not see my video card. Officially the 2500m is not on the list, however to my knowledge it is very similar to the 2700m, just "dell-ified".
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: JeremySa...@gmail.com
Addendum to this section:
ImportError?: cannot import name _cpyrit_cuda / ImportError?: cannot import name _cpyrit_opencl
If you think the cpyrit folder is correctly installed by the cypyrit-cuda or cpyrit-opencl sources, but it is still not being detected, check to make sure that the init.py file is installed. This file is installed by the pyrit installer, not the cpyrit ones, so if this part of your pyrit installation messed up, you could have a normal working pyrit install, and it would fail to load the cyprit module, even though you are installing the cpyrit module correctly. To correct this, properly reinstall the main pyrit code.
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: ivove...@gmail.com
I tried installing Cuda Toolkit fro Ubuntu Linux 10.04 32-bit as part of my Pyrit install(as found on this blog: http://j2neon.blogspot.com) and it failed almost at the endjsut before finishing after entering:
B?root@bt: ~/pyrit_svn/cpyrit_cuda# python setup.py build[/B]
I got the following error at the bottom:
/usr/bin/ld: cannot find -lcuda collect2: ld returned l exit status error: command 'gcc' failed with exit status 1
Since I'm a complete newb and I've never used Linux before I'm stuck and have no idea how to fix this although feel like it's something quite simple. Would appreciate any help or advice.
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: max.yash...@gmail.com
For the comment above about the "/usr/bin/ld: cannot find -lcuda" error - here is the solution:
http://forums.nvidia.com/index.php?showtopic=213288
P.S. Had the same error either - spent a whole damn day finding this out.
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: Tango6...@gmail.com
First of all what is the port for using Pyrit? 17935 or 19935. I have seen both. Main question is concerning the lack of functionality of the client server feature that was apparently removed. I need to be able to allow all of my computers to work on the workunits from one computer. I have seen a very wide variety of explanations of how to properly set it up. Bottom line is that it doesn't work. What can I do to get it to work? Other than this feature, it is an amazing program!
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: anf...@gmail.com
From Tokyo. I am a Mac user in Japan. I installed thr Pyrit in My MacBookPro? 15.4 corei7 quad 2.2GHz.
bash-3.2$ pyrit list_cores Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+
The following cores seem available... #1: 'OpenCL-Device 'ATI Radeon HD 6750M'' #2: 'CPU-Core (SSE2)' #3: 'CPU-Core (SSE2)' #4: 'CPU-Core (SSE2)' #5: 'CPU-Core (SSE2)' #6: 'CPU-Core (SSE2)' #7: 'CPU-Core (SSE2)' #8: 'CPU-Core (SSE2)' bash-3.2$ pyrit benchmark Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+
Running benchmark (9255.1 PMKs/s)... -
Computed 9255.06 PMKs/s total. #1: 'OpenCL-Device 'ATI Radeon HD 6750M'': 8073.3 PMKs/s (RTT 3.0) #2: 'CPU-Core (SSE2)': 340.2 PMKs/s (RTT 3.3) #3: 'CPU-Core (SSE2)': 340.7 PMKs/s (RTT 3.3) #4: 'CPU-Core (SSE2)': 340.5 PMKs/s (RTT 3.3) #5: 'CPU-Core (SSE2)': 340.6 PMKs/s (RTT 3.2) #6: 'CPU-Core (SSE2)': 338.9 PMKs/s (RTT 3.3) #7: 'CPU-Core (SSE2)': 348.2 PMKs/s (RTT 3.3) #8: 'CPU-Core (SSE2)': 341.5 PMKs/s (RTT 3.3)
The Pyrit uses a single core only. But in Linux, The Pyrit uses many cores. If it carries out, how does it come to use two or more cores on MacBookPro? 10.8?
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: vidovic....@gmail.com
I also have problem "/usr/bin/ld: cannot find -lcuda" Link http://forums.nvidia.com/index.php?showtopic=213288 is no more avalible what is solution ? I culd not find anything on google tnx
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: Jos...@azconceptphoto.com
Even after building and rebuilding installing and reinstalling cpyrit, the import cpyrit via python fails.
sudo ./setup.py install svn: '.' is not a working copy running install running build running build_ext Building modules... running install_lib running install_egg_info Removing /usr/local/lib/python2.7/dist-packages/cpyrit_opencl-0.4.0.egg-info Writing /usr/local/lib/python2.7/dist-packages/cpyrit_opencl-0.4.0.egg-info
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: phillip....@gmail.com
I'm seeing a curious drop-off in performance when running pyrit benchmark on an AWS GPU cluster after the 3rd node. Each node is a g2.2xlarge instance, which are described as "G2 Instances are backed by 1 x NVIDIA GRID GPU (Kepler GK104) and 8 x hardware hyperthreads from an Intel Xeon E5-2670"
Here are my benchmark numbers...any idea why this is happening or how to correct?
with limit_ncpus = 0 1 node = 22,848.78 PMKs/s 2 nodes= 41,042.71 PMKs/s 3 nodes= 62,087.50 PMKs/s 4 nodes= 62,035.02 PMKs/s 5 nodes= 36,827.1 PMKs/s
with limit_ncpus = 8 1 node = 22,725.95 2 nodes= 41,088.34 3 nodes= 63,464.67 4 nodes= 63,593.88 5 nodes= 32,851.5
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: tylerspr...@gmail.com
tyler@kubuntu32:~/Downloads/pyrit-0.3.0$ sudo python setup.py build running build running build_py running build_ext running build_scripts tyler@kubuntu32:~/Downloads/pyrit-0.3.0$ sudo python setup.py install running install running build running build_py running build_ext running build_scripts running install_lib writing byte-compilation script '/tmp/tmpmv2Ujf.py' /usr/bin/python -O /tmp/tmpmv2Ujf.py removing /tmp/tmpmv2Ujf.py running install_scripts changing mode of /usr/local/bin/pyrit to 775 running install_egg_info Removing /usr/local/lib/python2.7/dist-packages/pyrit-0.3.0.egg-info Writing /usr/local/lib/python2.7/dist-packages/pyrit-0.3.0.egg-info tyler@kubuntu32:~/Downloads/pyrit-0.3.0$ cd .. tyler@kubuntu32:~/Downloads$ pyrit Traceback (most recent call last):
_ImportError?: /usr/local/lib/python2.7/dist-packages/cpyrit/_cpyrit_cpu.so: undefined symbol: EVP_md5
help! kubuntu 14.03 lts 32 bit
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: hever_50...@hotmail.com
a query, I installed everything correctly, when running list_cores: shows me this. all right, let me know as I do that "'CUDA-Device # 1' GeForce? 410 '' 'show me the other 3 cores?
1: 'CUDA-Device #1 'GeForce? 410''
2: 'CPU-Core (SSE2)'
3: 'CPU-Core (SSE2)'
4: 'CPU-Core (SSE2)'
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: elias.r...@gmail.com
Hi, i have a GeForce? core, but i did installed it as a OpenCL instead of CUDA.. the speed is very slow and i'm wondering if it's possible to switch (or install it again) as a CUDA device?
Thanks for your help !