Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACxgy5wuY6+vS062xSRTBcQL+W70bGu8MA0x8JismGnxBuSNAw@mail.gmail.com>
Date: Tue, 6 Nov 2018 01:35:06 -0500
From: Powen Cheng <madtomic@...il.com>
To: john-users@...ts.openwall.com
Subject: OpenCL CL_INVALID_DEVICE (-33) error in opencl_common.c:452

Hello, I'm having problem running john using multiple GPU devices on the
same system. I have no idea what this error meant.

OpenCL CL_INVALID_DEVICE (-33) error in opencl_common.c:452 - Error
querying PLATFORM_NAME

As you can see below, I have 2 GPUs on this system. so --devices=0,1
--fork=2 is correct, I am assume.


tezos@...os-Desktop:~/JohnTheRipper/run$ ./john --devices=0,1 --fork=2
--format=tezos-opencl --session=tezos tezos
Using default input encoding: UTF-8
Loaded 1 password hash (tezos-opencl, Tezos Key [PBKDF2-SHA512 OpenCL])
Cost 1 (iteration count) is 2048 for all loaded hashes
Will run 4 OpenMP threads per process (8 total across 2 processes)
Node numbers 1-2 of 2 (fork)
OpenCL CL_INVALID_DEVICE (-33) error in opencl_common.c:452 - Error
querying PLATFORM_NAME
Device 0@...os-Desktop: GeForce GTX 1070 Ti
Press 'q' or Ctrl-C to abort, almost any other key for status


tezos@...os-Desktop:~/JohnTheRipper/run$ ./john --list=opencl-devices
Platform #0 name: NVIDIA CUDA, version: OpenCL 1.2 CUDA 10.0.185
    Device #0 (0) name:     GeForce GTX 1070 Ti
    Device vendor:          NVIDIA Corporation
    Device type:            GPU (LE)
    Device version:         OpenCL 1.2 CUDA
    Driver version:         410.73 [recommended]
    Native vector widths:   char 1, short 1, int 1, long 1
    Preferred vector width: char 1, short 1, int 1, long 1
    Global Memory:          7.9 GB
    Global Memory Cache:    304 KB
    Local Memory:           48 KB (Local)
    Constant Buffer size:   64 KB
    Max memory alloc. size: 2 GB
    Max clock (MHz):        1683
    Profiling timer res.:   1000 ns
    Max Work Group Size:    1024
    Parallel compute cores: 19
    CUDA cores:             2432  (19 x 128)
    Speed index:            4093056
    Warp size:              32
    Max. GPRs/work-group:   65536
    Compute capability:     6.1 (sm_61)
    Kernel exec. timeout:   yes
    NVML id:                0
    PCI device topology:    01:00.0
    PCI lanes:              16/16
    Fan speed:              0%
    Temperature:            53°C
    Utilization:            4%

    Device #1 (1) name:     GeForce GTX 1070 Ti
    Device vendor:          NVIDIA Corporation
    Device type:            GPU (LE)
    Device version:         OpenCL 1.2 CUDA
    Driver version:         410.73 [recommended]
    Native vector widths:   char 1, short 1, int 1, long 1
    Preferred vector width: char 1, short 1, int 1, long 1
    Global Memory:          8 GB
    Global Memory Cache:    304 KB
    Local Memory:           48 KB (Local)
    Constant Buffer size:   64 KB
    Max memory alloc. size: 2 GB
    Max clock (MHz):        1683
    Profiling timer res.:   1000 ns
    Max Work Group Size:    1024
    Parallel compute cores: 19
    CUDA cores:             2432  (19 x 128)
    Speed index:            4093056
    Warp size:              32
    Max. GPRs/work-group:   65536
    Compute capability:     6.1 (sm_61)
    Kernel exec. timeout:   no
    NVML id:                1
    PCI device topology:    05:00.0
    PCI lanes:              4/16
    Fan speed:              16%
    Temperature:            58°C
    Utilization:            9%

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.