Closed BlinkyStitt closed 10 years ago
nevrending from bitcointalk says:
MacBookLive:vanitygen y458m$ oclvanitygen -D 0:1 -k 1111111
Difficulty: 281474976710656
Compiling kernel, can take minutes...vg_ocl_context_callback error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (517)
vg_ocl_context_callback error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1021b00 (ATI Radeon HD 6750M) (err:-2)
vg_ocl_context_callback error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
Error returned by cvms_element_build_from_source
failure.
clBuildProgram: CL_BUILD_PROGRAM_FAILURE
Build log:
Error returned by cvms_element_build_from_source
Device: ATI Radeon HD 6750M
Vendor: AMD (1021b00)
Driver: 1.2 (Sep 19 2013 22:22:06)
Profile: FULL_PROFILE
Version: OpenCL 1.2
Max compute units: 6
Max workgroup size: 256
Global memory: 536870912
Max allocation: 134217728
Could not open device '0:1', ignoring
Available OpenCL platforms:
0: [Apple] Apple
0: [Intel] Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz
1: [AMD] ATI Radeon HD 6750M
Can you brew update
and then post the output of brew reinstall vanitygen --verbose
So I've made a couple tweaks. Try these:
brew update
brew uninstall vanitygen
brew install --verbose vanitygen
cd /usr/local/opt/vanitygen/include
oclvanitygen -d 1 -k 1111111
Here are the results :)
MacBookLive:include y458m$ oclvanitygen -d 1 -k 111
Difficulty: 65536
Compiling kernel, can take minutes...vg_ocl_context_callback error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (517)
vg_ocl_context_callback error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1021b00 (ATI Radeon HD 6750M) (err:-2)
vg_ocl_context_callback error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
Error returned by cvms_element_build_from_source
failure.
clBuildProgram: CL_BUILD_PROGRAM_FAILURE
Build log:
Error returned by cvms_element_build_from_source
Device: ATI Radeon HD 6750M
Vendor: AMD (1021b00)
Driver: 1.2 (Sep 19 2013 22:22:06)
Profile: FULL_PROFILE
Version: OpenCL 1.2
Max compute units: 6
Max workgroup size: 256
Global memory: 536870912
Max allocation: 134217728
Available OpenCL platforms:
0: [Apple] Apple
0: [Intel] Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz
1: [AMD] ATI Radeon HD 6750M
% oclvanitygen -D0:1 -D0:2 1RandomAddress
Difficulty: 1961676049784709564969022
Compiling kernel, can take minutes...vg_ocl_context_callback error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (517)
vg_ocl_context_callback error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1021c00 (AMD Radeon HD - FirePro D700 Compute Engine) (err:-2)
vg_ocl_context_callback error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
Error returned by cvms_element_build_from_source
failure.
clBuildProgram: CL_BUILD_PROGRAM_FAILURE
Build log:
Error returned by cvms_element_build_from_source
Device: AMD Radeon HD - FirePro D700 Compute Engine
Vendor: AMD (1021c00)
Driver: 1.2 (May 2 2014 23:41:16)
Profile: FULL_PROFILE
Version: OpenCL 1.2
Max compute units: 32
Max workgroup size: 256
Global memory: 6442450944
Max allocation: 1610612736
Could not open device '0:1', ignoring
Compiling kernel, can take minutes...vg_ocl_context_callback error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (517)
vg_ocl_context_callback error: OpenCL Warning : clBuildProgram failed: could not build program for 0x2021c00 (AMD Radeon HD - FirePro D700 Compute Engine) (err:-2)
vg_ocl_context_callback error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
Error returned by cvms_element_build_from_source
failure.
clBuildProgram: CL_BUILD_PROGRAM_FAILURE
Build log:
Error returned by cvms_element_build_from_source
Device: AMD Radeon HD - FirePro D700 Compute Engine
Vendor: AMD (2021c00)
Driver: 1.2 (May 2 2014 23:41:16)
Profile: FULL_PROFILE
Version: OpenCL 1.2
Max compute units: 32
Max workgroup size: 256
Global memory: 6442450944
Max allocation: 1610612736
Could not open device '0:2', ignoring
Available OpenCL platforms:
0: [Apple] Apple
0: [Intel] Intel(R) Xeon(R) CPU E5-1680 v2 @ 3.00GHz
1: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
2: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
Same error on Mac Pro
wrboyce, are you sure you are running that command from "/usr/local/opt/vanitygen/include" as a I stated in my closing comment?
cd /usr/local/opt/vanitygen/include
oclvanitygen -d 1 -k 1111111
Yep
% pwd && oclvanitygen -d 1 -k 1111111
/usr/local/opt/vanitygen/include
Difficulty: 281474976710656
Compiling kernel, can take minutes...vg_ocl_context_callback error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (517)
vg_ocl_context_callback error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1021c00 (AMD Radeon HD - FirePro D700 Compute Engine) (err:-2)
vg_ocl_context_callback error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
Error returned by cvms_element_build_from_source
failure.
clBuildProgram: CL_BUILD_PROGRAM_FAILURE
Build log:
Error returned by cvms_element_build_from_source
Device: AMD Radeon HD - FirePro D700 Compute Engine
Vendor: AMD (1021c00)
Driver: 1.2 (May 2 2014 23:41:16)
Profile: FULL_PROFILE
Version: OpenCL 1.2
Max compute units: 32
Max workgroup size: 256
Global memory: 6442450944
Max allocation: 1610612736
Available OpenCL platforms:
0: [Apple] Apple
0: [Intel] Intel(R) Xeon(R) CPU E5-1680 v2 @ 3.00GHz
1: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
2: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
I've also compiled from git myself and run from the build dir ./oclvanitygen …
to the same effect.
FWIW If I don't run from that dir, the error is entirely different
% pwd && oclvanitygen -d 1 -k 1111111
/usr/local/opt/vanitygen
Difficulty: 281474976710656
Error loading kernel file 'calc_addrs.cl': No such file or directory
Available OpenCL platforms:
0: [Apple] Apple
0: [Intel] Intel(R) Xeon(R) CPU E5-1680 v2 @ 3.00GHz
1: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
2: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
@wrboyce
Error loading kernel file 'calc_addrs.cl': No such file or directory
the file 'calc_addrs.cl' must be in the dir where you run oclvanitygen
I know, but given the nature of the previous question I wanted to absolutely clarify that I was running oclvanigygen
from the correct location.
Having same error:
WARNING: Built with OpenSSL 0.9.8y 5 Feb 2013
WARNING: Use OpenSSL 1.0.0d+ for best performance
Difficulty: 50656515217834
Compiling kernel, can take minutes...vg_ocl_context_callback error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (517)
vg_ocl_context_callback error: OpenCL Warning : clBuildProgram failed: could not build program for 0x2021c00 (AMD Radeon HD - FirePro D700 Compute Engine) (err:-2)
vg_ocl_context_callback error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
Error returned by cvms_element_build_from_source
failure.
clBuildProgram: CL_BUILD_PROGRAM_FAILURE
Build log:
Error returned by cvms_element_build_from_source
Device: AMD Radeon HD - FirePro D700 Compute Engine
Vendor: AMD (2021c00)
Driver: 1.2 (Jun 10 2014 22:41:23)
Profile: FULL_PROFILE
Version: OpenCL 1.2
Max compute units: 32
Max workgroup size: 256
Global memory: 6442450944
Max allocation: 1610612736
I'm also using a similar system:
Available OpenCL platforms:
0: [Apple] Apple
0: [Intel] Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
1: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
2: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
I don't have a mac with a graphics card to test this out. I'm guessing oclvanitygen and oclvanityminer will both give errors about missing files if you try to run.
If anyone out there has a system to test on, let's work together to test and likely fix this :)