Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 21 Sep 2011 16:06:43 +0000
From: "Relkin, Paul" <pwrelkin@...l.roanoke.edu>
To: "john-users@...ts.openwall.com" <john-users@...ts.openwall.com>
Subject: RE: Re: OpenCL patch for John

put these lines in your .bashrc:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH":/path/to/ati-stream-sdk-v2.2-lnx32/lib/x86/"
export LIBRARY_PATH=$LIBRARY_PATH":/path/to/ati-stream-sdk-v2.2-lnx32/lib/x86/"
export C_INCLUDE_PATH=$C_INCLUDE_PATH":/path/to/ati-stream-sdk-v2.2-lnx32/include/"

________________________________________
From: Lukas Odzioba [lukas.odzioba@...il.com]
Sent: Wednesday, September 21, 2011 11:40 AM
To: john-users@...ts.openwall.com
Subject: Re: [john-users] Re: OpenCL patch for John

2011/9/21 Juri <juma993@...il.com>:
> Lukas Odzioba <lukas.odzioba@...> writes:
>
>>
>> Hi all,
>> I'd like to announce OpenCL patch for John. It contains phpass,
>> cryptmd5 and cryptsha256 formats. Performance is poor, but will be
>> increased especially on amd devices in the next revisions and mscash2,
>> cryptsha512 will be added.
>>
>> Patch can be downloaded directly from:
>> http://openwall.info/wiki/_media/john/john-1.7.8/john-1.7.8-allopencl-01.diff>
>> Lukas
>>
>>
>
> Hi
> I downloaded and applied your patch to the last stable version of John (1.7.8) I
> download from the site, but it fails to compile, with this error:
>
> phpassopencl_fmt.c:6:19: fatal error: CL/cl.h: File o directory non esistente
> [No such file or directory]
> compilation terminated.
>
> I tried to compile with the command "make clean linux-x86-64-opencl" on an
> Ubuntu 11.04 machine with gcc version 4.5.2.
>
> What could be the problem?
>
>
Hi!
I must say first to all:
On nvidia cards all formats works it this patch, however on amd cards
only phpass works fine (i'm working on that).

It looks like gcc cannot find cl.h.
1) check if opencl is installed properly on your machine
2) check your ATI_STREAM_DIR (or something simillar I do not remember
right now, and cannot check it) in the Makefile is setted to opencl
directory.

I'm having some hardware problems now. If everything goes well next
version of patch will be available, and I will announce that here.

Lukas

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ