hashcat Forum
CL_PLATFORM_NOT_FOUND_KHR - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: CL_PLATFORM_NOT_FOUND_KHR (/thread-6610.html)



CL_PLATFORM_NOT_FOUND_KHR - rammses - 05-30-2017

Trying to build hashcat on Power8 systems with pascal gpus

nvidia-smi is showing
-----------
 nvidia-smi
Tue May 30 23:09:41 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 361.119                Driver Version: 361.119                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla P100-SXM2...  Off  | 0002:01:00.0     Off |                    0 |
| N/A   39C    P0    39W / 300W |      0MiB / 16280MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla P100-SXM2...  Off  | 0003:01:00.0     Off |                    0 |
| N/A   37C    P0    39W / 300W |      0MiB / 16280MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla P100-SXM2...  Off  | 000A:01:00.0     Off |                    0 |
| N/A   37C    P0    37W / 300W |      0MiB / 16280MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla P100-SXM2...  Off  | 000B:01:00.0     Off |                    0 |
| N/A   37C    P0    40W / 300W |      0MiB / 16280MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+


----

however when i try to run hashcat 3.5  i receive this error

-----------------
root@SRV48:/home/rammses# hashcat -I
hashcat (v3.5.0) starting...

clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR


RE: CL_PLATFORM_NOT_FOUND_KHR - epixoip - 05-31-2017

My jealousy level has reached 72%. Not over the P100s, but POWER8. Anyone who knows me knows I'm a huge fucking PPC fan.

Anyway, obviously the Nvidia driver is installed, but it looks like you don't have an OpenCL ICD, or the linker can't find it. Not sure which distribution you're using (aside: make sure you're using a little endian distribution) or how you installed the driver, but it looks like you're missing some things. Also, this might be relevant (hints that the PPC Nvidia driver may be lacking libOpenCL.so): https://devtalk.nvidia.com/default/topic/915367/opencl-on-power8/

I also simultaneously wonder if there's an OpenCL SDK or runtime environment for the POWER8 CPUs.