Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <y04DClUi8mmWbUwbmLxb9BYSKYvHezzkoVWbqfYNtlfVnU7tOMmaeQtYzSmtrpmkKe4yArGoVnRPeGPk1ONj-SZq7JNaLtZ0Ip185o2-NxY=@protonmail.ch>
Date: Sat, 22 Aug 2020 12:58:11 +0000
From: freeroute <freeroute@...tonmail.ch>
To: "john-users@...ts.openwall.com" <john-users@...ts.openwall.com>
Subject: Re: OpenCl lib not detected

I always use install method written in /john/doc/INSTALL-UBUNTU.
Yesterday I removed the /john dir and used git clone method for a clean install.
When tried to configure it, I noticed that OpenCL not supported.
I checked the necessary packages as written in INSTALL-UBUNTU, also. Everything were installed.

Now jtR compiled, but I had use these parameters:
"./configure LDFLAGS=-L/usr/local/cuda-11.0/targets/x86_64-linux/lib CFLAGS=-I/usr/local/cuda-11.0/targets/x86_64-linux/include
    make -sj4"

without it, OpenCL not supported.

Note: It was a working system before I removed the /john dir and tried to install it again. There was no problem with JtR.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, August 22, 2020 2:29 PM, Matus UHLAR - fantomas <uhlar@...tomas.sk> wrote:

> On 21.08.20 20:43, freeroute wrote:
> 

> > I had a fully working system with GPU support.
> > Today I did a full reinstall from the github repository and I noticed there is no GPU support.
> 

> > OpenCL support ............................. no
> 

> > Install missing libraries to get any needed features that were omitted.
> > Configure finished.  Now "make -s clean && make -sj4" to compile.
> > I read the /john/doc/INSTALL-OPENCL file.
> > It says: "The new autoconf (./configure) should find your OpenCL installation and
> > enable it.  If it doesn't, you may need to pass some parameters about where
> > it's located..."
> > So what parameters should I give to enable it?
> > 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
> > /usr/local/cuda-11.0/targets/x86_64-linux/include/CL/cl.hpp
> > /usr/local/src/hashcat/deps/OpenCL-Headers/CL/cl.h
> > /etc/alternatives/opencl-libOpenCL.so
> > /etc/alternatives/opencl-libOpenCL.so.1
> > /etc/alternatives/opencl-libOpenCL.so.2.0
> > /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
> > /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
> > /usr/local/cuda-11.0/targets/x86_64-linux/lib/libOpenCL.so
> > /usr/local/cuda-11.0/targets/x86_64-linux/lib/libOpenCL.so.1
> > /usr/local/cuda-11.0/targets/x86_64-linux/lib/libOpenCL.so.1.0
> > /usr/local/cuda-11.0/targets/x86_64-linux/lib/libOpenCL.so.1.0.0
> > /usr/share/man/man7/libOpenCL.so.7.gz
> > /var/lib/dpkg/alternatives/opencl-libOpenCL.so
> > /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/19.08/6c6ea4e13681b61c07658c0f890beab7b27ef4dfa5567f2d2b7286d6e47a246c/files/lib/x86_64-linux-gnu/libOpenCL.so.1
> > /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/19.08/6c6ea4e13681b61c07658c0f890beab7b27ef4dfa5567f2d2b7286d6e47a246c/files/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
> > 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.
> > Output of: uname -a
> > Linux hashcat.sytes.net 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> 

> ubuntu 18.
> try apt-get install opencl-dev
> 

> I have installed:
> ocl-icd-opencl-dev opencl-c-headers nvidia-opencl-dev nvidia-opencl-icd clinfoclinfo
> 

> 

> -----------------------------------------------------------------------------------------------------------------------------------------------------
> 

> Matus UHLAR - fantomas, uhlar@...tomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Linux - It's now safe to turn on your computer.
> Linux - Teraz mozete pocitac bez obav zapnut.


Download attachment "publickey - freeroute@...tonmail.ch - 0xDA223267.asc" of type "application/pgp-keys" (1794 bytes)

Download attachment "signature.asc" of type "application/pgp-signature" (510 bytes)

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.