Discussion:
[john-users] OpenCL CL_INVALID_DEVICE (-33) error in opencl_common.c:452
Powen Cheng
2018-11-06 06:35:06 UTC
Permalink
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-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 ***@tezos-Desktop: GeForce GTX 1070 Ti
Press 'q' or Ctrl-C to abort, almost any other key for status


***@tezos-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%
magnum
2018-11-06 10:08:48 UTC
Permalink
This post might be inappropriate. Click to display it.
Loading...