Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 22 Aug 2020 14:04:24 +0200
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: OpenCl lib not detected

Hi,

On Fri, Aug 21, 2020 at 08:43:54PM +0000, freeroute wrote:
> OpenCL support ............................. no

Can you show the full output of ./configure?  In particular, we need
these lines:

checking CL/cl.h usability... yes
checking CL/cl.h presence... yes
checking for CL/cl.h... yes
checking OpenCL/cl.h usability... no
checking OpenCL/cl.h presence... no
checking for OpenCL/cl.h... no
[...]
checking for OpenCL library... -lOpenCL

The above example is from a build that successfully detects OpenCL - we
need to see how your output differs.

> So what parameters should I give to enable it?

I'd start by seeing the above and tweaking the system to allow for
automatic detection.

> Output of: sudo updatedb && locate CL/cl.h && locate libOpenCL.so
> [sudo] password for freeroute:
> /usr/include/CL/cl.h
> /usr/include/CL/cl.hpp
> /usr/local/cuda-11.0/targets/x86_64-linux/include/CL/cl.h

Can you show the output of:

ls -ld /usr/include/CL /usr/local/cuda-11.0/targets/x86_64-linux/include/CL
ls -ld /usr/include/CL/cl.h /usr/local/cuda-11.0/targets/x86_64-linux/include/CL/cl.h

> Note: I updated the drivers according this https://hashcat.net/forum/thread-9313-post-49247.html#pid49247, but OpenCl still not recognized by JtR. Hashcat working well.

hashcat bundles its own copy of OpenCL headers:

> /usr/local/src/hashcat/deps/OpenCL-Headers/CL/cl.h

so it doesn't depend on the system having working OpenCL headers.

BTW, we normally recommend to build and run JtR as non-root, but now
that you've already started building as root you should probably
continue with that for now (not to introduce even more uncertainty into
the troubleshooting) or start over as non-root with a fresh git clone.
This is most likely unrelated to the OpenCL problem you're having - it's
just another detail I noticed.

Alexander

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.