K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 29, 2016, 09:08:21 AM |
|
I'm running 14.04 (long term release). Do you have a Geforce 840M or another brand?
Do you use the binary (ie, proprietary) drivers form nvidia? if so, i can help you get it up and running. You probably don't, do you have bumblebee installed for discrete GPU use? I've reinstalled (from Ubuntu to Mint), but I get the same error: test@Laptop:~/vanitygen-master$ ./oclvanitygen 1test Difficulty: 264104224 clGetPlatformIDs(0): Unknown code -1001 clGetPlatformIDs(0): Unknown code -1001 Available OpenCL platforms: I am using NVIDIA Driver Version 352.63, I'm not sure about the bumblebee-thing. Any help to get it working would be much appreciated ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) install these packages and recompile (make clean && make): nvidia-libopencl1-352 nvidia-opencl-icd-352
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
wonko86
Legendary
Offline
Activity: 1624
Merit: 1024
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 29, 2016, 01:21:23 PM |
|
Hello. An error message appeared on the screen. oclvanitygen.exe -p 0 -d 1 -o result.txt 1BTC pause ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi73.fastpic.ru%2Fbig%2F2016%2F0229%2F65%2Fd97ee1e2f6a582af7b90ebee2f926265.png&t=665&c=wUkuBZCJR32GLw) oclvanitygen.exe -p 0 -d 0 -o result.txt 1BTC pause ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi74.fastpic.ru%2Fbig%2F2016%2F0229%2F9a%2Fce2a9be6f72a1c735d43b54805e4389a.png&t=665&c=VvSzaCiVJyufjw) How to run on the processor?
|
|
|
|
CosaNostra
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 29, 2016, 01:34:11 PM |
|
Hello. An error message appeared on the screen. oclvanitygen.exe -p 0 -d 1 -o result.txt 1BTC pause ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi73.fastpic.ru%2Fbig%2F2016%2F0229%2F65%2Fd97ee1e2f6a582af7b90ebee2f926265.png&t=665&c=wUkuBZCJR32GLw) oclvanitygen.exe -p 0 -d 0 -o result.txt 1BTC pause ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi74.fastpic.ru%2Fbig%2F2016%2F0229%2F9a%2Fce2a9be6f72a1c735d43b54805e4389a.png&t=665&c=VvSzaCiVJyufjw) How to run on the processor? try this: vanitygen.exe -o result.txt 1BTC
|
|
|
|
wonko86
Legendary
Offline
Activity: 1624
Merit: 1024
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 29, 2016, 01:44:22 PM |
|
try this:
vanitygen.exe -o result.txt 1BTC
Thank you
|
|
|
|
apoorvlathey
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 29, 2016, 04:42:22 PM |
|
When I run oclvanitygen then after sometime my pc automatically turns off. What could be the reason for it ? How to prevent it ?
|
|
|
|
aerobatic
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 29, 2016, 05:04:44 PM |
|
When I run oclvanitygen then after sometime my pc automatically turns off. What could be the reason for it ? How to prevent it ?
1. check your fans are cooling the system properly (both system fan AND graphics card fan). its possible your system is overheating. ocl drives the graphics card very hard. 2. check power. as before, the graphics card will be pulling a lot more power than usual. check the power supply, and cabling are up to the task. make sure you've got the 4ight number of cables coming from the power supply to the graphics card's auxiliary power inputs. 3. just in case, also check that you haven't got 'sleep mode' set to turn the computer off after some minutes of inactivity. 4. try doing something else that will drive the graphics card hard that isn't vanitygen. maybe try a high performance 3d game or benchmark app and see if you get the same problem. ideally, try and watch the pc and see if you can see what its saying before it switches off. -- Jez
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17362
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 02, 2016, 10:25:08 AM |
|
install these packages and recompile (make clean && make): nvidia-libopencl1-352 nvidia-opencl-icd-352
The first one was new, the second installed already. Now I'm back to the error I had before: can't find -lOpenCL cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL /usr/bin/ld: cannot find -lOpenCL collect2: error: ld returned 1 exit status make: *** [oclvanitygen] Error 1 When I installed nvidia-libopencl1-352, I got this: The following packages will be REMOVED: ocl-icd-dbg ocl-icd-libopencl1 The following NEW packages will be installed: nvidia-libopencl1-352 Removing ocl-icd-dbg:amd64 (2.1.3-4) ... dpkg: ocl-icd-libopencl1:amd64: dependency problems, but removing anyway as you requested: nvidia-opencl-icd-352 depends on ocl-icd-libopencl1 | nvidia-libopencl1-352; however: Package ocl-icd-libopencl1:amd64 is to be removed. Package nvidia-libopencl1-352 is not installed.
Removing ocl-icd-libopencl1:amd64 (2.1.3-4) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for doc-base (0.10.5) ... Processing 1 removed doc-base file... Registering documents with scrollkeeper... Processing triggers for libc-bin (2.19-0ubuntu6.7) ... Selecting previously unselected package nvidia-libopencl1-352. (Reading database ... 199141 files and directories currently installed.) Preparing to unpack .../nvidia-libopencl1-352_352.63-0ubuntu0.14.04.1_amd64.deb ... Unpacking nvidia-libopencl1-352 (352.63-0ubuntu0.14.04.1) ... Setting up nvidia-libopencl1-352 (352.63-0ubuntu0.14.04.1) ... Processing triggers for libc-bin (2.19-0ubuntu6.7) ... So some packages are fighting eachoter over dependencies, and I end up with either one of the required packages. More suggestions are welcome ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) If I reinstall ocl-icd-libopencl1 I'm back to where I started (it compiles but no Available OpenCL platforms: apt-get install ocl-icd-libopencl1 ...... dpkg: nvidia-libopencl1-352: dependency problems, but removing anyway as you requested: nvidia-opencl-icd-352 depends on ocl-icd-libopencl1 | nvidia-libopencl1-352; however: Package ocl-icd-libopencl1:amd64 is not installed. Package nvidia-libopencl1-352 is to be removed.
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 02, 2016, 06:46:15 PM |
|
install these packages and recompile (make clean && make): nvidia-libopencl1-352 nvidia-opencl-icd-352
The first one was new, the second installed already. Now I'm back to the error I had before: can't find -lOpenCL cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL /usr/bin/ld: cannot find -lOpenCL collect2: error: ld returned 1 exit status make: *** [oclvanitygen] Error 1 When I installed nvidia-libopencl1-352, I got this: The following packages will be REMOVED: ocl-icd-dbg ocl-icd-libopencl1 The following NEW packages will be installed: nvidia-libopencl1-352 Removing ocl-icd-dbg:amd64 (2.1.3-4) ... dpkg: ocl-icd-libopencl1:amd64: dependency problems, but removing anyway as you requested: nvidia-opencl-icd-352 depends on ocl-icd-libopencl1 | nvidia-libopencl1-352; however: Package ocl-icd-libopencl1:amd64 is to be removed. Package nvidia-libopencl1-352 is not installed.
Removing ocl-icd-libopencl1:amd64 (2.1.3-4) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for doc-base (0.10.5) ... Processing 1 removed doc-base file... Registering documents with scrollkeeper... Processing triggers for libc-bin (2.19-0ubuntu6.7) ... Selecting previously unselected package nvidia-libopencl1-352. (Reading database ... 199141 files and directories currently installed.) Preparing to unpack .../nvidia-libopencl1-352_352.63-0ubuntu0.14.04.1_amd64.deb ... Unpacking nvidia-libopencl1-352 (352.63-0ubuntu0.14.04.1) ... Setting up nvidia-libopencl1-352 (352.63-0ubuntu0.14.04.1) ... Processing triggers for libc-bin (2.19-0ubuntu6.7) ... So some packages are fighting eachoter over dependencies, and I end up with either one of the required packages. More suggestions are welcome ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) If I reinstall ocl-icd-libopencl1 I'm back to where I started (it compiles but no Available OpenCL platforms: apt-get install ocl-icd-libopencl1 ...... dpkg: nvidia-libopencl1-352: dependency problems, but removing anyway as you requested: nvidia-opencl-icd-352 depends on ocl-icd-libopencl1 | nvidia-libopencl1-352; however: Package ocl-icd-libopencl1:amd64 is not installed. Package nvidia-libopencl1-352 is to be removed. $ locate libOpenCL.so do you have the ocl or nvidia package installed?
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17362
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 02, 2016, 07:29:32 PM |
|
$ locate libOpenCL.so /usr/lib/x86_64-linux-gnu/libOpenCL.so /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 /usr/lib64/OpenCL/vendors/intel/libOpenCL.so /usr/share/man/man7/libOpenCL.so.7.gz do you have the ocl or nvidia package installed?
How can I be sure about this?
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 03, 2016, 09:46:31 AM |
|
$ locate libOpenCL.so /usr/lib/x86_64-linux-gnu/libOpenCL.so /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 /usr/lib64/OpenCL/vendors/intel/libOpenCL.so /usr/share/man/man7/libOpenCL.so.7.gz do you have the ocl or nvidia package installed?
How can I be sure about this? $ dpkg --get-selections | grep opencl Ensure the nvidia package is installed. I wouldnt be surprised if your ldconfig prefers the intel OpenCL first, which would break things. Why did you install it anyway? Try it this way: $ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu -lpcre -lcrypto -lm -lpthread -lOpenCL if this also dosnt work, we'll have to locate and remove that intel OpenCL first from the ldconfig. $ grep -R -E "OpenCL|intel" /etc/ld.so.conf*
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17362
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 03, 2016, 02:36:16 PM |
|
$ locate libOpenCL.so /usr/lib/x86_64-linux-gnu/libOpenCL.so /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 /usr/lib64/OpenCL/vendors/intel/libOpenCL.so /usr/share/man/man7/libOpenCL.so.7.gz do you have the ocl or nvidia package installed?
How can I be sure about this? $ dpkg --get-selections | grep opencl Ensure the nvidia package is installed. nvidia-libopencl1-352 deinstall nvidia-opencl-icd-352 install ocl-icd-libopencl1:amd64 install opencl-headers install Nvidia installed. I wonder about the amd though, as my system runs on Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz I wouldnt be surprised if your ldconfig prefers the intel OpenCL first, which would break things. Why did you install it anyway? Desperation ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) I tried so many things I found online, hoping one would work. Try it this way:
$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu -lpcre -lcrypto -lm -lpthread -lOpenCL Done in 90 ms, without errors. But still no available OpenCL platforms: ./oclvanitygen 1test Difficulty: 264104224 clGetPlatformIDs(0): Unknown code -1001 clGetPlatformIDs(0): Unknown code -1001 Available OpenCL platforms: if this also dosnt work, we'll have to locate and remove that intel OpenCL first from the ldconfig. $ grep -R -E "OpenCL|intel" /etc/ld.so.conf*
I like the "we" in this, thanks for your help so far! # grep -R -E "OpenCL|intel" /etc/ld.so.conf* /etc/ld.so.conf.d/opencl-vendor-intel.conf:/usr/lib/OpenCL/vendors/intel I feel clueless ![Huh](https://bitcointalk.org/Smileys/default/huh.gif)
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 03, 2016, 04:33:45 PM |
|
$ locate libOpenCL.so /usr/lib/x86_64-linux-gnu/libOpenCL.so /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 /usr/lib64/OpenCL/vendors/intel/libOpenCL.so /usr/share/man/man7/libOpenCL.so.7.gz do you have the ocl or nvidia package installed?
How can I be sure about this? $ dpkg --get-selections | grep opencl Ensure the nvidia package is installed. nvidia-libopencl1-352 deinstall nvidia-opencl-icd-352 install ocl-icd-libopencl1:amd64 install opencl-headers install Nvidia installed. I wonder about the amd though, as my system runs on Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz I wouldnt be surprised if your ldconfig prefers the intel OpenCL first, which would break things. Why did you install it anyway? Desperation ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) I tried so many things I found online, hoping one would work. Try it this way:
$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu -lpcre -lcrypto -lm -lpthread -lOpenCL Done in 90 ms, without errors. But still no available OpenCL platforms: ./oclvanitygen 1test Difficulty: 264104224 clGetPlatformIDs(0): Unknown code -1001 clGetPlatformIDs(0): Unknown code -1001 Available OpenCL platforms: if this also dosnt work, we'll have to locate and remove that intel OpenCL first from the ldconfig. $ grep -R -E "OpenCL|intel" /etc/ld.so.conf*
I like the "we" in this, thanks for your help so far! # grep -R -E "OpenCL|intel" /etc/ld.so.conf* /etc/ld.so.conf.d/opencl-vendor-intel.conf:/usr/lib/OpenCL/vendors/intel I feel clueless ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) You will have to install the packages i've told you. nvidia-libopencl1-352 should show "installed". Remove the Intel OpenCL this way, seems you installed this manually...: $ sudo rm /etc/ld.so.conf.d/opencl-vendor-intel.conf $ sudo ldconfig after this, go to the vanitygen folder: $ make clean && make $ rm *.oclbin The second command removes the compiled OpenCL kernel for your GPU which dosnt work anyway, always remove it when changing drivers/rebuilding, otherwise you'll end up using an old OpenCL kernel. Now, try again and post the results.
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
Indianacoin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 05, 2016, 01:58:19 PM |
|
Since there is a high demand of generating vanity addresses I am wondering if there is any way to enable a split-key vanity address generation system on a VPS server.
I would work like this:
1. Installing vanitygen.exe on the server via SSH access.
2. Allowing it to run for finding an address with a particular prefix when someone inputs his part public key.
I am just skeptical on whether it will solve ESDA at a faster rate as graphics cards generally does.
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17362
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 06, 2016, 11:08:51 AM |
|
Remove the Intel OpenCL this way, seems you installed this manually...:
$ sudo rm /etc/ld.so.conf.d/opencl-vendor-intel.conf $ sudo ldconfig
after this, go to the vanitygen folder: $ make clean && make Done $ rm *.oclbin
The second command removes the compiled OpenCL kernel for your GPU which dosnt work anyway, always remove it when changing drivers/rebuilding, otherwise you'll end up using an old OpenCL kernel. I have no file ending on oclbin. Now back to your first line: You will have to install the packages i've told you. nvidia-libopencl1-352 should show "installed". Installing nvidia-libopencl1-352 removes ocl-lcd-libopencl1. After this: # dpkg --get-selections | grep opencl nvidia-libopencl1-352 install nvidia-opencl-icd-352 install ocl-icd-libopencl1:amd64 deinstall opencl-headers install Now, try again and post the results.
I now get this: make oclvanitygen cc -ggdb -O3 -Wall -c -o oclvanitygen.o oclvanitygen.c cc -ggdb -O3 -Wall -c -o oclengine.o oclengine.c oclengine.c: In function ‘vg_ocl_prefix_check’: oclengine.c:1553:18: warning: variable ‘tablesize’ set but not used [-Wunused-but-set-variable] int orig_delta, tablesize; ^ cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL /usr/bin/ld: cannot find -lOpenCL collect2: error: ld returned 1 exit status make: *** [oclvanitygen] Error 1 Error "/usr/bin/ld: cannot find -lOpenCL" is what I've had before, and so far if I got rid of this error I got an oclvanitygen that can't find a platform. Any more suggestions are much appreciated ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
Jude Austin
Legendary
Offline
Activity: 1140
Merit: 1000
The Real Jude Austin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 06, 2016, 11:57:00 PM |
|
Try: find -name libopencl.so And tell me the paths. Remove the Intel OpenCL this way, seems you installed this manually...:
$ sudo rm /etc/ld.so.conf.d/opencl-vendor-intel.conf $ sudo ldconfig
after this, go to the vanitygen folder: $ make clean && make Done $ rm *.oclbin
The second command removes the compiled OpenCL kernel for your GPU which dosnt work anyway, always remove it when changing drivers/rebuilding, otherwise you'll end up using an old OpenCL kernel. I have no file ending on oclbin. Now back to your first line: You will have to install the packages i've told you. nvidia-libopencl1-352 should show "installed". Installing nvidia-libopencl1-352 removes ocl-lcd-libopencl1. After this: # dpkg --get-selections | grep opencl nvidia-libopencl1-352 install nvidia-opencl-icd-352 install ocl-icd-libopencl1:amd64 deinstall opencl-headers install Now, try again and post the results.
I now get this: make oclvanitygen cc -ggdb -O3 -Wall -c -o oclvanitygen.o oclvanitygen.c cc -ggdb -O3 -Wall -c -o oclengine.o oclengine.c oclengine.c: In function ‘vg_ocl_prefix_check’: oclengine.c:1553:18: warning: variable ‘tablesize’ set but not used [-Wunused-but-set-variable] int orig_delta, tablesize; ^ cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL /usr/bin/ld: cannot find -lOpenCL collect2: error: ld returned 1 exit status make: *** [oclvanitygen] Error 1 Error "/usr/bin/ld: cannot find -lOpenCL" is what I've had before, and so far if I got rid of this error I got an oclvanitygen that can't find a platform. Any more suggestions are much appreciated ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
Buy or sell $100 of Crypto and get $10!
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2016, 03:57:32 AM |
|
Remove the Intel OpenCL this way, seems you installed this manually...:
$ sudo rm /etc/ld.so.conf.d/opencl-vendor-intel.conf $ sudo ldconfig
after this, go to the vanitygen folder: $ make clean && make Done $ rm *.oclbin
The second command removes the compiled OpenCL kernel for your GPU which dosnt work anyway, always remove it when changing drivers/rebuilding, otherwise you'll end up using an old OpenCL kernel. I have no file ending on oclbin. Now back to your first line: You will have to install the packages i've told you. nvidia-libopencl1-352 should show "installed". Installing nvidia-libopencl1-352 removes ocl-lcd-libopencl1. After this: # dpkg --get-selections | grep opencl nvidia-libopencl1-352 install nvidia-opencl-icd-352 install ocl-icd-libopencl1:amd64 deinstall opencl-headers install Now, try again and post the results.
I now get this: make oclvanitygen cc -ggdb -O3 -Wall -c -o oclvanitygen.o oclvanitygen.c cc -ggdb -O3 -Wall -c -o oclengine.o oclengine.c oclengine.c: In function ‘vg_ocl_prefix_check’: oclengine.c:1553:18: warning: variable ‘tablesize’ set but not used [-Wunused-but-set-variable] int orig_delta, tablesize; ^ cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL /usr/bin/ld: cannot find -lOpenCL collect2: error: ld returned 1 exit status make: *** [oclvanitygen] Error 1 Error "/usr/bin/ld: cannot find -lOpenCL" is what I've had before, and so far if I got rid of this error I got an oclvanitygen that can't find a platform. Any more suggestions are much appreciated ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Now we need to know where your OpenCL lib is stored. $ find /usr -name libOpenCL.so
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17362
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2016, 06:26:54 AM |
|
$ find /usr -name libOpenCL.so
/usr/lib64/OpenCL/vendors/intel/libOpenCL.so Or more complete: ls -l `find / | grep -i ibopencl.so` -rw-r--r-- 1 root root 35200 Mar 15 2014 /usr/lib64/OpenCL/vendors/intel/libOpenCL.so lrwxrwxrwx 1 root root 16 Nov 16 20:51 /usr/lib/i386-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0 lrwxrwxrwx 1 root root 18 Nov 16 20:51 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0 -> libOpenCL.so.1.0.0 -rw-r--r-- 1 root root 25148 Nov 8 06:10 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0 lrwxrwxrwx 1 root root 16 Nov 16 20:51 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0 lrwxrwxrwx 1 root root 18 Nov 16 20:51 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0 -> libOpenCL.so.1.0.0 -rw-r--r-- 1 root root 26432 Nov 8 06:09 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 I've been searching in this direction before, but didn't manage to fix it then.
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2016, 12:18:46 PM |
|
$ find /usr -name libOpenCL.so
/usr/lib64/OpenCL/vendors/intel/libOpenCL.so Or more complete: ls -l `find / | grep -i ibopencl.so` -rw-r--r-- 1 root root 35200 Mar 15 2014 /usr/lib64/OpenCL/vendors/intel/libOpenCL.so lrwxrwxrwx 1 root root 16 Nov 16 20:51 /usr/lib/i386-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0 lrwxrwxrwx 1 root root 18 Nov 16 20:51 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0 -> libOpenCL.so.1.0.0 -rw-r--r-- 1 root root 25148 Nov 8 06:10 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0 lrwxrwxrwx 1 root root 16 Nov 16 20:51 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0 lrwxrwxrwx 1 root root 18 Nov 16 20:51 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0 -> libOpenCL.so.1.0.0 -rw-r--r-- 1 root root 26432 Nov 8 06:09 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 I've been searching in this direction before, but didn't manage to fix it then. $ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libOpenCL.so
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
LoyceV
Legendary
Offline
Activity: 3430
Merit: 17362
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2016, 04:18:26 PM |
|
$ find /usr -name libOpenCL.so
/usr/lib64/OpenCL/vendors/intel/libOpenCL.so Or more complete: ls -l `find / | grep -i ibopencl.so` -rw-r--r-- 1 root root 35200 Mar 15 2014 /usr/lib64/OpenCL/vendors/intel/libOpenCL.so lrwxrwxrwx 1 root root 16 Nov 16 20:51 /usr/lib/i386-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0 lrwxrwxrwx 1 root root 18 Nov 16 20:51 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0 -> libOpenCL.so.1.0.0 -rw-r--r-- 1 root root 25148 Nov 8 06:10 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0 lrwxrwxrwx 1 root root 16 Nov 16 20:51 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0 lrwxrwxrwx 1 root root 18 Nov 16 20:51 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0 -> libOpenCL.so.1.0.0 -rw-r--r-- 1 root root 26432 Nov 8 06:09 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 I've been searching in this direction before, but didn't manage to fix it then. $ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libOpenCL.so I now get this: test@Laptop:~/vanitygen-master$ make clean rm -f vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o vanitygen keyconv oclvanitygen oclvanityminer test@Laptop:~/vanitygen-master$ make cc -ggdb -O3 -Wall -c -o vanitygen.o vanitygen.c cc -ggdb -O3 -Wall -c -o pattern.o pattern.c cc -ggdb -O3 -Wall -c -o util.o util.c cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread cc -ggdb -O3 -Wall -c -o keyconv.o keyconv.c cc keyconv.o util.o -o keyconv -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread So far so good! test@Laptop:~/vanitygen-master$ make oclvanitygen cc -ggdb -O3 -Wall -c -o oclvanitygen.o oclvanitygen.c cc -ggdb -O3 -Wall -c -o oclengine.o oclengine.c oclengine.c: In function ‘vg_ocl_prefix_check’: oclengine.c:1553:18: warning: variable ‘tablesize’ set but not used [-Wunused-but-set-variable] int orig_delta, tablesize; ^ cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL /usr/bin/ld: cannot find -lOpenCL collect2: error: ld returned 1 exit status make: *** [oclvanitygen] Error 1 Errors! If I do make oclvanitygen first, the next command does not give errors: test@Laptop:~/vanitygen-master$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libOpenCL.so.1 But after this it still can't find the OpenCL platforms: test@Laptop:~/vanitygen-master$ ./oclvanitygen 1test Difficulty: 264104224 clGetPlatformIDs(0): Unknown code -1001 clGetPlatformIDs(0): Unknown code -1001 Available OpenCL platforms: If I skip the "make oclvanitygen", it gives this: test@Laptop:~/vanitygen-master$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libOpenCL.so.1 gcc: error: oclvanitygen.o: No such file or directory gcc: error: oclengine.o: No such file or directory I'm hoping your guess is better than mine ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif)
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2016, 05:11:47 PM Last edit: March 07, 2016, 11:15:34 PM by K1773R |
|
$ find /usr -name libOpenCL.so
/usr/lib64/OpenCL/vendors/intel/libOpenCL.so Or more complete: ls -l `find / | grep -i ibopencl.so` -rw-r--r-- 1 root root 35200 Mar 15 2014 /usr/lib64/OpenCL/vendors/intel/libOpenCL.so lrwxrwxrwx 1 root root 16 Nov 16 20:51 /usr/lib/i386-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0 lrwxrwxrwx 1 root root 18 Nov 16 20:51 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0 -> libOpenCL.so.1.0.0 -rw-r--r-- 1 root root 25148 Nov 8 06:10 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0 lrwxrwxrwx 1 root root 16 Nov 16 20:51 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0 lrwxrwxrwx 1 root root 18 Nov 16 20:51 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0 -> libOpenCL.so.1.0.0 -rw-r--r-- 1 root root 26432 Nov 8 06:09 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 I've been searching in this direction before, but didn't manage to fix it then. $ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libOpenCL.so I now get this: test@Laptop:~/vanitygen-master$ make clean rm -f vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o vanitygen keyconv oclvanitygen oclvanityminer test@Laptop:~/vanitygen-master$ make cc -ggdb -O3 -Wall -c -o vanitygen.o vanitygen.c cc -ggdb -O3 -Wall -c -o pattern.o pattern.c cc -ggdb -O3 -Wall -c -o util.o util.c cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread cc -ggdb -O3 -Wall -c -o keyconv.o keyconv.c cc keyconv.o util.o -o keyconv -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread So far so good! test@Laptop:~/vanitygen-master$ make oclvanitygen cc -ggdb -O3 -Wall -c -o oclvanitygen.o oclvanitygen.c cc -ggdb -O3 -Wall -c -o oclengine.o oclengine.c oclengine.c: In function ‘vg_ocl_prefix_check’: oclengine.c:1553:18: warning: variable ‘tablesize’ set but not used [-Wunused-but-set-variable] int orig_delta, tablesize; ^ cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL /usr/bin/ld: cannot find -lOpenCL collect2: error: ld returned 1 exit status make: *** [oclvanitygen] Error 1 Errors! If I do make oclvanitygen first, the next command does not give errors: test@Laptop:~/vanitygen-master$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libOpenCL.so.1 But after this it still can't find the OpenCL platforms: test@Laptop:~/vanitygen-master$ ./oclvanitygen 1test Difficulty: 264104224 clGetPlatformIDs(0): Unknown code -1001 clGetPlatformIDs(0): Unknown code -1001 Available OpenCL platforms: If I skip the "make oclvanitygen", it gives this: test@Laptop:~/vanitygen-master$ gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libOpenCL.so.1 gcc: error: oclvanitygen.o: No such file or directory gcc: error: oclengine.o: No such file or directory I'm hoping your guess is better than mine ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) not skipping was correct. Your binary is compiled and ready to go. Now we need to fix the last issue: is the package nvidia-modprobe installed? if not, install it. check if this file exists: $ ls -al /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
does this exist too? $ ls -al /etc/OpenCL/vendors/nvidia.icd if not: $ sudo mkdir -p /etc/OpenCL/vendors $ sudo tee /etc/OpenCL/vendors/nvidia.icd <<< 'libnvidia-opencl.so.1'
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
|