Bitcoin Forum
November 04, 2024, 06:11:21 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »  All
  Print  
Author Topic: [BBR] Boolberry GPU Miner Discussion - AMD & Nvidia - OpenCL & CUDA  (Read 82978 times)
hitton
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 24, 2014, 10:47:52 AM
 #41

Hello! if I will mine three rigs to one address (solo). This means that I can find a block 3 times faster or not? and when I find the block with all rigs SHARES me towards my?
PVmining
Sr. Member
****
Offline Offline

Activity: 330
Merit: 252



View Profile
July 24, 2014, 02:47:52 PM
 #42

I've updated Linux build instructions in README.md. I tested both ways - AMD and Nvidia myself on clean Ubuntu 14.04 in Virtualbox and it works flawlessly. Run 'make clean' after you change build options.

mbk, thanks for re-checking.
Today I build up a clean unbuntu installation from the scratch, also in an virtualbox VM.
I used ubuntu 13.10 with the cuda 5.5 toolkit - the same base as used in kopiemtu.

but, I got exactly the same nasty error as before Tongue
your readme.md become great over the last days... so nothing seems unclear... but I don't know where the (my?) error could be.
maybe it does not work with cuda 5.5... maybe I make something wrong.

I was really interessted in mining BBR. But I just give up for the moment...

Thanks for trying to help.
 
mbk
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile WWW
July 24, 2014, 03:27:47 PM
 #43

When building on Linux you should:
1. Run 'make clean' if you got back here after some problems.
1. Set CUDA_PATH or AMDAPPSDKROOT, run 'printenv' to check.
2. Run 'make' and watch for OpenCL: Searching for NVIDIA CUDA SDK or OpenCL: Searching for AMD APP SDK. Back to 1st step if it's not in the log.
3. Watch for -- Looking for CL_VERSION_1_x - found. Check the environment variable points to the actual SDK directory if it's not in the log and get back to 1st step.
4. Check the other dependencies were found (Boost).
5. Compilation should start.

I've updated Linux build instructions in README.md. I tested both ways - AMD and Nvidia myself on clean Ubuntu 14.04 in Virtualbox and it works flawlessly. Run 'make clean' after you change build options.

mbk, thanks for re-checking.
Today I build up a clean unbuntu installation from the scratch, also in an virtualbox VM.
I used ubuntu 13.10 with the cuda 5.5 toolkit - the same base as used in kopiemtu.

but, I got exactly the same nasty error as before Tongue
your readme.md become great over the last days... so nothing seems unclear... but I don't know where the (my?) error could be.
maybe it does not work with cuda 5.5... maybe I make something wrong.

I was really interessted in mining BBR. But I just give up for the moment...

Thanks for trying to help.
 

Boolberry OpenCL solo miner - https://github.com/mbkuperman/boolberry-opencl
Boolberry OpenCL stratum pool miner - https://github.com/mbkuperman/cpuminer-multi-opencl
MBK's Boolberry pool - http://bbr.mbkpool.info
mbk
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile WWW
July 24, 2014, 03:34:30 PM
 #44

Yes. You can mine to the same address with any number of solo miners. You'll see your blocks in your wallet connected to any boolbd instance.
Hello! if I will mine three rigs to one address (solo). This means that I can find a block 3 times faster or not? and when I find the block with all rigs SHARES me towards my?

Boolberry OpenCL solo miner - https://github.com/mbkuperman/boolberry-opencl
Boolberry OpenCL stratum pool miner - https://github.com/mbkuperman/cpuminer-multi-opencl
MBK's Boolberry pool - http://bbr.mbkpool.info
sang
Sr. Member
****
Offline Offline

Activity: 282
Merit: 250


View Profile
July 24, 2014, 06:18:32 PM
 #45

When building on Linux you should:
1. Run 'make clean' if you got back here after some problems.
1. Set CUDA_PATH or AMDAPPSDKROOT, run 'printenv' to check.
2. Run 'make' and watch for OpenCL: Searching for NVIDIA CUDA SDK or OpenCL: Searching for AMD APP SDK. Back to 1st step if it's not in the log.
3. Watch for -- Looking for CL_VERSION_1_x - found. Check the environment variable points to the actual SDK directory if it's not in the log and get back to 1st step.
4. Check the other dependencies were found (Boost).
5. Compilation should start.


mbk, I'm having the same issue. I think i fixed it but brought up another issue. I updated gcc from 4.6 to 4.8.3 and now im getting this:

[  1%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/igd_desc_parse.c.o
error: invalid value 'c11' in '-std=c11'
make[2]: *** [contrib/miniupnpc/CMakeFiles/upnpc-static.dir/igd_desc_parse.c.o] Error 1
make[1]: *** [contrib/miniupnpc/CMakeFiles/upnpc-static.dir/all] Error 2
make: *** [all] Error 2
drkman
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
July 24, 2014, 08:47:16 PM
 #46

If a 280x can mine BBR at 900khs then what does that come out to per day in BTC at current prices?  Anyone have examples?
PVmining
Sr. Member
****
Offline Offline

Activity: 330
Merit: 252



View Profile
July 24, 2014, 09:02:24 PM
Last edit: July 24, 2014, 09:37:34 PM by PVmining
 #47

mbk, I'm having the same issue. I think i fixed it but brought up another issue.
I updated gcc from 4.6 to 4.8.3 and now im getting this:

...and how you fixed it? just by update gcc to 4.8.3? I used 4.8.1...
PVmining
Sr. Member
****
Offline Offline

Activity: 330
Merit: 252



View Profile
July 24, 2014, 09:33:53 PM
 #48

When building on Linux you should:
1. Run 'make clean' if you got back here after some problems.
1. Set CUDA_PATH or AMDAPPSDKROOT, run 'printenv' to check.
2. Run 'make' and watch for OpenCL: Searching for NVIDIA CUDA SDK or OpenCL: Searching for AMD APP SDK. Back to 1st step if it's not in the log.
3. Watch for -- Looking for CL_VERSION_1_x - found. Check the environment variable points to the actual SDK directory if it's not in the log and get back to 1st step.
4. Check the other dependencies were found (Boost).
5. Compilation should start.

first steps clear. CUDA_PATH set. printenv checked.
3. is the problem. -- Looking for CL_VERSION_1_1 - found - is ok - but afterwards the compiler shows my beloved message:
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find OpenCL (missing: OPENCL_LIBRARY) (found version "1.1")


with the boolberry miner version from the 22. July (you fixed backward compatibility after for openCL 1.1/1.0) he shows the right path afterwards:
-- Found OpenCL: /usr/local/cuda/include (found version "1.1")
...and failed later (https://bitcointalk.org/index.php?topic=577267.msg7972653#msg7972653)
but with the actual version I did not get so far.

compiling cudaminer and ccminer forks were no problem so far.
PVmining
Sr. Member
****
Offline Offline

Activity: 330
Merit: 252



View Profile
July 24, 2014, 09:36:49 PM
 #49

If a 280x can mine BBR at 900khs then what does that come out to per day in BTC at current prices?  Anyone have examples?


sorry for tripple posting  Cool

they have a calc = http://boolberry.extremepool.org/
actual 900khash/s = 4.6BBR/day x 0,0005btc = 0,0023btc
sang
Sr. Member
****
Offline Offline

Activity: 282
Merit: 250


View Profile
July 24, 2014, 09:41:00 PM
 #50

mbk, I'm having the same issue. I think i fixed it but brought up another issue.
I updated gcc from 4.6 to 4.8.3 and now im getting this:

...and how you fixed it? just by update gcc to 4.8.3? I used 4.8.1...

Sorry I used 4.8.1 - its still not fixed tho because of the c11 error.
drkman
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
July 24, 2014, 09:46:47 PM
 #51

If a 280x can mine BBR at 900khs then what does that come out to per day in BTC at current prices?  Anyone have examples?


sorry for tripple posting  Cool

they have a calc = http://boolberry.extremepool.org/
actual 900khash/s = 4.6BBR/day x 0,0005btc = 0,0023btc
Thanks.  What's the best BBR pool?  The link had 1 active miner on that pool.
Also, is there a short guide on where to get the miner and how to configure?
btc-mike (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1001



View Profile
July 24, 2014, 09:55:50 PM
 #52

If a 280x can mine BBR at 900khs then what does that come out to per day in BTC at current prices?  Anyone have examples?


sorry for tripple posting  Cool

they have a calc = http://boolberry.extremepool.org/
actual 900khash/s = 4.6BBR/day x 0,0005btc = 0,0023btc
Thanks.  What's the best BBR pool?  The link had 1 active miner on that pool.
Also, is there a short guide on where to get the miner and how to configure?

There ia a pool list in the first post of main thread.

I will put something together and place in first post of this thread.
SpeedDemon13
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
July 25, 2014, 12:14:01 AM
Last edit: July 25, 2014, 12:30:06 AM by SpeedDemon13
 #53

If a 280x can mine BBR at 900khs then what does that come out to per day in BTC at current prices?  Anyone have examples?


sorry for tripple posting  Cool

they have a calc = http://boolberry.extremepool.org/
actual 900khash/s = 4.6BBR/day x 0,0005btc = 0,0023btc
Thanks.  What's the best BBR pool?  The link had 1 active miner on that pool.
Also, is there a short guide on where to get the miner and how to configure?

There ia a pool list in the first post of main thread.

I will put something together and place in first post of this thread.

Are any of the pools working properly with the OpenCL simpleminer? I try to mine on bbr.farm, but it seems like the shares aren't being submitted and/or I have the setup wrong? The miner says submitted share, but I don't know if it's even hashing right. What's the exact setup up for the simpleminer? I mine fine with the simpleminer for cpu and the cpu multi-miner.

CRYPTSY exchange: https://www.cryptsy.com/users/register?refid=9017 BURST= BURST-TE3W-CFGH-7343-6VM6R BTC=1CNsqGUR9YJNrhydQZnUPbaDv6h4uaYCHv ETH=0x144bc9fe471d3c71d8e09d58060d78661b1d4f32 SHF=0x13a0a2cb0d55eca975cf2d97015f7d580ce52d85 EXP=0xd71921dca837e415a58ca0d6dd2223cc84e0ea2f SC=6bdf9d12a983fed6723abad91a39be4f95d227f9bdb0490de3b8e5d45357f63d564638b1bd71 CLAMS=xGVTdM9EJpNBCYAjHFVxuZGcqvoL22nP6f SOIL=0x8b5c989bc931c0769a50ecaf9ffe490c67cb5911
btc-mike (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1001



View Profile
July 25, 2014, 12:29:58 AM
 #54

If a 280x can mine BBR at 900khs then what does that come out to per day in BTC at current prices?  Anyone have examples?


sorry for tripple posting  Cool

they have a calc = http://boolberry.extremepool.org/
actual 900khash/s = 4.6BBR/day x 0,0005btc = 0,0023btc
Thanks.  What's the best BBR pool?  The link had 1 active miner on that pool.
Also, is there a short guide on where to get the miner and how to configure?

There ia a pool list in the first post of main thread.

I will put something together and place in first post of this thread.

Are any of the pools working properly with the OpenCL simpleminer? I try to mine, but it seem like the shares aren't being submitted and/or I have the setup wrong? What's the exact setup up for the simpleminer? I mine fine with the simpleminer for cpu and the cpu multi-miner.

Make sure you are using the HTTP port which is usually 1111.
SpeedDemon13
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
July 25, 2014, 12:31:37 AM
 #55

If a 280x can mine BBR at 900khs then what does that come out to per day in BTC at current prices?  Anyone have examples?


sorry for tripple posting  Cool

they have a calc = http://boolberry.extremepool.org/
actual 900khash/s = 4.6BBR/day x 0,0005btc = 0,0023btc
Thanks.  What's the best BBR pool?  The link had 1 active miner on that pool.
Also, is there a short guide on where to get the miner and how to configure?

There ia a pool list in the first post of main thread.

I will put something together and place in first post of this thread.

Are any of the pools working properly with the OpenCL simpleminer? I try to mine, but it seem like the shares aren't being submitted and/or I have the setup wrong? What's the exact setup up for the simpleminer? I mine fine with the simpleminer for cpu and the cpu multi-miner.

Make sure you are using the HTTP port which is usually 1111.

I did.

CRYPTSY exchange: https://www.cryptsy.com/users/register?refid=9017 BURST= BURST-TE3W-CFGH-7343-6VM6R BTC=1CNsqGUR9YJNrhydQZnUPbaDv6h4uaYCHv ETH=0x144bc9fe471d3c71d8e09d58060d78661b1d4f32 SHF=0x13a0a2cb0d55eca975cf2d97015f7d580ce52d85 EXP=0xd71921dca837e415a58ca0d6dd2223cc84e0ea2f SC=6bdf9d12a983fed6723abad91a39be4f95d227f9bdb0490de3b8e5d45357f63d564638b1bd71 CLAMS=xGVTdM9EJpNBCYAjHFVxuZGcqvoL22nP6f SOIL=0x8b5c989bc931c0769a50ecaf9ffe490c67cb5911
BChydro
Hero Member
*****
Offline Offline

Activity: 1426
Merit: 506


View Profile
July 25, 2014, 03:18:12 AM
 #56

The download link for windows binary doesn't work?
istvandv
Sr. Member
****
Offline Offline

Activity: 342
Merit: 250


View Profile
July 25, 2014, 03:51:04 AM
 #57

ok then you can add to the test matrix 6990 1160 kh/s
6950 540 kh/s

if there is any hardware matrix i would add the results

(note  the results are with the 2 % fee added. dunno if devel makes the hardware hash slower with fees are disabled)

Specs:
OS = Ubuntu 12.04 64bit
GPU = 7850 1GB Pitcairn
driver =  14.6
Hashrate: 490 kh/s
compiled without issues on my end

is there a way to tweak memclock or engine clock on linux?

         ▄███████████████▄
       ▄██▀             ▀██▄
    ▄▄██▀                 ▀██▄▄
█████▀▀       ▄▀▀▀▀▀▀▀▄▄    ▀▀█████
██          ▄▀ ▄▄▄▀▀▀▀▄▀█▄▄      ██
▐█▌       ▄▀ ▄▀ ▄▄▄▀▀▀▄▀▀▀███   ▐█▌
 ██      ▄▀▄▀▄▀▀▄▄▄▀▀▀▀▀█ ▄█▀   ██
 ▐█▌    █▄▀▄▀▄█▀▀▀ ▀█▀ ▄▀▄▀█   ▐█▌
  ██    █▄▀▄▀▄▄█▀ ▄▀ ▄▀▄▀▄▀█   ██
  ▐█▌ ▀▄█████▀▄▄▀▀▄▄▀▄▀▄▀▄▀█  ▐█▌
   ██▌▀████▀██▄▄▀▀▄▄▀▄▀▄▀▄█▀ ▐██
    ██▌▀█▀▀█▄▀▀▄▀▀▄▄▀▄█▄▄█▀ ▐██
     ██▌ ▀  ▀███▄▄▄█████▀  ▐██
      ██▄      ▀▀▀▀▀      ▄██
       ▀██▄             ▄██▀
         ▀██▄         ▄██▀
           ▀██▄     ▄██▀
             ▀███▄███▀
               ▀███▀
DeepOnion 
★ ★ ★ ★ ★   ❱❱❱ JOIN AIRDROP NOW!
TOR INTEGRATED & SECURED
★  Your Anonymity Guaranteed
★  Your Assets Secured by TOR
★  Guard Your Privacy!
|Bitcointalk
Reddit
Telegram
|                        ▄▄▀▄▄▀▄▄▀▄▀▀
                    ▄▄██▀█▀▄▀▀▀
                  ▄██▄█▄██▀
                ▄██████▀
              ▄██████▀
  ▄█▄▄▄▄▄▄▄▄▄██████▀
██████▀▀▀▀▀██████▀
 ▀█████  ▄███████
  ████████████▀██
  ██▀███████▀  ██
  ██ ▀████▀    ██
  ██   ▀▀      ██
  ▀█████████████▀
azhago
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
July 25, 2014, 06:06:44 AM
Last edit: July 25, 2014, 07:03:04 AM by azhago
 #58

Hi,
i'm trying to use windows binaries, but i got this :
Quote
2014-Jul-25 09:00:14.707796 [P2P4]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!
2014-Jul-25 09:00:14.727796 Miner thread was started
2014-Jul-25 09:00:14.737796 [miner 0][OCL 0/0] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.827797 Miner thread was started [1]
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:14.927797 Miner thread was started [2]
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:15.027797 Miner thread was started [3]
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:15.127797 [P2P4]Mining has started with 5 threads, good luck!
2014-Jul-25 09:00:15.127797 [P2P4][81.31.38.5:10101 OUT] COMMAND_HANDSHAKE INVOK
ED OK
2014-Jul-25 09:00:15.137797 [P2P7]Connecting to 54.90.184.240:10101(white=1, las
t_seen: d0.h0.m9.s45)...
2014-Jul-25 09:00:15.127797 Miner thread was started [4]
2014-Jul-25 09:00:15.187797 [miner 4][OCL 0/4] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:15.207797 [miner 4][OCL 0/4] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:15.217797 [miner 4][OCL 0/4] platform index must me between 0
and 4294967295

So, only one card out of 5 can mine.

i run this command line : boolbd --start-mining=1JNsCgTA1pK7ksYpZPsDDV7HihrAN5JKMTNA17fwk6aQD2CknCd34A5UKaZBxft8B9Z6mKFxKuWkheccMdbda2iARS88Y6r --mining-threads=5

In the .json file, i got this :
Quote
{
  "current_extra_message_index": 0,
  "device_index": 0,
  "difficulty": 16777215,
  "donation_decision": true,
  "donation_decision_made": false,
  "donation_descision": true,
  "donation_percent_opencl": "2.0",
  "kernel": "wild_keccak.cl",
  "kernel_type": 0,
  "platform_index": 0,
  "thread_delay": 100,
  "work_size": 262144
}

What did i do wrong?

SpeedDemon13
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
July 25, 2014, 07:14:19 AM
 #59

Hi,
i'm trying to use windows binaries, but i got this :
Quote
2014-Jul-25 09:00:14.707796 [P2P4]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!
2014-Jul-25 09:00:14.727796 Miner thread was started
2014-Jul-25 09:00:14.737796 [miner 0][OCL 0/0] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.827797 Miner thread was started [1]
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:14.927797 Miner thread was started [2]
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:15.027797 Miner thread was started [3]
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:15.127797 [P2P4]Mining has started with 5 threads, good luck!
2014-Jul-25 09:00:15.127797 [P2P4][81.31.38.5:10101 OUT] COMMAND_HANDSHAKE INVOK
ED OK
2014-Jul-25 09:00:15.137797 [P2P7]Connecting to 54.90.184.240:10101(white=1, las
t_seen: d0.h0.m9.s45)...
2014-Jul-25 09:00:15.127797 Miner thread was started [4]
2014-Jul-25 09:00:15.187797 [miner 4][OCL 0/4] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:15.207797 [miner 4][OCL 0/4] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:15.217797 [miner 4][OCL 0/4] platform index must me between 0
and 4294967295

So, only one card out of 5 can mine.

i run this command line : boolbd --start-mining=1JNsCgTA1pK7ksYpZPsDDV7HihrAN5JKMTNA17fwk6aQD2CknCd34A5UKaZBxft8B9Z6mKFxKuWkheccMdbda2iARS88Y6r --mining-threads=5

In the .json file, i got this :
Quote
{
  "current_extra_message_index": 0,
  "device_index": 0,
  "difficulty": 16777215,
  "donation_decision": true,
  "donation_decision_made": false,
  "donation_descision": true,
  "donation_percent_opencl": "2.0",
  "kernel": "wild_keccak.cl",
  "kernel_type": 0,
  "platform_index": 0,
  "thread_delay": 100,
  "work_size": 262144
}

--mining-threads=1

No matter how many cards you run, it's in the read me from the source.

The download link for windows binary doesn't work?

Read the main thread for BBR, there is a new update miner to download.

What did i do wrong?


CRYPTSY exchange: https://www.cryptsy.com/users/register?refid=9017 BURST= BURST-TE3W-CFGH-7343-6VM6R BTC=1CNsqGUR9YJNrhydQZnUPbaDv6h4uaYCHv ETH=0x144bc9fe471d3c71d8e09d58060d78661b1d4f32 SHF=0x13a0a2cb0d55eca975cf2d97015f7d580ce52d85 EXP=0xd71921dca837e415a58ca0d6dd2223cc84e0ea2f SC=6bdf9d12a983fed6723abad91a39be4f95d227f9bdb0490de3b8e5d45357f63d564638b1bd71 CLAMS=xGVTdM9EJpNBCYAjHFVxuZGcqvoL22nP6f SOIL=0x8b5c989bc931c0769a50ecaf9ffe490c67cb5911
PVmining
Sr. Member
****
Offline Offline

Activity: 330
Merit: 252



View Profile
July 25, 2014, 09:37:50 AM
 #60

mbk...
I edited the findopenCL.cmake file to spit out some "messages" between the codelines.
Its obvious that everything works fine till the end. He found the cuda_paths & openCL, versions. yes, we already know that because of the logs.

but at the end goes something wrong:

Code:
  # Find the library
  find_library(OPENCL_LIBRARY OpenCL
    PATHS /lib${_OPENCL_LIB_DIR_SUFFIX}
    ${_OPENCL_LIB_OPTS}
    ${_OPENCL_ROOT_OPTS}
  )

  # Restore the original search paths
  set(CMAKE_FIND_ROOT_PATH ${_CMAKE_FIND_ROOT_PATH})

XXX

  include(FindPackageHandleStandardArgs)
  FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenCL
    REQUIRED_VARS OPENCL_INCLUDE_DIR OPENCL_LIBRARY
    VERSION_VAR OPENCL_VERSION_STRING
  )
  if(OPENCL_FOUND)
    set(OPENCL_INCLUDE_DIRS ${OPENCL_INCLUDE_DIR})
    set(OPENCL_LIBRARIES ${OPENCL_LIBRARY})
  endif()
endif()

the cmake funktion after "XXX" include FIND_PACKAGE_HANDLE_STANDARD_ARGS returns the error.
but why FIND_PACKAGE_HANDLE_STANDARD_ARGS could not deal with the paths found before?

is there a possibility I could print out the value of the variables while compiling (message XYZ)?
then I could check what path's he exactly found before.

Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!