background

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Use Anonymous Ads

Couldn't find the answer on here...

So, I'm getting this error in a loop:

[2018-02-22 20:52:15] Error -11: Building Program (clBuildProgram)
[2018-02-22 20:52:15] fatal error: malformed or corrupted PCH file: 'Unable to load module "/System/Library/Frameworks/OpenCL.framework/Resources/cl_kernel.ptx12.pch": file not found'

[2018-02-22 20:52:15] fatal error: malformed or corrupted PCH file: 'Unable to load module "/System/Library/Frameworks/OpenCL.framework/Resources/cl_kernel.ptx12.pch": file not found'

[2018-02-22 20:52:15] Error -45: Creating kernel from goffset test program (clCreateKernel)

[2018-02-22 20:52:15] Error -45: Creating kernel from goffset test program (clCreateKernel)
[2018-02-22 20:52:15] Error -11: Building Program (clBuildProgram)

[2018-02-22 20:52:15] Error -11: Building Program (clBuildProgram)
[2018-02-22 20:52:15] fatal error: malformed or corrupted PCH file: 'Unable to load module "/System/Library/Frameworks/OpenCL.framework/Resources/cl_kernel.ptx12.pch": file not found'

It tries this for a while, then gets to:

2018-02-22 20:52:15] OCL 0: Failed to load kernel
[2018-02-22 20:52:15] OCL 0 failure, disabling!

[2018-02-22 20:52:15] OCL 0 failure, disabling!
[2018-02-22 20:52:15] OCL 0 being disabled
[2018-02-22 20:52:15] Selecting poclbm kernel

before restarting the process.

What do I need to do to fix this?

Comments

  • Which miner and algorithm are you using?

  • bfgminer for Mac OS X, and I was running the Scrypt algorithm.

  • I've never seen that before. Are you using the binary included with MacMiner or the standalone version? It looks as though you're missing the OpenCL driver which should be installed on all macs... It might be work opening disk utility and running first aid on your startup disk.

  • I see this also, and I'm trying to run the xmr-stak-amd for macOS. The directory is there, but there is no file for cl_kernel.ptx12.pch

  • What version of macOS and what hardware (especially GPU) are you guys using? If we can find what you have in common we can probably find the cause of the problem.

  • I'm on 10.13.3, and I have a Nvidia GTX 970

  • macOS High Sierra 10.13.3, and an AMD Radeon RX 580 8GB

  • Hmm. Are you using the standalone bfgminer binary or the one in MacMiner and do you get different results using MacMiner 1.5.62 and 1.5.57?

  • I was using the one in MacMiner. I'll let you know about 1.5.57

  • Hmm. Nope. Switching to 1.5.57 didn't change anything.

    Here's the log up until the big error, repeat, error, repeat.

    Starting… [2018-03-08 20:57:50] Started bfgminer 5.4.2-unknown
    [2018-03-08 20:57:50] Loaded configuration file /Users/Josiah/Library/Application Support/MacMiner/ltcurls.conf
    [2018-03-08 20:57:50] CL Platform 0 vendor: Apple
    [2018-03-08 20:57:50] CL Platform 0 name: Apple
    [2018-03-08 20:57:50] CL Platform 0 version: OpenCL 1.2 (Oct 31 2017 18:30:00)
    [2018-03-08 20:57:50] Platform 0 devices: 2
    [2018-03-08 20:57:50] 0 GeForce GT 120
    [2018-03-08 20:57:50] 1 GeForce GTX 970
    [2018-03-08 20:57:50] Unable to load ati adl library
    [2018-03-08 20:57:50] Probing for an alive pool
    [2018-03-08 20:57:50] Testing pool stratum+tcp://us.litecoinpool.org:3333
    [2018-03-08 20:57:50] Stratum authorisation success for pool 0
    [2018-03-08 20:57:50] Pool 0 stratum+tcp://us.litecoinpool.org:3333 alive
    [2018-03-08 20:57:50] Pool 0 is hiding block contents from us
    [2018-03-08 20:57:50] Network difficulty changed to 5.45M (38.98T)
    [2018-03-08 20:57:50] New block: ...de4d968abbffb58b diff 5.45M (38.98T)
    [2018-03-08 20:57:50] Stratum from pool 0 detected new block
    [2018-03-08 20:57:51] Init GPU thread 0 GPU 0 virtual GPU 0
    [2018-03-08 20:57:51] CL Platform vendor: Apple
    [2018-03-08 20:57:51] CL Platform name: Apple
    [2018-03-08 20:57:51] CL Platform version: OpenCL 1.2 (Oct 31 2017 18:30:00)
    [2018-03-08 20:57:51] List of devices:
    [2018-03-08 20:57:51] 0 GeForce GT 120
    [2018-03-08 20:57:51] 1 GeForce GTX 970
    [2018-03-08 20:57:51] Selected 0: GeForce GT 120
    [2018-03-08 20:57:51] initCl() finished. Found GeForce GT 120
    [2018-03-08 20:57:51] Init GPU thread 1 GPU 1 virtual GPU 1
    [2018-03-08 20:57:51] CL Platform vendor: Apple
    [2018-03-08 20:57:51] CL Platform name: Apple
    [2018-03-08 20:57:51] CL Platform version: OpenCL 1.2 (Oct 31 2017 18:30:00)
    [2018-03-08 20:57:51] List of devices:
    [2018-03-08 20:57:51] 0 GeForce GT 120
    [2018-03-08 20:57:51] 1 GeForce GTX 970
    [2018-03-08 20:57:51] Selected 1: GeForce GTX 970
    [2018-03-08 20:57:51] initCl() finished. Found GeForce GTX 970
    [2018-03-08 20:57:51] API running in IP access mode on port 4052
    [2018-03-08 20:57:51] Error -11: Building Program (clBuildProgram)

    [2018-03-08 20:57:51] Error -11: Building Program (clBuildProgram)
    [2018-03-08 20:57:51] fatal error: malformed or corrupted PCH file: 'Unable to load module "/System/Library/Frameworks/OpenCL.framework/Resources/cl_kernel.ptx12.pch": file not found'

  • Thanks for trying. Unfortunately I've no idea what's going on there! I don't have that .pch file either but it's not looking for it on my machines.

  • Thanks for looking at it! Good luck on your future mining projects!

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file