Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 22 Sep 2013 20:21:59 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: problem with john-cuda and osx

I'm not sure why you can't run that, perhaps it needs more shared memory than you've got. You can try halving THREADS in cuda_wpapsk.h and rebuild.

However, you should be able to build macosx-x86-64-opencl or macosx-x86-64-gpu (which is both CUDA and OpenCL) instead. Then use wpapsk-opencl. This format is supposedly faster anyway (it does more of the work on GPU), and it auto-tunes to your device.

magnum


On 22 sep 2013, at 13:43, luka <mrfsrf@...il.com> wrote:

> hi all,
> I'm getting "out of memory" error while running 
> $./john --format=wpapsk-cuda --test
> 
> Benchmarking: WPA-PSK PBKDF2-HMAC-SHA-1 [CUDA]... out of memory in wpapsk.cu at line 232
> 
> 
> my setup is
> 
> 
> John the Ripper password cracker, ver: 1.7.9-jumbo-7 [macosx-x86-64-cuda]
> 
> $which nvcc
> /Developer/NVIDIA/CUDA-5.5/bin/nvcc
> 
> also, symoblic links are present in /usr/local/cuda/ that point to above
> 
> lrwxr-xr-x   1 root  wheel    35B Sep 20 17:26 EULA.txt -> /Developer/NVIDIA/CUDA-5.5/EULA.txt
> lrwxr-xr-x   1 root  wheel    30B Sep 20 17:26 bin -> /Developer/NVIDIA/CUDA-5.5/bin
> lrwxr-xr-x   1 root  wheel    30B Sep 20 17:26 doc -> /Developer/NVIDIA/CUDA-5.5/doc
> lrwxr-xr-x   1 root  wheel    33B Sep 20 17:26 extras -> /Developer/NVIDIA/CUDA-5.5/extras
> lrwxr-xr-x   1 root  wheel    34B Sep 20 17:26 include -> /Developer/NVIDIA/CUDA-5.5/include
> drwxr-xr-x  28 root  wheel   952B Sep 22 12:53 lib
> lrwxr-xr-x   1 root  wheel    36B Sep 20 17:26 libnsight -> /Developer/NVIDIA/CUDA-5.5/libnsight
> lrwxr-xr-x   1 root  wheel    34B Sep 20 17:26 libnvvp -> /Developer/NVIDIA/CUDA-5.5/libnvvp
> lrwxr-xr-x   1 root  wheel    31B Sep 20 17:26 nvvm -> /Developer/NVIDIA/CUDA-5.5/nvvm
> lrwxr-xr-x   1 root  wheel    33B Sep 20 17:26 open64 -> /Developer/NVIDIA/CUDA-5.5/open64
> lrwxr-xr-x   1 root  wheel    34B Sep 20 17:26 samples -> /Developer/NVIDIA/CUDA-5.5/samples
> lrwxr-xr-x   1 root  wheel    30B Sep 20 17:26 src -> /Developer/NVIDIA/CUDA-5.5/src
> lrwxr-xr-x   1 root  wheel    32B Sep 20 17:26 tools -> /Developer/NVIDIA/CUDA-5.5/tools
> 
> 
> 
> $./john --list=cuda-devices
> 
> 1 CUDA devices found:
> 
> CUDA Device #0
> 	Name:                          GeForce 8800 GT
> 	Compute capability:            sm_11
> 	Number of multiprocessors:     14
> 	Clock rate:                    1464 Mhz
> 	Total global memory:           702.7 MB
> 	Total shared memory per block: 16.0 kB
> 	Total constant memory:         64.0 kB
> 	Kernel execution timeout:      Yes
> 	Concurrent copy and execution: Yes
> 	Concurrent kernels support:    No
> 	Warp size:                     32
> 
> hope somebody can help
> thx in advance


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.