Bitcoin Forum
September 24, 2017, 01:29:59 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [All]
  Print  
Author Topic: RPC Miners (CPU/4way/CUDA/OpenCL)  (Read 542879 times)
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 24, 2010, 07:27:43 PM
 #1

Here's some RPC miners for all those mining via RPC.  There's a CPU miner based on the Crypto++ code, a 4way miner using the 4way code included with Bitcoin, and a CUDA and OpenCL miner.  The included readme.txt has instructions on how to supply arguments to the miners.  Supplying a -help argument to the executable will show you the available options as well.

Want these miners as a screensaver?  See this thread.

Downloads (Updated 2011-02-27)
RPC Miner Windows Binaries
RPC Miner Source

Use the CUDA miner for NVidia cards.
Use the OpenCL miner for ATI cards.
Use CMake to compile from the source.

Tweaking command line parameters for the CUDA and OpenCL miners will be necessary if you want to get optimum performance.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
December 25, 2010, 12:52:32 PM
 #2

Just checked for compatibility with the server http://mining.bitcoin.cz/ and it works fine!
I think slush should add link to these miners on his website. Done a really great job! Cheesy

Barnabe
Sr. Member
****
Offline Offline

Activity: 476


View Profile
December 25, 2010, 04:16:31 PM
 #3

What are the best settings for a  ATI 5850m ?

Ps: Your program is running fine good job  Cheesy


 
 
           ▄████▄
         ▄████████▄
       ▄████████████▄
     ▄████████████████▄
    ████████████████████      ▄█▄                 ▄███▄                 ▄███▄                 ▄████████████████▀   ▄██████████

  ▄▄▄▀█████▀▄▄▄▄▀█████▀▄▄▄     ▀██▄             ▄██▀ ▀██▄             ▄██▀ ▀██▄             ▄██▀                   ██
▄█████▄▀▀▀▄██████▄▀▀▀▄█████▄     ▀██▄         ▄██▀     ▀██▄         ▄██▀     ▀██▄         ▄██▀        ▄█▄          ▀██████████████▄
████████████████████████████       ▀██▄     ▄██▀         ▀██▄     ▄██▀         ▀██▄     ▄██▀          ▀█▀                        ██
 ▀████████████████████████▀          ▀██▄ ▄██▀             ▀██▄ ▄██▀     ▄█▄     ▀██▄ ▄██▀                                       ██
   ▀████████████████████▀              ▀███▀                 ▀███▀       ▀█▀       ▀███▀      ▄███████████████████████████████████▀
     ▀████████████████▀
       ▀████████████▀
         ▀████████▀
           ▀████▀
║║


║║
.
.

║║
██
║║
.
.

║║
██
║║
.
║║


║║
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 27, 2010, 03:21:21 PM
 #4

What are the best settings for a  ATI 5850m ?

Ps: Your program is running fine good job  Cheesy

Play with the -aggression, -gputhreads, and -gpugrid parameters.

dishwara
Legendary
*
Offline Offline

Activity: 1512



View Profile
December 27, 2010, 03:55:49 PM
 #5

Help needed for rpcminer

C:\Users\Administrator\Desktop\bitcoin-rpcminer-20101224-win32bin\rpcminer-cpu.exe -gpu -url=http://mining.bitcoin.cz:8332 -user=hidden -password=hidden -threads=2
If i run this i get around 2000+ khash & also hash for every 30 minutes or so.

But if i run this
C:\Users\Administrator\Desktop\bitcoin-rpcminer-20101224-win32bin\rpcminer-opencl.exe -gpu -url=http://mining.bitcoin.cz:8332 -user=hidden -password=hidden

i get this


C:\Users\Administrator\Desktop\bitcoin-rpcminer-20101224-win32bin>C:\Users\Admin
istrator\Desktop\bitcoin-rpcminer-20101224-win32bin\rpcminer-opencl.exe -gpu -ur
l=http://mining.bitcoin.cz:8332 -user=hidden -password=hidden
Client will start 1 miner threads
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Create context rval=0
Create command queue rval=0
Creating program with source
Building program
Build program rval=-11
build STATUS:■   
build LOG:<program source>:66:2: error: call to 'rotate' is ambiguous
        sharound(A1,B1,C1,D1,E1,F1,G1,H1,in->m_merkle,0x428A2F98);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<program source>:43:46: note: instantiated from:
#define sharound(a,b,c,d,e,f,g,h,x,K) {t1=h+(rotateright(e,6)^rotateright(e,11)^
rotateright(e,25))+(g^(e&(f^g)))+K+x; t2=(rotateright(a,2)^rotateright(a,13)^rot
ateright(a,22))+((a&b)|(c&(a|b))); d+=t1; h=t1+t2;}
                                             ^
<program source>:41:30: note: instantiated from:
#define rotateright(x,bits) (rotate(x,32-bits))
                             ^~~~~~
<built-in>:2967:24: note: candidate function
ulong __OVERLOADABLE__ rotate(ulong, ulong);
                       ^
<built-in>:2966:23: note: candidate function
long __OVERLOADABLE__ rotate(long, long);
                      ^
<built-in>:2965:23: note: candidate function
uint __OVERLOADABLE__ rotate(uint, uint);
                      ^
<built-in>:2964:22: note: candidate functi☻╚)▬☻2╥tEv∟BCreate kernel rval=-45
Done allocating OpenCL resources for (16,16)
Finding best configuration step end (16,16) 3ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (16,32)
Finding best configuration step end (16,32) 3ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (16,64)
Finding best configuration step end (16,64) 2ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (16,128)
Finding best configuration step end (16,128) 2ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (16,256)
Finding best configuration step end (16,256) 2ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (32,16)
Finding best configuration step end (32,16) 2ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (32,32)
Finding best configuration step end (32,32) 3ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (32,64)
Finding best configuration step end (32,64) 3ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (32,128)
Finding best configuration step end (32,128) 2ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (32,256)
Finding best configuration step end (32,256) 2ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (64,16)
Finding best configuration step end (64,16) 3ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (64,32)
Finding best configuration step end (64,32) 2ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (64,64)
Finding best configuration step end (64,64) 2ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (64,128)
Finding best configuration step end (64,128) 2ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (64,256)
Finding best configuration step end (64,256) 2ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (128,16)
Target = ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000
Finding best configuration step end (128,16) 3ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (128,32)
Finding best configuration step end (128,32) 2ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (128,64)
Finding best configuration step end (128,64) 3ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (128,128)
Finding best configuration step end (128,128) 3ms  prev best=9223372036854775807
ms
Done allocating OpenCL resources for (128,256)
Finding best configuration step end (128,256) 2ms  prev best=9223372036854775807
ms
Done allocating OpenCL resources for (16,16)
17422 khash/s
19043 khash/s
19026 khash/s
18905 khash/s


Even though it shows 18000+ khash, 10 times more than cpu generation, i dont get any hash found even i run for hours.
I have nvidia zotac geforce 9400GT 1GB graphics card with driver from zotac. Version 258.96.
I don't understand what is the problem.
I even tried 260 version nvidia driver, still same.
Any one know solution?
Also every time i start bitcoin 0.3.19 ,  i get wxWidgets debug alert
But cancelling allows bitcoin to work correctly , send & receive bitcoins.
Some one help to solve problem.
Thanks.
 

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 27, 2010, 04:25:06 PM
 #6

Help needed for rpcminer

Use the CUDA miner for NVidia cards.  The OpenCL kernel code was unable to compile on your system, that's why it doesn't work.

puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 29, 2010, 04:05:12 PM
 #7

The first post has been updated with a new release.  Now you can specify how often work gets requested from the server, and you can specify a url to show server stats in the client.

uncaer9
Sr. Member
****
Offline Offline

Activity: 418


View Profile
December 29, 2010, 04:49:38 PM
 #8

Hello. I'm new at this forum. When i run make, I'm getting this:

Quote
[  1%] Building NVCC (Device) object cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
/usr/include/surface_functions.h: In function ‘void surf1Dread(T*, surface<void, 1>, int, int, cudaSurfaceBoundaryMode)’:                                                            
/usr/include/surface_functions.h:100:95: error: there are no arguments to ‘__surf1Dreadc1’ that depend on a template parameter, so a declaration of ‘__surf1Dreadc1’ must be available
/usr/include/surface_functions.h:100:95: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/surface_functions.h:101:96: error: there are no arguments to ‘__surf1Dreads1’ that depend on a template parameter, so a declaration of ‘__surf1Dreads1’ must be available
/usr/include/surface_functions.h:102:94: error: there are no arguments to ‘__surf1Dreadu1’ that depend on a template parameter, so a declaration of ‘__surf1Dreadu1’ must be available
/usr/include/surface_functions.h:103:94: error: there are no arguments to ‘__surf1Dreadu2’ that depend on a template parameter, so a declaration of ‘__surf1Dreadu2’ must be available
/usr/include/surface_functions.h:104:95: error: there are no arguments to ‘__surf1Dreadu4’ that depend on a template parameter, so a declaration of ‘__surf1Dreadu4’ must be available
/usr/include/surface_functions.h: In function ‘void surf2Dread(T*, surface<void, 2>, int, int, int, cudaSurfaceBoundaryMode)’:
/usr/include/surface_functions.h:460:98: error: there are no arguments to ‘__surf2Dreadc1’ that depend on a template parameter, so a declaration of ‘__surf2Dreadc1’ must be available
/usr/include/surface_functions.h:461:99: error: there are no arguments to ‘__surf2Dreads1’ that depend on a template parameter, so a declaration of ‘__surf2Dreads1’ must be available
/usr/include/surface_functions.h:462:97: error: there are no arguments to ‘__surf2Dreadu1’ that depend on a template parameter, so a declaration of ‘__surf2Dreadu1’ must be available
/usr/include/surface_functions.h:463:97: error: there are no arguments to ‘__surf2Dreadu2’ that depend on a template parameter, so a declaration of ‘__surf2Dreadu2’ must be available
/usr/include/surface_functions.h:464:98: error: there are no arguments to ‘__surf2Dreadu4’ that depend on a template parameter, so a declaration of ‘__surf2Dreadu4’ must be available
CMake Error at CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.cmake:256 (message):
  Error generating file
  /home/uncaer9/bitcoin-remote-rpc-20101229-src/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
I'm using ArchLinux 64bit with gcc gcc-4.5.1-2 and cuda cuda-3.2.16-1. Can someone make amd64 binaries for me?

           ▄▄▄███████████▄▄▄
       ▄▄█████▀▀▀▀▀▀▀▀▀▀▀█████▄▄
     ▄████▀                 ▀████▄
   ▄███▀
  ▄██▀
 ▄██▀   ▄█████████████████████▄
▄██▀    ████████▀▀   ▀▀████████
███     ██████▀  ██▄▄   ▀██████     ███
███     ██████   ██████  ██████     ███
███     ██████▄  ██▀▀   ▄██████     ███
▀██▄    ████████▄▄   ▄▄████████    ▄██▀
 ▀██▄   ▀█████████████████████▀   ▄██▀
  ▀██▄                           ▄██▀
   ▀███▄                       ▄███▀
     ▀████▄                 ▄████▀
       ▀▀█████▄▄▄▄▄▄▄▄▄▄▄█████▀▀
           ▀▀▀███████████▀▀▀
PUREVIDZ█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
[][████████████████████████████
████████████████████████████

▄               ▄█████▄   ▄▄
██▄           ▄███████████▀
████▄        ▄█████████████▀
▀█████▄▄     ████████████▀
 ▀██████████▄████████████
█████████████████████████
 ███████████████████████▀
  ▀█████████████████████
  ▄▄███████████████████
   ███████████████████
    ▀▀██████████████▀
     ▄▄███████████▀
▀███████████████▀
  ▀▀████████▀▀
]█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 29, 2010, 09:26:02 PM
 #9

Hello. I'm new at this forum. When i run make, I'm getting this:

[  1%] Building NVCC (Device) object cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
/usr/include/surface_functions.h: In function ‘void surf1Dread(T*, surface<void, 1>, int, int, cudaSurfaceBoundaryMode)’:                                                            
/usr/include/surface_functions.h:100:95: error: there are no arguments to ‘__surf1Dreadc1’ that depend on a template parameter, so a declaration of ‘__surf1Dreadc1’ must be available

You can try to edit the cmake generated makefiles with the workaround found in this thread

uncaer9
Sr. Member
****
Offline Offline

Activity: 418


View Profile
December 30, 2010, 10:59:11 AM
 #10

Hello. I'm new at this forum. When i run make, I'm getting this:

[  1%] Building NVCC (Device) object cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
/usr/include/surface_functions.h: In function ‘void surf1Dread(T*, surface<void, 1>, int, int, cudaSurfaceBoundaryMode)’:                                                            
/usr/include/surface_functions.h:100:95: error: there are no arguments to ‘__surf1Dreadc1’ that depend on a template parameter, so a declaration of ‘__surf1Dreadc1’ must be available

You can try to edit the cmake generated makefiles with the workaround found in this thread

Now i got second problem:

http://pastebin.com/iuPqmFZx


If I turn off GUI compilation, I get this:

http://pastebin.com/spHtyDcD

Could you make binary package please?
P.S Błąd means Error

           ▄▄▄███████████▄▄▄
       ▄▄█████▀▀▀▀▀▀▀▀▀▀▀█████▄▄
     ▄████▀                 ▀████▄
   ▄███▀
  ▄██▀
 ▄██▀   ▄█████████████████████▄
▄██▀    ████████▀▀   ▀▀████████
███     ██████▀  ██▄▄   ▀██████     ███
███     ██████   ██████  ██████     ███
███     ██████▄  ██▀▀   ▄██████     ███
▀██▄    ████████▄▄   ▄▄████████    ▄██▀
 ▀██▄   ▀█████████████████████▀   ▄██▀
  ▀██▄                           ▄██▀
   ▀███▄                       ▄███▀
     ▀████▄                 ▄████▀
       ▀▀█████▄▄▄▄▄▄▄▄▄▄▄█████▀▀
           ▀▀▀███████████▀▀▀
PUREVIDZ█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
[][████████████████████████████
████████████████████████████

▄               ▄█████▄   ▄▄
██▄           ▄███████████▀
████▄        ▄█████████████▀
▀█████▄▄     ████████████▀
 ▀██████████▄████████████
█████████████████████████
 ███████████████████████▀
  ▀█████████████████████
  ▄▄███████████████████
   ███████████████████
    ▀▀██████████████▀
     ▄▄███████████▀
▀███████████████▀
  ▀▀████████▀▀
]█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 30, 2010, 03:13:45 PM
 #11


If I turn off GUI compilation, I get this:

http://pastebin.com/spHtyDcD

Turn off the daemon compilation as well.  You only need the RPC miner.  Although you will run into the same issue with the miner, see below for the workaround that should compile.  GCC doesn't seem to support returning an iterator as the result of an erase on a container.

In rpcminerclient.cpp, replace the CleanupOldBlocks() method with this
Code:
void RPCMinerClient::CleanupOldBlocks()
{
std::vector<int64> m_erase;

for(std::map<int64,std::pair<int64,std::vector<unsigned char> > >::iterator i=m_blocklookup.begin(); i!=m_blocklookup.end(); i++)
{
if((*i).second.first<GetTimeMillis()-60000)
{
m_erase.push_back((*i).first);
}
}

for(std::vector<int64>::const_iterator i=m_erase.begin(); i!=m_erase.end(); i++)
{
m_blocklookup.erase((*i));
}
}

Quote
Could you make binary package please?

There's a windows binary in the first post.  All other platforms need to compile for themselves.

uncaer9
Sr. Member
****
Offline Offline

Activity: 418


View Profile
December 30, 2010, 03:33:28 PM
 #12

http://pastebin.com/mZVZHJZx

I'm thinking about going back to "Evil Commercial OS."  Wink
If I will get some BTC soon, I will donate it to you for sure.

           ▄▄▄███████████▄▄▄
       ▄▄█████▀▀▀▀▀▀▀▀▀▀▀█████▄▄
     ▄████▀                 ▀████▄
   ▄███▀
  ▄██▀
 ▄██▀   ▄█████████████████████▄
▄██▀    ████████▀▀   ▀▀████████
███     ██████▀  ██▄▄   ▀██████     ███
███     ██████   ██████  ██████     ███
███     ██████▄  ██▀▀   ▄██████     ███
▀██▄    ████████▄▄   ▄▄████████    ▄██▀
 ▀██▄   ▀█████████████████████▀   ▄██▀
  ▀██▄                           ▄██▀
   ▀███▄                       ▄███▀
     ▀████▄                 ▄████▀
       ▀▀█████▄▄▄▄▄▄▄▄▄▄▄█████▀▀
           ▀▀▀███████████▀▀▀
PUREVIDZ█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
[][████████████████████████████
████████████████████████████

▄               ▄█████▄   ▄▄
██▄           ▄███████████▀
████▄        ▄█████████████▀
▀█████▄▄     ████████████▀
 ▀██████████▄████████████
█████████████████████████
 ███████████████████████▀
  ▀█████████████████████
  ▄▄███████████████████
   ███████████████████
    ▀▀██████████████▀
     ▄▄███████████▀
▀███████████████▀
  ▀▀████████▀▀
]█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 30, 2010, 04:22:10 PM
 #13

http://pastebin.com/mZVZHJZx

I'm thinking about going back to "Evil Commercial OS."  Wink
If I will get some BTC soon, I will donate it to you for sure.

It looks like it's still trying to build the remote miner.  You can edit the CMakeLists.txt file in the top directory, and turn off all the options except the RPC miner and the CUDA option if that's what you want.

uncaer9
Sr. Member
****
Offline Offline

Activity: 418


View Profile
December 30, 2010, 04:40:19 PM
 #14

Quote
CMake Error at CMakeLists.txt:65 (MESSAGE):
  Nothing to build.  You must build the GUI, Daemon, or Remote Miner.

I just need working GPU Miner compatible with slush's pooled mining. I already tried Diablo's Miner, but openCL freezes my desktop.

           ▄▄▄███████████▄▄▄
       ▄▄█████▀▀▀▀▀▀▀▀▀▀▀█████▄▄
     ▄████▀                 ▀████▄
   ▄███▀
  ▄██▀
 ▄██▀   ▄█████████████████████▄
▄██▀    ████████▀▀   ▀▀████████
███     ██████▀  ██▄▄   ▀██████     ███
███     ██████   ██████  ██████     ███
███     ██████▄  ██▀▀   ▄██████     ███
▀██▄    ████████▄▄   ▄▄████████    ▄██▀
 ▀██▄   ▀█████████████████████▀   ▄██▀
  ▀██▄                           ▄██▀
   ▀███▄                       ▄███▀
     ▀████▄                 ▄████▀
       ▀▀█████▄▄▄▄▄▄▄▄▄▄▄█████▀▀
           ▀▀▀███████████▀▀▀
PUREVIDZ█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
[][████████████████████████████
████████████████████████████

▄               ▄█████▄   ▄▄
██▄           ▄███████████▀
████▄        ▄█████████████▀
▀█████▄▄     ████████████▀
 ▀██████████▄████████████
█████████████████████████
 ███████████████████████▀
  ▀█████████████████████
  ▄▄███████████████████
   ███████████████████
    ▀▀██████████████▀
     ▄▄███████████▀
▀███████████████▀
  ▀▀████████▀▀
]█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 30, 2010, 04:50:08 PM
 #15

Quote
CMake Error at CMakeLists.txt:65 (MESSAGE):
  Nothing to build.  You must build the GUI, Daemon, or Remote Miner.

You can safely remove the line from the CMakeLists.txt file where that message appears.

uncaer9
Sr. Member
****
Offline Offline

Activity: 418


View Profile
December 30, 2010, 04:55:51 PM
 #16

Quote
[  6%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/httprequest.cpp: In static member function ‘static size_t HTTPRequest::ReadData(void*, size_t, size_t, void*)’:                                                                                
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/httprequest.cpp:101:3: error: ‘::memcpy’ has not been declared
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/httprequest.cpp: In static member function ‘static size_t HTTPRequest::WriteData(void*, size_t, size_t, void*)’:
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/httprequest.cpp:118:3: error: ‘::memcpy’ has not been declared
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o] Błąd 1
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Błąd 2
make: *** [all] Błąd 2

           ▄▄▄███████████▄▄▄
       ▄▄█████▀▀▀▀▀▀▀▀▀▀▀█████▄▄
     ▄████▀                 ▀████▄
   ▄███▀
  ▄██▀
 ▄██▀   ▄█████████████████████▄
▄██▀    ████████▀▀   ▀▀████████
███     ██████▀  ██▄▄   ▀██████     ███
███     ██████   ██████  ██████     ███
███     ██████▄  ██▀▀   ▄██████     ███
▀██▄    ████████▄▄   ▄▄████████    ▄██▀
 ▀██▄   ▀█████████████████████▀   ▄██▀
  ▀██▄                           ▄██▀
   ▀███▄                       ▄███▀
     ▀████▄                 ▄████▀
       ▀▀█████▄▄▄▄▄▄▄▄▄▄▄█████▀▀
           ▀▀▀███████████▀▀▀
PUREVIDZ█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
[][████████████████████████████
████████████████████████████

▄               ▄█████▄   ▄▄
██▄           ▄███████████▀
████▄        ▄█████████████▀
▀█████▄▄     ████████████▀
 ▀██████████▄████████████
█████████████████████████
 ███████████████████████▀
  ▀█████████████████████
  ▄▄███████████████████
   ███████████████████
    ▀▀██████████████▀
     ▄▄███████████▀
▀███████████████▀
  ▀▀████████▀▀
]█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 30, 2010, 05:02:14 PM
 #17

Quote
[  6%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/httprequest.cpp: In static member function ‘static size_t HTTPRequest::ReadData(void*, size_t, size_t, void*)’:                                                                               
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/httprequest.cpp:101:3: error: ‘::memcpy’ has not been declared
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/httprequest.cpp: In static member function ‘static size_t HTTPRequest::WriteData(void*, size_t, size_t, void*)’:
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/httprequest.cpp:118:3: error: ‘::memcpy’ has not been declared
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o] Błąd 1
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Błąd 2
make: *** [all] Błąd 2

At the top of httprequest.cpp and rpcrequest.cpp add this right after the other #includes
Code:
#include <cstring>

uncaer9
Sr. Member
****
Offline Offline

Activity: 418


View Profile
December 30, 2010, 05:12:48 PM
 #18

http://pastebin.com/w7Qevuwh

After adding also #include<iostream> to httprequest.cpp it compiled, but it don't fix problem in second file.

           ▄▄▄███████████▄▄▄
       ▄▄█████▀▀▀▀▀▀▀▀▀▀▀█████▄▄
     ▄████▀                 ▀████▄
   ▄███▀
  ▄██▀
 ▄██▀   ▄█████████████████████▄
▄██▀    ████████▀▀   ▀▀████████
███     ██████▀  ██▄▄   ▀██████     ███
███     ██████   ██████  ██████     ███
███     ██████▄  ██▀▀   ▄██████     ███
▀██▄    ████████▄▄   ▄▄████████    ▄██▀
 ▀██▄   ▀█████████████████████▀   ▄██▀
  ▀██▄                           ▄██▀
   ▀███▄                       ▄███▀
     ▀████▄                 ▄████▀
       ▀▀█████▄▄▄▄▄▄▄▄▄▄▄█████▀▀
           ▀▀▀███████████▀▀▀
PUREVIDZ█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
[][████████████████████████████
████████████████████████████

▄               ▄█████▄   ▄▄
██▄           ▄███████████▀
████▄        ▄█████████████▀
▀█████▄▄     ████████████▀
 ▀██████████▄████████████
█████████████████████████
 ███████████████████████▀
  ▀█████████████████████
  ▄▄███████████████████
   ███████████████████
    ▀▀██████████████▀
     ▄▄███████████▀
▀███████████████▀
  ▀▀████████▀▀
]█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 30, 2010, 07:33:31 PM
 #19

http://pastebin.com/w7Qevuwh

After adding also #include<iostream> to httprequest.cpp it compiled, but it don't fix problem in second file.

I've updated the source package in the first post with some of the compile fixes.  I think I got most of the issues in your paste, but I don't understand why this error happens here.

Code:
#
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/../minercommon/../util.h:155:5: error: previous declaration of ‘int OutputDebugStringF(const char*, ...)’ with ‘C++’ linkage
#
/usr/include/stdio.h:359:58: error: conflicts with new declaration with ‘C’ linkage
#
/home/uncaer9/bitcoin-remote-rpc-20101229-src/src/rpcminer/../minercommon/../util.h:156:5: error: previous declaration of ‘int my_snprintf(char*, size_t, const char*, ...)’ with ‘C++’ linkage

Maybe some of the other fixes will resolve this as well.

doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
December 31, 2010, 04:25:19 AM
 #20

Trying to run the binaries on Windows it gives an error saying that OpenLDAP.DLL is missing. Should that be included in the .zip file?
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 31, 2010, 03:23:28 PM
 #21

Trying to run the binaries on Windows it gives an error saying that OpenLDAP.DLL is missing. Should that be included in the .zip file?

openldap.dll is in the binary zip file.

puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
December 31, 2010, 11:26:45 PM
 #22

I've updated the first post with the latest release.  This fixes a crash that would occur when the work being hashed became stale due to connectivity issues with the server.

WSDN
Full Member
***
Offline Offline

Activity: 132



View Profile
January 01, 2011, 08:39:22 PM
 #23

please any can post some screenshot with a shoort tutorial i have windows xp64 and a phenom x6 8gb ram and video card nvidia gt240 1 gb ram gddr5 i need use my video card with my processor i obtain 7800 khash/s =(

▛ [ CENTRA ] Multi-Blockchain Worldwide Debit Card & Insured Wallet
▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚
▙     FacebookSlackTwitterGithubMediumANN Thread     ▟
WSDN
Full Member
***
Offline Offline

Activity: 132



View Profile
January 01, 2011, 08:53:30 PM
 #24

 Embarrassed



and the results


please i need help!  Huh


▛ [ CENTRA ] Multi-Blockchain Worldwide Debit Card & Insured Wallet
▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚
▙     FacebookSlackTwitterGithubMediumANN Thread     ▟
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
January 01, 2011, 09:45:23 PM
 #25

Embarrassed



and the results


please i need help!  Huh



You have totally incorrect parameters.  Do rpcminer-cuda -help to see the available command line options.  You'll need at least -url, -user, -password, and -gpu if you want to use your video card.

WSDN
Full Member
***
Offline Offline

Activity: 132



View Profile
January 02, 2011, 03:24:27 AM
 #26

thanks for the reply puddinpop

and is possible to use with my bitcoin client? or is only for use for a external pool service ?

▛ [ CENTRA ] Multi-Blockchain Worldwide Debit Card & Insured Wallet
▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚
▙     FacebookSlackTwitterGithubMediumANN Thread     ▟
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
January 02, 2011, 03:45:15 PM
 #27

thanks for the reply puddinpop

and is possible to use with my bitcoin client? or is only for use for a external pool service ?

rpcminer-cuda -url=http://127.0.0.1:8332 -user=username -password=password -gpu

WSDN
Full Member
***
Offline Offline

Activity: 132



View Profile
January 02, 2011, 05:36:50 PM
 #28

Quote
rpcminer-cuda -url=http://127.0.0.1:8332 -user=username -password=password -gpu

thanks Cheesy and other questions? i run cuda i an run generate in the client too or only one ?

▛ [ CENTRA ] Multi-Blockchain Worldwide Debit Card & Insured Wallet
▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚
▙     FacebookSlackTwitterGithubMediumANN Thread     ▟
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
January 02, 2011, 08:21:35 PM
 #29

Quote
rpcminer-cuda -url=http://127.0.0.1:8332 -user=username -password=password -gpu

thanks Cheesy and other questions? i run cuda i an run generate in the client too or only one ?

You can download the source from the first post and compile the GUI or daemon with the CUDA miner built in.

Ricochet
Sr. Member
****
Offline Offline

Activity: 373



View Profile
January 04, 2011, 05:24:10 AM
 #30

Successfully obtained a share on Slush's pooled mining service using this CUDA miner.  Was afraid it wasn't going to work properly for a bit there.  My only concern is that it constantly switches from a high number of khash/s to 0, back and forth, constantly.  See the following screenshot:



Any ideas what could be causing this?  For what it's worth, the older CUDA miner when I used it on your alternative pooled mining method (with native generation) averaged out at 1700 khash/s.
chorchonga
Member
**
Offline Offline

Activity: 65


View Profile
January 06, 2011, 07:57:27 PM
 #31

Thank you for this information!  I was able to get the CPU version to work with my clunky laptop. 

My ATI GPU is too old for the OpenCL version (at least I don't have opencl.dll anywhere on my main hard drive).  Are there any other miners that might work on an older ATI card?  I'm thinking my current machine is from late '07.

Buy vinyl decals with Bitcoin: http://www.azurerocket.com
slush
Legendary
*
Offline Offline

Activity: 1372



View Profile WWW
January 06, 2011, 11:04:00 PM
 #32

Hi, I just tested your miners and it works nicely with my pool, so I added link to pool's homepage.

UnVisible
Newbie
*
Offline Offline

Activity: 1


View Profile
January 15, 2011, 04:13:03 PM
 #33

Why when you run the CUDA version for me nothing works and there is an error?:

"Could not run because of its parallel configuration is incorrect. Additional information is contained in the application event log ...."

in the application event log:

Error when creating a context activation "D:\Temp\BITCOIN\remoteminer-cuda.exe". Could not be found dependent assembly "Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"". Use sxstrace.exe for detailed diagnosis.
LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 15, 2011, 05:02:35 PM
 #34

It seems that you need to install Microsoft Visual C++ 2005 SP1 Redistributable Package: 32-bit, 64-bit.

BitCoinPurse
Jr. Member
*
Offline Offline

Activity: 34



View Profile
January 16, 2011, 04:35:23 PM
 #35

Once I installed the ATI Stream SDK (v2.3) for my ATI Radeon HD 5500 Series my GPU mining finally worked!

I went from around 2,500khash/s (CPU) to an amazing 30,000khash/s (GPU).

My Coin Purse is sagging!  13WXS46x634zook2MHSJbc7gwdrXK1JLq4
dishwara
Legendary
*
Offline Offline

Activity: 1512



View Profile
January 16, 2011, 07:07:34 PM
 #36

Once I installed the ATI Stream SDK (v2.3) for my ATI Radeon HD 5500 Series my GPU mining finally worked!

I went from around 2,500khash/s (CPU) to an amazing 30,000khash/s (GPU).

Some one please tell what i need to download from where for my zotac geforce 9400GT 1GB graphics card.
I have 260 nvidia drivers. Is there anything like CUDA stream SDK?
I searched & found, CUDA toolkit, CUDA SDK, ... many things..
I dont know what are the things i download?
h**p://developer.nvidia.com/object/cuda_3_2_downloads.html#Windows XP, Windows Vista and Windows7

I have windows 7 ultimate 32 bit, intel quad core 2.66ghz, 3 gb ram.

Thanks........
Please some one help me.

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 17, 2011, 07:41:16 AM
 #37

All you need is to install the latest drivers for your video card:

dishwara
Legendary
*
Offline Offline

Activity: 1512



View Profile
January 17, 2011, 02:21:05 PM
 #38

260.99 is the latest driver & i am running it.
Any other help there?
Please

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
BitCoinPurse
Jr. Member
*
Offline Offline

Activity: 34



View Profile
January 17, 2011, 04:42:30 PM
 #39

Trying CUDA on my laptop...

Quadro NVS 135M.  I have the 260.99 drivers and the 3.2 Dev Drivers.  The miner starts and does it's initial config, then errors out after a minute with:


..\..\src\cuda\bitcoinminercuda.cpp(147) : cudaSafeCall() Runtime API error : the launch timed out and was terminated.


These are my launch params:

rpcminer-cuda -url=http://mining.bitcoin.cz:8332 -user=PIMPSARENICE -password=EATMYCODFISH -gpu -aggression=2

My Coin Purse is sagging!  13WXS46x634zook2MHSJbc7gwdrXK1JLq4
LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 17, 2011, 05:23:39 PM
 #40

dishwara, what command line options do you use?

BitCoinPurse, you have to use correct worker's login.

BitCoinPurse
Jr. Member
*
Offline Offline

Activity: 34



View Profile
January 17, 2011, 05:48:42 PM
 #41

BitCoinPurse, you have to use correct worker's login.

My logins for slush were just fakes for fun.  Are there other worker logins?  Where do I find/set those?

My Coin Purse is sagging!  13WXS46x634zook2MHSJbc7gwdrXK1JLq4
LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 17, 2011, 06:42:25 PM
 #42

In the Workers table: link. Smiley

dishwara
Legendary
*
Offline Offline

Activity: 1512



View Profile
January 17, 2011, 07:19:12 PM
 #43

dishwara, what command line options do you use?



rpcminer-cuda.exe -gpu -url=http://mining.bitcoin.cz:8332 -user=###### -password=#########

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
BitCoinPurse
Jr. Member
*
Offline Offline

Activity: 34



View Profile
January 17, 2011, 07:48:48 PM
 #44

Okay, finally got it to work with CUDA.  I had to set a GPUGRID option to 16.  I'm trying additional options and tracking each.

From the looks of it, there's a timeout reached before my system can fully allocate resources.


My Coin Purse is sagging!  13WXS46x634zook2MHSJbc7gwdrXK1JLq4
hacim
Member
**
Offline Offline

Activity: 64


View Profile
January 18, 2011, 09:02:55 AM
 #45

Well, I had success to compile the rpcminer, but it fails to link... arg, any ideas?

Code:
[  6%] Building NVCC (Device) object cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
[ 12%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/sha256.cpp.o
[ 18%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/hex.cpp.o
In file included from /mnt/puddin/src/rpcminer/hex.cpp:19:
/mnt/puddin/src/rpcminer/hex.h:33:8: warning: extra tokens at end of #endif directive
[ 25%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o
[ 31%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
In file included from /mnt/puddin/src/rpcminer/rpcminerclient.cpp:22:
/mnt/puddin/src/rpcminer/hex.h:33:8: warning: extra tokens at end of #endif directive
[ 37%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminermain.cpp.o
[ 43%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerthreadcpu.cpp.o
[ 50%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcrequest.cpp.o
[ 56%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/json/json_spirit_reader.cpp.o
[ 62%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/json/json_spirit_value.cpp.o
[ 68%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/json/json_spirit_writer.cpp.o
[ 75%] Building C object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/minercommon/base64.c.o
[ 81%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/cryptopp/cpu.cpp.o
[ 87%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/cryptopp/sha.cpp.o
[ 93%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerthreadgpu.cpp.o
[100%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/remote/cuda/bitcoinminercuda.cpp.o
Linking CXX executable rpcminer
CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerthreadgpu.cpp.o: In function `RPCMinerThreadGPU::Run(void*)':
rpcminerthreadgpu.cpp:(.text+0x1ec): undefined reference to `CUDARunner::CUDARunner()'
rpcminerthreadgpu.cpp:(.text+0x280): undefined reference to `CUDARunner::FindBestConfiguration()'
rpcminerthreadgpu.cpp:(.text+0x533): undefined reference to `CUDARunner::RunStep()'
rpcminerthreadgpu.cpp:(.text+0x8c1): undefined reference to `CUDARunner::~CUDARunner()'
rpcminerthreadgpu.cpp:(.text+0x8de): undefined reference to `CUDARunner::~CUDARunner()'
collect2: ld returned 1 exit status
make[3]: *** [cmake-rpcminer/rpcminer] Error 1
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/rule] Error 2
make: *** [rpcminer] Error 2

15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
Manjago
Sr. Member
****
Offline Offline

Activity: 294


я не ламер, я java-прогаммер :-)


View Profile WWW
January 20, 2011, 11:19:59 AM
 #46

rpcminer-cpu.exe -statsurl=http://mining.bitcoin.cz/stats/json - not working? But I get response from http://mining.bitcoin.cz/stats/json in browser :-()
slush
Legendary
*
Offline Offline

Activity: 1372



View Profile WWW
January 20, 2011, 12:01:06 PM
 #47

rpcminer-cpu.exe -statsurl=http://mining.bitcoin.cz/stats/json - not working? But I get response from http://mining.bitcoin.cz/stats/json in browser :-()

Try to add ending slash to URL. There is redirect and rpcminer maybe don't handle it correctly...

Manjago
Sr. Member
****
Offline Offline

Activity: 294


я не ламер, я java-прогаммер :-)


View Profile WWW
January 20, 2011, 12:06:19 PM
 #48

Try to add ending slash to URL. There is redirect and rpcminer maybe don't handle it correctly...

Thanks, your advice helped, and now everything is working fine!
hacim
Member
**
Offline Offline

Activity: 64


View Profile
January 21, 2011, 05:25:01 AM
 #49

Well, I had success to compile the rpcminer, but it fails to link... arg, any ideas?

Code:
[  6%] Building NVCC (Device) object cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
[ 12%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/sha256.cpp.o
[ 18%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/hex.cpp.o
In file included from /mnt/puddin/src/rpcminer/hex.cpp:19:
/mnt/puddin/src/rpcminer/hex.h:33:8: warning: extra tokens at end of #endif directive
[ 25%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o
[ 31%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
In file included from /mnt/puddin/src/rpcminer/rpcminerclient.cpp:22:
/mnt/puddin/src/rpcminer/hex.h:33:8: warning: extra tokens at end of #endif directive
[ 37%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminermain.cpp.o
[ 43%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerthreadcpu.cpp.o
[ 50%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcrequest.cpp.o
[ 56%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/json/json_spirit_reader.cpp.o
[ 62%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/json/json_spirit_value.cpp.o
[ 68%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/json/json_spirit_writer.cpp.o
[ 75%] Building C object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/minercommon/base64.c.o
[ 81%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/cryptopp/cpu.cpp.o
[ 87%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/cryptopp/sha.cpp.o
[ 93%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerthreadgpu.cpp.o
[100%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/remote/cuda/bitcoinminercuda.cpp.o
Linking CXX executable rpcminer
CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerthreadgpu.cpp.o: In function `RPCMinerThreadGPU::Run(void*)':
rpcminerthreadgpu.cpp:(.text+0x1ec): undefined reference to `CUDARunner::CUDARunner()'
rpcminerthreadgpu.cpp:(.text+0x280): undefined reference to `CUDARunner::FindBestConfiguration()'
rpcminerthreadgpu.cpp:(.text+0x533): undefined reference to `CUDARunner::RunStep()'
rpcminerthreadgpu.cpp:(.text+0x8c1): undefined reference to `CUDARunner::~CUDARunner()'
rpcminerthreadgpu.cpp:(.text+0x8de): undefined reference to `CUDARunner::~CUDARunner()'
collect2: ld returned 1 exit status
make[3]: *** [cmake-rpcminer/rpcminer] Error 1
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/rule] Error 2
make: *** [rpcminer] Error 2

It turns out that the problem is in the cmake-rpcminer/CMakeLists which has two incorrect paths. You need to get rid of /remote from the paths in CUDA_SRC and OPENCL_SRC, and then re-run cmake, and then it works!

15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
valam
Member
**
Offline Offline

Activity: 74



View Profile
January 21, 2011, 02:26:42 PM
 #50

How do I start rpcminer-cuda.exe on a remote computer?

According to RDP get this:


Microsoft Windows [Version 6.1.7600]
(C) Microsoft Corporation (Microsoft Corp.), 2009. All rights reserved.

C: \ Users \ administrator> C: \ miner \ rpcminer-cuda.exe-url = http://mining.bitcoin.cz:
8332-user = login.% Computername%-password = 111
Client will start a miner threads
Work will be refreshed every 4000 ms
.. \ .. \ Src \ cuda \ bitcoinminercuda.cpp (1935): cudaSafeCall () Runtime API error: no
CUDA-capable device is detected.

LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 21, 2011, 05:47:56 PM
 #51

As far as I know, you can not do it using RDP.

valam
Member
**
Offline Offline

Activity: 74



View Profile
January 21, 2011, 06:13:30 PM
 #52

I find method!

LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 21, 2011, 06:14:47 PM
 #53

Yeah, you may create a batch file in the Startup folder and restart that remote computer. Smiley

valam
Member
**
Offline Offline

Activity: 74



View Profile
January 21, 2011, 09:21:06 PM
 #54

psexec by Mark Rusinovich

LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 22, 2011, 08:05:25 AM
 #55

Okay. Smiley

romanoza
Newbie
*
Offline Offline

Activity: 15



View Profile
January 22, 2011, 09:56:43 AM
 #56

I'm sorry for the dumb question, but I do all from the build-unix.txt, how do i build package?
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
January 22, 2011, 05:44:51 PM
 #57

I've updated the first post with the latest release.

This includes some make file fixes and speed improvements for the OpenCL miner.  Tweaking the compiler options have also tremendously increased the speed of the 4way hash in the Windows binaries for processors capable of SSE2.

Remember, to get the most out of the CUDA and OpenCL miner, you must tweak the options.  The defaults are just there to give you a baseline.

I'm sorry for the dumb question, but I do all from the build-unix.txt, how do i build package?
Use CMake.

romanoza
Newbie
*
Offline Offline

Activity: 15



View Profile
January 22, 2011, 07:16:47 PM
 #58

Use CMake.
Thanks, but:
Code:
-- Configuring done
CMake Error in CMakeLists.txt:
  Cannot find source file "sha256.cpp".  Tried extensions .c .C .c++ .cc .cpp
  .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
walidzohair
Full Member
***
Offline Offline

Activity: 185


View Profile
January 22, 2011, 09:02:31 PM
 #59

Here's some RPC miners for all those mining via RPC.  There's a CPU miner based on the Crypto++ code, a 4way miner using the 4way code included with Bitcoin, and a CUDA and OpenCL miner.  The included readme.txt has instructions on how to supply arguments to the miners.  Supplying a -help argument to the executable will show you the available options as well.

Downloads (Updated 2011-01-22)
RPC Miner Windows Binaries
RPC Miner Source

Use the CUDA miner for NVidia cards.
Use the OpenCL miner for ATI cards.
Use CMake to compile from the source.

Tweaking command line parameters for the CUDA and OpenCL miners will be necessary if you want to get optimum performance.

I have got geforce 8400 gs and i am using this command

C:\RPCminer>rpcminer-cuda  -url=http://mining.bitcoin.cz:8332 -user=XXX.X -password=XXX -statusurl=http://mining.bitcoin.cz/stats/json/ -threads=1 (or 2)

I get the mining started on my CPU with the normal cpu rates and the normal CPU usage (as i see it in task manager).

am i doing something wrong ?

LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 22, 2011, 09:38:45 PM
 #60

Yep, -threads is the CPU only option. Read readme.txt file. Wink

Added: It should be equal to 1 or just do not use it if you use a GPU miner.

walidzohair
Full Member
***
Offline Offline

Activity: 185


View Profile
January 22, 2011, 09:57:57 PM
 #61

Yep, -threads is the CPU only option. Read readme.txt file. Wink

So it is normal that (rpcminer-cuda) makes heavy use of CPU just as the (rpcminer-cpu) ?

Also about the Khashes .. I am not getting any increase in performace (always at 1100-2200) is that normal or do I have a weak card ? Smiley
LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 23, 2011, 12:58:37 AM
 #62

You may try to experiment with the -aggression option.
Code:
rpcminer-cuda -aggression=5 -url=http://mining.bitcoin.cz:8332 -user=login.suffix -password=password

dishwara
Legendary
*
Offline Offline

Activity: 1512



View Profile
January 23, 2011, 04:58:53 PM
 #63

If u have to use CUDA then better use poclbm_py2exe_20110104

Coz when ever i use rpcminer to run cuda then it takes 95% of GPU & also slows down pc,
While poclbm.exe -d0 uses cuda & 95% GPU, but no slow down of pc
Windows 7, 9400GT with 260.99 & also now the new 266.58 driver.

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
January 28, 2011, 09:45:52 PM
 #64

I've updated the first post with a new release.  The CUDA miner is now using the driver API instead of the runtime API, and there's no more excess CPU usage when CUDA is running.  Also the CUDA and OpenCL kernels were optimized a bit to improve hashing speed.

abitcoinuser
Newbie
*
Offline Offline

Activity: 6


View Profile
January 29, 2011, 07:04:50 PM
 #65

The most recent build from 1/29/2011 gives me 0 khash/s on both the cpu and cuda miners with options that were successful for the last build.  Any ideas?
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
January 29, 2011, 07:23:51 PM
 #66

The most recent build from 1/29/2011 gives me 0 khash/s on both the cpu and cuda miners with options that were successful for the last build.  Any ideas?

I just double checked the cpu and CUDA miners in the archive, and they are working fine here.  If you are indeed passing the same parameters, your issue is most probably caused by not being able to connect to the RPC server.  It could also be a corrupt download, or incomplete unzip.

LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 29, 2011, 07:55:39 PM
 #67

Maybe a firewall?

BitCoinPurse
Jr. Member
*
Offline Offline

Activity: 34



View Profile
January 29, 2011, 10:44:00 PM
 #68

Same here... New version just reports 0 khash...  Firewall off.

C:\Users\Ghandi Gupta\Desktop\Miner>rpcminer-opencl.exe -url=http://mining.bitcoin.cz:8332 -user=xxxxx -password=xxxxxx
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Available extensions : cl_khr_global_int32_base_atomics cl_khr_global_int32_exte
nded_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_d
evice_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_
sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s
0 khash/s

My Coin Purse is sagging!  13WXS46x634zook2MHSJbc7gwdrXK1JLq4
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
January 29, 2011, 11:13:58 PM
 #69

Same here... New version just reports 0 khash...  Firewall off.

C:\Users\Ghandi Gupta\Desktop\Miner>rpcminer-opencl.exe -url=http://mining.bitcoin.cz:8332 -user=xxxxx -password=xxxxxx
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Available extensions : cl_khr_global_int32_base_atomics cl_khr_global_int32_exte
nded_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_d
evice_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_
sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s
0 khash/s


I see at least 2 issues there.  The first is that you don't have a "Target = " message, which means you have not successfully retrieved work from the RPC server.  The second is that you don't have a "Build program rval=" message, which means the kernel is still being built.

Did the previous release of the OpenCL miner work on the same machine, and does the current CPU miner work on it?  Did you extract all the files in the archive to a new directory, not just over the old ones?  What graphics card do you have?

BitCoinPurse
Jr. Member
*
Offline Offline

Activity: 34



View Profile
January 29, 2011, 11:36:38 PM
 #70

I see at least 2 issues there.  The first is that you don't have a "Target = " message, which means you have not successfully retrieved work from the RPC server.  The second is that you don't have a "Build program rval=" message, which means the kernel is still being built.

Did the previous release of the OpenCL miner work on the same machine, and does the current CPU miner work on it?  Did you extract all the files in the archive to a new directory, not just over the old ones?  What graphics card do you have?

I did get the "Target =" message, it just didn't get in the paste.

Yes, the old OpenCL miner worked flawless, and the current CPU miner works too.  And yes, new directory for the new miner clients...

I have an ATI Radeon HD 5500 Series (Redwood) with Catalyst 10.11 drivers and ATI Stream 2.3.

My system is a W7 box with a AMD Phenom(tm) II X2 550 Processor


I doesn't seem to be "building the kernel"...

My Coin Purse is sagging!  13WXS46x634zook2MHSJbc7gwdrXK1JLq4
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
January 29, 2011, 11:56:26 PM
 #71

You can use the .cl file from the last release.  If you are so inclined, you can edit the current .cl file and see which changes are keeping the kernel from building.  There weren't too many changes, so it should be obvious what the culprit is.

LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
January 30, 2011, 01:02:13 AM
 #72

And if you already removed the previous version, you may get it here: link.

lior
Newbie
*
Offline Offline

Activity: 4



View Profile WWW
February 01, 2011, 11:13:27 AM
 #73

hi,

is it possible to use Tor with the miner

and if so can you give me hint?

1EaiYqZa57fUVAqZPTzvQjQnUHV51K4xjg
slush
Legendary
*
Offline Offline

Activity: 1372



View Profile WWW
February 01, 2011, 12:23:15 PM
 #74

is it possible to use Tor with the miner

It is possible, but the network latency is big problem then. It will slow down your miner a lot.

suntiger
Newbie
*
Offline Offline

Activity: 1


View Profile
February 03, 2011, 10:31:59 PM
 #75

Is there any particular reason that the CUDA miner would only perform at maximum khash/s if its CLI status window were the foreground window? I'm seeing consistent drops from 16000khash/s to 6000-9000 khash/s when the window is not in the foreground, even if absolutely nothing is happening in whatever window is the foreground (even away from the computer).

System: Windows 7 Enterprise 32 bit, 2.9ghz Core2Duo, Geforce 9600GT, 3gb RAM.

Is there any way around this behavior? It poses problems for the time when I'm not actively using the computer, as if anything at all pops up in, say, the first hour of a six hour run, I lose quite a lot of potential khashes.

Also, is 16mhash about right for a 9600gt? I tried playing with the aggression parameter, but it only lagged the rest of the system more, it didn't increase max khash/s while foregrounded. Anything else I can do to bump performance up?
swaits
Newbie
*
Offline Offline

Activity: 18


View Profile
February 04, 2011, 02:33:58 AM
 #76

Is there any particular reason that the CUDA miner would only perform at maximum khash/s if its CLI status window were the foreground window? I'm seeing consistent drops from 16000khash/s to 6000-9000 khash/s when the window is not in the foreground, even if absolutely nothing is happening in whatever window is the foreground (even away from the computer).

This seems to be a new bug in the 1/28 binaries. I'm seeing it too. The previous version did not exhibit this behavior.

Currently, if my RPC Miner is in the foreground, it does its usual ~39M. As soon as I minimize, or even just click away, it drops straight down to ~4M.

I'm on Windows 7 (64 bit), GeForce GTX 260, 12GB of system memory, i7-920 CPU.

I'm running the CUDA miner, with no special parameters. But, just in case it matters, this is how I launch the software (via batch file):

Code:
@echo off

echo Launching Bitcoin. Please wait ...

rem start bitcoin
cd "C:\Program Files (x86)\Bitcoin"
start /min /low bitcoin.exe -gen -server

rem wait ten seconds
ping 127.0.0.1 -n 10 -w 1000 > nul

rem start rpc miner
cd "C:\Program Files (x86)\Bitcoin\rpcminer"
start "RPC Miner" /min /low rpcminer-cuda.exe -gpu -url=http://127.0.0.1:8332/ -user=XXX -password=XXX

I suspect it has to do with the lower CPU utilization fix. Which, by the way, is working very well. But perhaps this is why???

Thanks,
Steve
LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
February 04, 2011, 02:41:00 AM
 #77

I can not reproduce this bug. Undecided

swaits
Newbie
*
Offline Offline

Activity: 18


View Profile
February 04, 2011, 04:28:20 PM
 #78

I can not reproduce this bug. Undecided

Bummer. Ok, I'll go back to the prior version for now.

Perhaps we could take a look at the diffs between the versions? Is the source in a public repo?
LZ
Staff
Legendary
*
Offline Offline

Activity: 1624


P2P Cryptocurrency


View Profile WWW
February 04, 2011, 06:20:41 PM
 #79

you may get it here: link.

puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 04, 2011, 08:16:06 PM
 #80

I doesn't seem to be "building the kernel"...

Did you get it to work with the older kernel?


Is there any particular reason that the CUDA miner would only perform at maximum khash/s if its CLI status window were the foreground window?

No.  The hash rate is constant here whether the window is in the foreground or background.  You can try different graphics drivers (newer AND older) to see if that helps.  It could also be something with Windows 7 interfering with the priority of background apps.

BitCoinPurse
Jr. Member
*
Offline Offline

Activity: 34



View Profile
February 04, 2011, 11:53:10 PM
 #81

I doesn't seem to be "building the kernel"...
Did you get it to work with the older kernel?

No, I haven't been able to isolate the issue.  I tried to downgrade to the ATI SDK 2.1, but it didn't take on my crappy W7 box.

Also, I'm way out of my league tweaking .cl files. Grin

I'm happy with my 50Khash for now...

My Coin Purse is sagging!  13WXS46x634zook2MHSJbc7gwdrXK1JLq4
DarkMatter
Member
**
Offline Offline

Activity: 86


Stop breeding! Save the Earth! www.vhemt.org


View Profile WWW
February 05, 2011, 07:19:56 PM
 #82

I doesn't seem to be "building the kernel"...
Did you get it to work with the older kernel?

No, I haven't been able to isolate the issue.  I tried to downgrade to the ATI SDK 2.1, but it didn't take on my crappy W7 box.

Also, I'm way out of my league tweaking .cl files. Grin

I'm happy with my 50Khash for now...

Not a W7 issue, using it right now (64bit) and with nvidia 8800gt (cuda) and no khash drops when in background.

Feed The Troll!! | 1JKdTyUjxo5VJoaQKjp4oUnXqdSSErC1mp
ledskof
Jr. Member
*
Offline Offline

Activity: 43


View Profile
February 06, 2011, 12:37:24 AM
 #83

Not a W7 issue, using it right now (64bit) and with nvidia 8800gt (cuda) and no khash drops when in background.

I thought he meant that the ATI Streaming SDK v 2.1 didn't take on his Windows 7 box.  I had the same problem with 2.1 and 2.2, which is why I'm running 2.3.

13ThJTiHF3BvW6TTWtdN5nCEZrrNrnb9o4
BitCoinPurse
Jr. Member
*
Offline Offline

Activity: 34



View Profile
February 06, 2011, 02:39:43 AM
 #84

Not a W7 issue, using it right now (64bit) and with nvidia 8800gt (cuda) and no khash drops when in background.
I thought he meant that the ATI Streaming SDK v 2.1 didn't take on his Windows 7 box.  I had the same problem with 2.1 and 2.2, which is why I'm running 2.3.

That's was precisely it.  I'm stuck with the 2.3 SDK, though I've tried for days to downgrade...  I'm not in the mood to slick my OS...

My Coin Purse is sagging!  13WXS46x634zook2MHSJbc7gwdrXK1JLq4
FooDSt4mP
Full Member
***
Offline Offline

Activity: 182


View Profile
February 06, 2011, 09:47:26 PM
 #85

First off, thanks for the great work.  When I saw this, I was really excited to start using my GPU to mine.  Unfortunately, you are using cutil, which is not an official part of the CUDA SDK, and not in the linux version.  My compile fails with fatal error: cutil_inline.h: No such file or directory, and I confirmed that cutil_inline.h not anywhere in the SDK directory.  This is confirmed by a moderator at http://forums.nvidia.com/index.php?showtopic=192055
Quote
cutil is something used only for SDK samples to make code shorter and is not suitable for use in a real application. It is completely unsupported and not included with the CUDA toolkit
(don't use it, don't steal it from the SDK, just leave it alone and do error checking the right way) .
  So my question is, how widespread is the usage of cutil in the code?  If it's not too bad, I'll try to put together a patch, but this is the first time I've messed with CUDA.  If it's not something I can handle, I'll happily donate a few bitcoins to someone (as soon as I can mine them, my cpu hasn't turned up anything yet) for helping me get this running.

As we slide down the banister of life, this is just another splinter in our ass.
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 08, 2011, 11:30:57 PM
 #86

First off, thanks for the great work.  When I saw this, I was really excited to start using my GPU to mine.  Unfortunately, you are using cutil, which is not an official part of the CUDA SDK, and not in the linux version.  My compile fails with fatal error: cutil_inline.h: No such file or directory, and I confirmed that cutil_inline.h not anywhere in the SDK directory.  This is confirmed by a moderator at http://forums.nvidia.com/index.php?showtopic=192055
Quote
cutil is something used only for SDK samples to make code shorter and is not suitable for use in a real application. It is completely unsupported and not included with the CUDA toolkit
(don't use it, don't steal it from the SDK, just leave it alone and do error checking the right way) .
  So my question is, how widespread is the usage of cutil in the code?  If it's not too bad, I'll try to put together a patch, but this is the first time I've messed with CUDA.  If it's not something I can handle, I'll happily donate a few bitcoins to someone (as soon as I can mine them, my cpu hasn't turned up anything yet) for helping me get this running.

The last release does not need cutil when compiling the CUDA RPC miner, and likewise the CUDA daemon or GUI miners, since they all share the same miner code.  Only the remote miners still need it.  If you are using CMake to create makefiles, it is likely you didn't turn off building of the remote miners.

FooDSt4mP
Full Member
***
Offline Offline

Activity: 182


View Profile
February 09, 2011, 08:38:55 AM
 #87

Ok, I did a make rpcminer, and it builds the kernel and everything fine, but fails on linking (undefined reference to `cuInit').  I have added the cuda lib directory to the ld config file and ran ldconfig as root.  I also tried setting the LD_LIBRARY_PATH with no success.  Perhaps there's a -lcuda missing somewhere, but I've never worked with CMake, so I have no idea where look.  Any ideas?

As we slide down the banister of life, this is just another splinter in our ass.
t3h
Newbie
*
Offline Offline

Activity: 19


View Profile
February 10, 2011, 10:53:57 PM
 #88

The CUDA miner is working nicely on my GTX470. 80000kHash/sec stock, 105000kHash/sec overclocked to 775mhz (works fine on stock vCore). I can push ~115k out of it by overclocking further, but it gets unstable unless I raise the vCore, then my 500w PSU doesn't like it Smiley

Should have gotten into this earlier, it takes ages to mine anything now :|

Just one feature request: when you overclock too far, the display driver crashes and reboots. Can you detect this and reload the CUDA part? It keeps going with a stupidly large number of kHashes/sec (I think it's just silently failing), and never finds anything, so you come back and find that you haven't been mining for a few hours.
flags8192
Newbie
*
Offline Offline

Activity: 4


View Profile
February 11, 2011, 01:54:39 PM
 #89

Please help to compile, it fails, an error:

~/bitcoin-remote-rpc-20110128-src$ make
[  1%] Building NVCC (Device) object cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
Scanning dependencies of target bitcoin
[  2%] Building CXX object cmake-bitcoin/CMakeFiles/bitcoin.dir/__/src/db.cpp.o
In file included from /usr/local/include/wx-2.8/wx/wx.h:15,
                 from /home/flags8192/bitcoin-remote-rpc-20110128-src/src/headers.h:33,
                 from /home/flags8192/bitcoin-remote-rpc-20110128-src/src/db.cpp:5:
/usr/local/include/wx-2.8/wx/defs.h:42: error: #error "No Target! You should use wx-config program for compilation flags!"
In file included from /usr/local/include/wx-2.8/wx/cursor.h:24,
                 from /usr/local/include/wx-2.8/wx/event.h:22,

ps: ubuntu 10.10
epicenter
Newbie
*
Offline Offline

Activity: 10


View Profile
February 12, 2011, 05:41:37 AM
 #90

I have an ATI Radeon HD 5800
I tried running the cpu miner and it worked, but opencl wouldn't run.
So got the stream 2.3k SDK and now opencl can run, BUT
I cant get any work done. Same command line parameters in the cpu miner gets work done (~4500 hash/s)

Quote
C:\bitcoin-rpcminer-20110128-win32bin>rpcminer-opencl -url=http://mining.bitcoin.cz:8332 -user=XXX -password=XXX -gpu=0
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to device 0
Available extensions : cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_globa
l_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_exte
nded_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_shar
ing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt c
l_khr_d3d10_sharing
Defining AMDMEDIAOPS
Create context rval=0
Target = ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s

Compilation terminated.
Tolsi
Full Member
***
Offline Offline

Activity: 178



View Profile WWW
February 12, 2011, 08:42:57 AM
 #91

I have ATI HD6870, ATI Stream 2.3 SDK, Win7sp1 x64 and I have a same problem as epicenter. Then I replaced bitcoinmineropencl.cl from r191 (bitcoin-remote-20101215-win32bin.zip) (newer are don't work, 0 khash/s), now I see:

Code:
>rpcminer-opencl.exe -url=http://mining.bitcoin.cz:8332 -user=*** -password=*** -statsurl=http://mining.bitcoin.cz/stats/json/
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Available extensions : cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_sharing
Defining AMDMEDIAOPS
Create context rval=0
Target = ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
Build program rval=0
build STATUS:
build LOG:C:\Users\...\AppData\Local\Temp\OCL7B85.tmp.cl(21): warning: type qualifier
          specified more than once
  __constant const uint f1=0xFF000000;
             ^

C:\Users\...\AppData\Local\Temp\OCL7B85.tmp.cl(22): warning: type qualifier
          specified more than once
  __constant const uint f2=0x00FF0000;
             ^

C:\Users\...\AppData\Local\Temp\OCL7B85.tmp.cl(23): warning: type qualifier
          specified more than once
  __constant const uint f3=0x0000FF00;
             ^

C:\Users\...\AppData\Local\Temp\OCL7B85.tmp.cl(24): warning: type qualifier
          specified more than once
  __constant const uint f4=0x000000FF;
             ^

C:\Users\...\AppData\Local\Temp\OCL7B85.tmp.cl(25): warning: type qualifier
          specified more than once
  __constant const uint f5=0xFFFFFFFF;
             ^

┌М♠°Ї√☻►┴i♥
Create kernel rval=0
Done allocating OpenCL resources for (16,16)
Finding best configuration step end (16,16) 4ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (16,32)
Finding best configuration step end (16,32) 1ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (16,64)
Finding best configuration step end (16,64) 0ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (16,128)
Finding best configuration step end (16,128) 1ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (16,256)
Finding best configuration step end (16,256) 1ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (32,16)
Finding best configuration step end (32,16) 1ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (32,32)
Finding best configuration step end (32,32) 1ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (32,64)
Finding best configuration step end (32,64) 2ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (32,128)
Finding best configuration step end (32,128) 0ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (32,256)
Finding best configuration step end (32,256) 1ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (64,16)
Finding best configuration step end (64,16) 1ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (64,32)
Finding best configuration step end (64,32) 1ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (64,64)
Finding best configuration step end (64,64) 1ms  prev best=9223372036854775807ms

Done allocating OpenCL resources for (64,128)
Finding best configuration step end (64,128) 0ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (64,256)
Finding best configuration step end (64,256) 1ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (128,16)
Finding best configuration step end (128,16) 1ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (128,32)
Finding best configuration step end (128,32) 0ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (128,64)
Finding best configuration step end (128,64) 1ms  prev best=9223372036854775807m
s
Done allocating OpenCL resources for (128,128)
Finding best configuration step end (128,128) 0ms  prev best=9223372036854775807
ms
Done allocating OpenCL resources for (128,256)
Finding best configuration step end (128,256) 1ms  prev best=9223372036854775807
ms
Done allocating OpenCL resources for (16,16)
37238 khash/s
49181 khash/s
48631 khash/s
Server Stats : 661 active workers at an estimated 0 khash/s
0 shares in current round, which started
....

I left it overnight and none blocks aren't resolved. In the morning I saw the same: 0 shares in current round, which started. In Bitcoin Pooled Mining I see Score 0.0000.
CPU miner works fine.
Today I will try to change bitcoinmineropencl.cl, but promise nothing, I do not know c.

And in http://pastebin.com/AvymGnMJ i see:

Model           Sp      Clk     W       Mhash/s Mhash/W
6870            1120    900     151     232.47  1.540

but i have max 60000 khash/s and 60% cpu load, 18% gpu load (not full) Sad
screenshot

ps with python OpenCL bitcoin miner i have ~230Mhash/s

Like what am I doing? 1FzSgYpLG4fpy2Q9fKXQsuLxHN81m4P3dR
nlai
Newbie
*
Offline Offline

Activity: 11


View Profile
February 12, 2011, 08:56:07 PM
 #92

What's the difference between the 4way and the crypto?

I'm using an Intel i7
sonihr
Sr. Member
****
Offline Offline

Activity: 455


THE TIME HAS COME...


View Profile
February 13, 2011, 07:56:37 AM
 #93

problem is the exactly the same as Epicenter. I have ATI radeon 4350 windows 7 64bit tried sdk 2.1 2.2 2.3...


What goes around comes around...
flags8192
Newbie
*
Offline Offline

Activity: 4


View Profile
February 13, 2011, 03:05:23 PM
 #94

like compile, but when you start error

./rpcminer-cuda -url=http://mining.bitcoin.cz:8332/ -user=xxxxxxx.xxxxxxxxx -password=xxxxxxxxx -statsurl=http://mining.bitcoin.cz/stats/json/
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 CUDA GPU devices found
Setting CUDA device to first device found
Loading module bitcoinminercuda_11.cubin
Unable to load CUDA module

what is Problem?
WSDN
Full Member
***
Offline Offline

Activity: 132



View Profile
February 13, 2011, 09:38:06 PM
 #95

hi @puddinpop  i have the next problem :$ i have a new xp64 and downloading again yours miners with the old version of minners i not have any problem, but with new have this screen.



I reinstall my windows and deleted all my files for this i need to download again the miners if you have the old versions please put a link =)
thanks in advance

▛ [ CENTRA ] Multi-Blockchain Worldwide Debit Card & Insured Wallet
▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚
▙     FacebookSlackTwitterGithubMediumANN Thread     ▟
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 13, 2011, 10:19:18 PM
 #96

hi @puddinpop  i have the next problem :$ i have a new xp64 and downloading again yours miners with the old version of minners i not have any problem, but with new have this screen.



I reinstall my windows and deleted all my files for this i need to download again the miners if you have the old versions please put a link =)
thanks in advance


You need to install the Microsoft Visual C++ 2005 Redistributable Package (x86)

WSDN
Full Member
***
Offline Offline

Activity: 132



View Profile
February 13, 2011, 10:30:25 PM
 #97

Thanks friend continue working u are exellent! thanks again!

▛ [ CENTRA ] Multi-Blockchain Worldwide Debit Card & Insured Wallet
▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▞▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚▬▬▬▚
▙     FacebookSlackTwitterGithubMediumANN Thread     ▟
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 13, 2011, 11:16:54 PM
 #98

Updated source to bitcoin SVN rev 241.  Downloads available in the first post.

Tolsi
Full Member
***
Offline Offline

Activity: 178



View Profile WWW
February 14, 2011, 09:30:23 AM
 #99

Here is 0 khash/s on opencl version with ati hd6870 again.

Like what am I doing? 1FzSgYpLG4fpy2Q9fKXQsuLxHN81m4P3dR
zholer
Newbie
*
Offline Offline

Activity: 4


View Profile
February 15, 2011, 12:26:02 AM
 #100

I first tried to build this on my ubuntu 10.04 system, but it failed with the same errors as flags8192. Experimenting with installing different version of wxWidgets did not help.
I finally git cloned from git://github.com/doublec/bitcoin-pool which seems to use pudinpop's code. This finally compiled on my machine as bitcoinr binary, but I can't figure out how to pass username as a parameter to it. Nothing in the readme file lets me do this.
dbitcoin
Hero Member
*****
Offline Offline

Activity: 742

BTCDig - mining pool


View Profile WWW
February 15, 2011, 01:05:58 PM
 #101

Problem with linux compilation.

Ubuntu 10.04, gcc 4.4.3
cmake buid configs without problems, all dependencies installed.

> make rpcminer

Code:
In file included from /src/bitcoin-rpc-miner/src/rpcminer/../minercommon/minerheaders.h:58,
                 from /src/bitcoin-rpc-miner/src/rpcminer/rpcminerclient.h:26,
                 from /src/bitcoin-rpc-miner/src/rpcminer/rpcminerclient.cpp:19:
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSizeOfCompactSize(uint64)’:
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h:167: error: ‘USHRT_MAX’ was not declared in this scope
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h:168: error: ‘UINT_MAX’ was not declared in this scope
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h: In function ‘void WriteCompactSize(Stream&, uint64)’:
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h:180: error: ‘USHRT_MAX’ was not declared in this scope
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h:187: error: ‘UINT_MAX’ was not declared in this scope
....


BTCDig - mining pool (Stratum, VarDiff, DGM, SSL, JSON API)
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 15, 2011, 11:52:43 PM
 #102

Here is 0 khash/s on opencl version with ati hd6870 again.

Did it build the kernel successfully or not?  You'll just have to find out what in the kernel is causing it not to build on your machine.

I first tried to build this on my ubuntu 10.04 system, but it failed with the same errors as flags8192. Experimenting with installing different version of wxWidgets did not help.

You don't need wxWidgest to compile just the rpc miners.  Set the appropriate CMake options to not compile the GUI.

Quote
I finally git cloned from git://github.com/doublec/bitcoin-pool which seems to use pudinpop's code. This finally compiled on my machine as bitcoinr binary, but I can't figure out how to pass username as a parameter to it. Nothing in the readme file lets me do this.

bitcoinr is the remote miner that works with my open source pool.  It does not work with the various RPC pools that others have.  And the readme does include the various options for the different binaries.


What's the difference between the 4way and the crypto?

I'm using an Intel i7

4way uses SSE2 instructions, which may be faster depending on the CPU.  The -cpu miner just uses the standard CPU mining found in the vanilla GUI client.

like compile, but when you start error

./rpcminer-cuda -url=http://mining.bitcoin.cz:8332/ -user=xxxxxxx.xxxxxxxxx -password=xxxxxxxxx -statsurl=http://mining.bitcoin.cz/stats/json/
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 CUDA GPU devices found
Setting CUDA device to first device found
Loading module bitcoinminercuda_11.cubin
Unable to load CUDA module

what is Problem?


You need to compile the .cu file targeting the 1.1, 1.2, and 2.0 CUDA architecture, and give the resulting cubin the appropriate name, and place it in the working directory before you start the miner.

Problem with linux compilation.

Ubuntu 10.04, gcc 4.4.3
cmake buid configs without problems, all dependencies installed.

> make rpcminer

Code:
In file included from /src/bitcoin-rpc-miner/src/rpcminer/../minercommon/minerheaders.h:58,
                 from /src/bitcoin-rpc-miner/src/rpcminer/rpcminerclient.h:26,
                 from /src/bitcoin-rpc-miner/src/rpcminer/rpcminerclient.cpp:19:
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSizeOfCompactSize(uint64)’:
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h:167: error: ‘USHRT_MAX’ was not declared in this scope
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h:168: error: ‘UINT_MAX’ was not declared in this scope
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h: In function ‘void WriteCompactSize(Stream&, uint64)’:
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h:180: error: ‘USHRT_MAX’ was not declared in this scope
/src/bitcoin-rpc-miner/src/rpcminer/../minercommon/../serialize.h:187: error: ‘UINT_MAX’ was not declared in this scope
....


Maybe try to #include <limits> in minerheaders.h, before serialize.h is included.

SondreB
Newbie
*
Offline Offline

Activity: 3


View Profile
February 16, 2011, 04:43:06 PM
 #103

Here is 0 khash/s on opencl version with ati hd6870 again.
I'm seeing o khash/s as well, with both rpcminer-cpu and rpcminer-cuda. Connecting to host http://mining.bitcoin.cz:8332.

Anyone else seeing this behavior?
Tolsi
Full Member
***
Offline Offline

Activity: 178



View Profile WWW
February 16, 2011, 04:53:05 PM
 #104

Did it build the kernel successfully or not?  You'll just have to find out what in the kernel is causing it not to build on your machine.
Not. I tried to make small changes, but it was unsuccessful.

Like what am I doing? 1FzSgYpLG4fpy2Q9fKXQsuLxHN81m4P3dR
pla
Member
**
Offline Offline

Activity: 65


View Profile
February 17, 2011, 02:35:50 PM
 #105

Heya... First, thanks for a great set of RPC miners!

I have a question about the CUDA miner... I have a crappy GeForce 8400GS, which pushes about 1500kh/s.  Using it, however, brings my system to a complete crawl (almost no CPU load, but it spends 100% of its time trying to redraw windows really really slowly).

So, any way I can throttle the CUDA miner to make my system useable?  If I could have a functional system at 90% performance, I could keep it running all day rather than just at night.  I tried setting the "aggression" lower, but to no effect.

Not complaining - Thanks again for writing this - Just wondering if I might have missed a combination of settings that would help tame it just a bit.   Grin

Thanks!

I don't beg - If I do something to deserve your BTC, you can find my address on the invoice.  Wink
dduane
Jr. Member
*
Offline Offline

Activity: 47



View Profile WWW
February 19, 2011, 07:09:19 AM
 #106


Hi Puddinpop

Thanks so much for you brilliant work.

I'm getting the message: 
The procedure entry point cuMemFree_v2 could not be located in the dynamic link library nvcuda.dll

I'm running on a windows 7 professional laptop (HP) which has an NVIDIA GeForce GT 230M in it. 

I downloaded the latest driver from NVIDIA  258.96 and double checked that I didn't need to have a driver update from NVIDIA's website. 

I'm running rpcminer-cuda.exe -url http://mining.bitcoin.cz:8332 -user=hidden -password=hidden -gpu

Thanks for any insight you might have

--Darrell
flags8192
Newbie
*
Offline Offline

Activity: 4


View Profile
February 19, 2011, 09:21:42 AM
 #107

[12:16]flags8192@Desktop:~/bitcoin-remote-rpc-20110213-src$ cmake CMakeLists.txt
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.42.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found wxWidgets: TRUE
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Found BerkeleyDB: /usr/lib/libdb.so
-- Found CUDA: /usr/local/cuda
-- Found CURL: /usr/lib/libcurl.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/flags8192/bitcoin-remote-rpc-20110213-src
[12:17]flags8192@Desktop:~/bitcoin-remote-rpc-20110213-src$ make
[  1%] Building NVCC (Device) object cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
Scanning dependencies of target bitcoin
[  2%] Building CXX object cmake-bitcoin/CMakeFiles/bitcoin.dir/__/src/db.cpp.o
In file included from /usr/local/include/wx-2.9/wx/wx.h:15,
                 from /home/flags8192/bitcoin-remote-rpc-20110213-src/src/headers.h:33,
                 from /home/flags8192/bitcoin-remote-rpc-20110213-src/src/db.cpp:5:
/usr/local/include/wx-2.9/wx/defs.h:49: error: #error "No Target! You should use wx-config program for compilation flags!"

help compile, already the second week of agony: (
qed
Full Member
***
Offline Offline

Activity: 196


View Profile
February 19, 2011, 10:04:22 AM
 #108

Hello,

I'm having problems with rpcminer-opencl.exe. I'm still getting 0 khash/s even if it connects correctly to the local server.


Code:
>rpcminer-opencl.exe -gpu=0 -url=http://127.0.0.1:8332 -user=XXX -password=XXX
Client will start 1 miner threads
Work will be refreshed every 4000 ms
Target = 00000000000000000000000000000000000000000000000026cc010000000000
1 OpenCL platforms found
2 OpenCL GPU devices found on platform 0
Setting OpenCL device to device 0
Available extensions : cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_globa
l_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_exte
nded_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_shar
ing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt c
l_khr_d3d10_sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s

Compilation terminated.


rpcminer-cpu.exe is working flawless.

Code:
>rpcminer-cpu.exe -url=http://127.0.0.1:8332 -user=XXX -password=XXX
Client will start 8 miner threads
Work will be refreshed every 4000 ms
Target = 00000000000000000000000000000000000000000000000026cc010000000000
1726 khash/s
3025 khash/s
3625 khash/s
4152 khash/s
4143 khash/s


My system:
Windows 7 (64 bit)
2x ATI HD 6950 CrossfireX
Catalyst 11.2
ATI Steam 2.3

Mobile App (Android)

Monitor miners, exchange rates and Bitcoin network stats.
renovatio34
Newbie
*
Offline Offline

Activity: 6


View Profile
February 19, 2011, 01:57:41 PM
 #109

I have the same problem dduane:

 procedure entry point cuMemFree_v2 Could Not Be Located In The Dynamic Link Library nvcuda.dll  Huh

I'm running Windows 7 64 bit with Nvidia GT 240M
DrivingVertigo
Newbie
*
Offline Offline

Activity: 3


View Profile
February 19, 2011, 05:07:12 PM
 #110

I can't seem to get the CUDA miner to work.  It only generates 0/khashs. My command line is as follows

D:\RPCMiner\rpcminer-cuda.exe -gpu -url=http://mining.bitcoin.cz:8332 -user=***** -password=*****

What am I doing wrong?
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 19, 2011, 06:27:51 PM
 #111

So, any way I can throttle the CUDA miner to make my system useable?  If I could have a functional system at 90% performance, I could keep it running all day rather than just at night.  I tried setting the "aggression" lower, but to no effect.

Aggression would be the main parameter that affects desktop responsiveness.  Set it to 1 and slowly increase it until you find a balance you like.


I'm getting the message: 
The procedure entry point cuMemFree_v2 could not be located in the dynamic link library nvcuda.dll

I'm running on a windows 7 professional laptop (HP) which has an NVIDIA GeForce GT 230M in it. 

I downloaded the latest driver from NVIDIA  258.96 and double checked that I didn't need to have a driver update from NVIDIA's website. 

258.96 is an old driver.  You need a driver that supports at least CUDA 3.2 if you use the supplied binaries.  Alternately, you can compile the source with whatever CUDA toolkit you have available.


Hello,

I'm having problems with rpcminer-opencl.exe. I'm still getting 0 khash/s even if it connects correctly to the local server.


Code:
>rpcminer-opencl.exe -gpu=0 -url=http://127.0.0.1:8332 -user=XXX -password=XXX
Client will start 1 miner threads
Work will be refreshed every 4000 ms
Target = 00000000000000000000000000000000000000000000000026cc010000000000
1 OpenCL platforms found
2 OpenCL GPU devices found on platform 0
Setting OpenCL device to device 0
Available extensions : cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_globa
l_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_exte
nded_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_shar
ing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt c
l_khr_d3d10_sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s

Compilation terminated.


rpcminer-cpu.exe is working flawless.

Code:
>rpcminer-cpu.exe -url=http://127.0.0.1:8332 -user=XXX -password=XXX
Client will start 8 miner threads
Work will be refreshed every 4000 ms
Target = 00000000000000000000000000000000000000000000000026cc010000000000
1726 khash/s
3025 khash/s
3625 khash/s
4152 khash/s
4143 khash/s


My system:
Windows 7 (64 bit)
2x ATI HD 6950 CrossfireX
Catalyst 11.2
ATI Steam 2.3

As I said before, if you don't see a line that says "Build program rval=0" the kernel didn't get built successfully and you're not going to be doing any hashing.  You can try this kernel.  If that doesn't work you'll have to edit the kernel and find out what's causing it not to build.

renovatio34
Newbie
*
Offline Offline

Activity: 6


View Profile
February 19, 2011, 08:51:05 PM
 #112

How I compile on windows with NVCC?
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 03:40:47 AM
 #113

Hello All,

I've been working on compiling the rpcminer for mac osx leopard 10.5.8.  I've gotten really far and think I'm almost there, but I'm running into an issue related to boost, I believe.  It seems the function "get" is not resolving.  I'm using macports and I've done a "sudo ports -dv install boost", it seems to be finding the boost headers, because it doesn't complain about those, but it can't resolve the "get" function for some reason.

I would like to hear your 2 cents about the issue if you have some spare time.  I would really appreciate it.  I'm willing to donate some bit coins, but at this point I only have 0.07 Smiley

Code:
make rpcminer
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/turkylurky/opt/src/latestrpc
[  6%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
In file included from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.cpp:22:
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/hex.h:33:8: warning: extra tokens at end of #endif directive
In file included from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/minerheaders.h:57,
                 from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.h:26,
                 from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.cpp:19:
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:579: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:588: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:596: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:610: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:620: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/jtflemturkylurkying/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:629: error: 'get' was not declared in this scope
make[3]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o] Error 1
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/rule] Error 2
make: *** [rpcminer] Error 2

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 03:54:35 AM
 #114

Hello All,

I've been working on compiling the rpcminer for mac osx leopard 10.5.8.  I've gotten really far and think I'm almost there, but I'm running into an issue related to boost, I believe.  It seems the function "get" is not resolving.  I'm using macports and I've done a "sudo ports -dv install boost", it seems to be finding the boost headers, because it doesn't complain about those, but it can't resolve the "get" function for some reason.

I would like to hear your 2 cents about the issue if you have some spare time.  I would really appreciate it.  I'm willing to donate some bit coins, but at this point I only have 0.07 Smiley

Code:
make rpcminer
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/turkylurky/opt/src/latestrpc
[  6%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
In file included from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.cpp:22:
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/hex.h:33:8: warning: extra tokens at end of #endif directive
In file included from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/minerheaders.h:57,
                 from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.h:26,
                 from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.cpp:19:
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:579: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:588: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:596: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:610: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:620: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/jtflemturkylurkying/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:629: error: 'get' was not declared in this scope
make[3]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o] Error 1
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/rule] Error 2
make: *** [rpcminer] Error 2

I was able to resolve this issue by adding "using namespace boost;" after the boost headers are included in "serialize.h"!  Working on next compile issue, now Smiley

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
DrivingVertigo
Newbie
*
Offline Offline

Activity: 3


View Profile
February 20, 2011, 04:15:18 AM
 #115

So, any way I can throttle the CUDA miner to make my system useable?  If I could have a functional system at 90% performance, I could keep it running all day rather than just at night.  I tried setting the "aggression" lower, but to no effect.

Aggression would be the main parameter that affects desktop responsiveness.  Set it to 1 and slowly increase it until you find a balance you like.


I'm getting the message: 
The procedure entry point cuMemFree_v2 could not be located in the dynamic link library nvcuda.dll

I'm running on a windows 7 professional laptop (HP) which has an NVIDIA GeForce GT 230M in it. 

I downloaded the latest driver from NVIDIA  258.96 and double checked that I didn't need to have a driver update from NVIDIA's website. 

258.96 is an old driver.  You need a driver that supports at least CUDA 3.2 if you use the supplied binaries.  Alternately, you can compile the source with whatever CUDA toolkit you have available.


Hello,

I'm having problems with rpcminer-opencl.exe. I'm still getting 0 khash/s even if it connects correctly to the local server.


Code:
>rpcminer-opencl.exe -gpu=0 -url=http://127.0.0.1:8332 -user=XXX -password=XXX
Client will start 1 miner threads
Work will be refreshed every 4000 ms
Target = 00000000000000000000000000000000000000000000000026cc010000000000
1 OpenCL platforms found
2 OpenCL GPU devices found on platform 0
Setting OpenCL device to device 0
Available extensions : cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_globa
l_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_exte
nded_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_shar
ing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt c
l_khr_d3d10_sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s
0 khash/s

Compilation terminated.


rpcminer-cpu.exe is working flawless.

Code:
>rpcminer-cpu.exe -url=http://127.0.0.1:8332 -user=XXX -password=XXX
Client will start 8 miner threads
Work will be refreshed every 4000 ms
Target = 00000000000000000000000000000000000000000000000026cc010000000000
1726 khash/s
3025 khash/s
3625 khash/s
4152 khash/s
4143 khash/s


My system:
Windows 7 (64 bit)
2x ATI HD 6950 CrossfireX
Catalyst 11.2
ATI Steam 2.3

As I said before, if you don't see a line that says "Build program rval=0" the kernel didn't get built successfully and you're not going to be doing any hashing.  You can try this kernel.  If that doesn't work you'll have to edit the kernel and find out what's causing it not to build.

I'm getting 0/khashs on the windows binaries you compiled. doesn't matter if it's CPU, CUDA, or screensavers.
uck
Member
**
Offline Offline

Activity: 95


View Profile
February 20, 2011, 04:42:28 AM
 #116

I am having this same problem too...  Win 7 64  / 8gbmem / ati HD 5450  rpcminer-opencl.exe   0 khash/s...

uck
Member
**
Offline Offline

Activity: 95


View Profile
February 20, 2011, 04:43:58 AM
 #117

Do you have to have a bitcoin wallet program loaded on the computer to make things work?

JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 06:02:27 AM
 #118

I got rpcminer to compile on mac osx, now it needs the ".cubin" file to load.  I'm new to cuda programming, but this is what I have tried so far

nvcc -cubin ../src/cuda/bitcoinminercuda.cu -gencode arch=compute_11,code=sm_11 -o bitcoinminercuda_11.cubin

Code:
nvcc -cubin ../src/cuda/bitcoinminercuda.cu -gencode arch=compute_11,code=sm_11 -o bitcoinminercuda_11.cubin
rpcminer
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 CUDA GPU devices found
Setting CUDA device to first device found
Loading module bitcoinminercuda_11.cubin
Unable to get function cuda_process 500

Any of you experts out there have any ideas what I might be screwing up?

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 10:25:54 AM
 #119

I got rpcminer to compile on mac osx, now it needs the ".cubin" file to load.  I'm new to cuda programming, but this is what I have tried so far

nvcc -cubin ../src/cuda/bitcoinminercuda.cu -gencode arch=compute_11,code=sm_11 -o bitcoinminercuda_11.cubin

Code:
nvcc -cubin ../src/cuda/bitcoinminercuda.cu -gencode arch=compute_11,code=sm_11 -o bitcoinminercuda_11.cubin
rpcminer
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 CUDA GPU devices found
Setting CUDA device to first device found
Loading module bitcoinminercuda_11.cubin
Unable to get function cuda_process 500

Any of you experts out there have any ideas what I might be screwing up?

After adding the #define _BITCOIN_MINER_CUDA_ or turning on the flag I got a valid .cubin file that rpcminer can load.  However, now I only get 0 khash/s

Code:
./rpcminer -gpugrid=1 -gputhreads=1 -url=http://mining.bitcoin.cz:8332 -user=user.1 -pass=pass
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 CUDA GPU devices found
Setting CUDA device to first device found
Loading module bitcoinminercuda_11.cubin
CUDA initialized
Done allocating CUDA resources for (1,1)
0 khash/s
0 khash/s

Any ideas?

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 20, 2011, 03:45:43 PM
 #120

I'm getting 0/khashs on the windows binaries you compiled. doesn't matter if it's CPU, CUDA, or screensavers.

If you don't see a line that says "Target = " with something other than all ffs, then the miner couldn't connect to the RPC server and couldn't download work.  Check that your arguments are correct, particularly the login info.

DrivingVertigo
Newbie
*
Offline Offline

Activity: 3


View Profile
February 20, 2011, 06:12:21 PM
 #121

I'm getting 0/khashs on the windows binaries you compiled. doesn't matter if it's CPU, CUDA, or screensavers.

If you don't see a line that says "Target = " with something other than all ffs, then the miner couldn't connect to the RPC server and couldn't download work.  Check that your arguments are correct, particularly the login info.

Thanks, that got the wheels turning upstairs.  I had to register a worker first on bitcoin.cz before it would allow me to get work units. I thought that simply signing up for an account was enough. Now I am getting work and hashing roughly 45000 khash/s on my GTX 260.
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 07:46:52 PM
 #122

I compiled the cpu only version of rpcminer on mac osx and it compiled with no problems.  However, it's still only getting 0khash/s.  Is there a way to test it in non-network mode to see if it's just having problems getting data to work on? 

Code:
./rpcminer -url=http://mining.bitcoin.cz:8332 -user=user.1 -pass=pass
Client will start 2 miner threads
Work will be refreshed every 4000 ms
0 khash/s
0 khash/s

I tested minerd just before this and it works great
Code:
./minerd --url=http://mining.bitcoin.cz:8332 --userpass=user.1:pass -t 1
1 miner threads started, using SHA256 'c' algorithm.
HashMeter(0): 16777215 hashes, 822.86 khash/sec
HashMeter(0): 8388607 hashes, 823.86 khash/sec


Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 20, 2011, 08:23:11 PM
 #123

I compiled the cpu only version of rpcminer on mac osx and it compiled with no problems.  However, it's still only getting 0khash/s.  Is there a way to test it in non-network mode to see if it's just having problems getting data to work on?  

Code:
./rpcminer -url=http://mining.bitcoin.cz:8332 -user=user.1 -pass=pass
Client will start 2 miner threads
Work will be refreshed every 4000 ms
0 khash/s
0 khash/s

I tested minerd just before this and it works great
Code:
./minerd --url=http://mining.bitcoin.cz:8332 --userpass=user.1:pass -t 1
1 miner threads started, using SHA256 'c' algorithm.
HashMeter(0): 16777215 hashes, 822.86 khash/sec
HashMeter(0): 8388607 hashes, 823.86 khash/sec


Whatever version of libCURL you linked against isn't redirecting to the correct URL.  Use the correct URL and password parameter in the arguments instead and it should work.

Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user=user.1 -password=pass

JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 08:48:34 PM
 #124


Whatever version of libCURL you linked against isn't redirecting to the correct URL.  Use the correct URL in the arguments instead and it should work.

Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user=user.1 -pass=pass


I compiled with curl 7.21.2 and appended the "/" on the end of the url and got the same result, 0 khash/s

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 09:05:47 PM
 #125


Whatever version of libCURL you linked against isn't redirecting to the correct URL.  Use the correct URL in the arguments instead and it should work.

Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user=user.1 -pass=pass


I compiled with curl 7.21.2 and appended the "/" on the end of the url and got the same result, 0 khash/s

Also, I was able to use the command line to get a response from the server using curl.

Code:
/usr/bin/curl http://mining.bitcoin.cz:8332/ --user hidden.1:hidden
{"id": "4303f69c-3d34-11e0-a2f7-fefd6d4ac335", "result": {"hash1": "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000", "data": "00000001c2288b009b20a375b8be48f60e5c525df8b3f2e3b8bc0cc4000113ea000000005c8569d196dc86a3aca747c8269bd385216639d82b26cf8b44f3eae5cec6ea1e4d61809a1b01cc2600000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000", "midstate": "7c2c459ae8eae7e09b4db01685665b7cbb970ba14d7256227d09f8194dd10b2c", "target": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000"}, "error": null}


Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 20, 2011, 09:13:42 PM
 #126

Updated first post with latest release.  The only major change is this release will let you know if there was an issue getting work from the server and will stop hashing stale blocks.

JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 09:35:30 PM
 #127

Updated first post with latest release.  The only major change is this release will let you know if there was an issue getting work from the server and will stop hashing stale blocks.

I really appreciate those updates!  I got the new source and built, now I get:
Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user=hidden.1 -pass=hidden
Client will start 2 miner threads
Work will be refreshed every 4000 ms
Could not retrieve work from RPC server.
CURL return value = 22

I'll start trying to figure out what's up with CURL...

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 10:39:06 PM
 #128

Updated first post with latest release.  The only major change is this release will let you know if there was an issue getting work from the server and will stop hashing stale blocks.

I really appreciate those updates!  I got the new source and built, now I get:
Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user=hidden.1 -pass=hidden
Client will start 2 miner threads
Work will be refreshed every 4000 ms
Could not retrieve work from RPC server.
CURL return value = 22

I'll start trying to figure out what's up with CURL...

Just a couple things I noticed using tcpdump -A and watching the html packets when executing /usr/bin/curl and rpcminer.  /usr/bin/curl sent a GET request and i'm not sure what data to expect as a response, but I got an HTTP/1.1 200 OK when using /usr/bin/curl manually and it responded back with that string I listed above, which looks like what you guys are probably parsing as the data input for the program.  When I run rpcminer, it is using a POST request, and from looking at the source you are using a content-type of "application/json" and I get an HTTP/1.1 401 UNAUTHORIZED as a response.  Are these recent builds working for anyone using linux/mac osx?  It could be my libcurl install is messed up somehow, but I used mac ports.  We could verify it is my setup of libcurl if someone else can compile the current source for linux/mac osx and it successfully gets data.

thanks for all the help and time so far!

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 20, 2011, 11:06:59 PM
 #129

Updated first post with latest release.  The only major change is this release will let you know if there was an issue getting work from the server and will stop hashing stale blocks.

I really appreciate those updates!  I got the new source and built, now I get:
Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user=hidden.1 -pass=hidden
Client will start 2 miner threads
Work will be refreshed every 4000 ms
Could not retrieve work from RPC server.
CURL return value = 22

I'll start trying to figure out what's up with CURL...

Just a couple things I noticed using tcpdump -A and watching the html packets when executing /usr/bin/curl and rpcminer.  /usr/bin/curl sent a GET request and i'm not sure what data to expect as a response, but I got an HTTP/1.1 200 OK when using /usr/bin/curl manually and it responded back with that string I listed above, which looks like what you guys are probably parsing as the data input for the program.  When I run rpcminer, it is using a POST request, and from looking at the source you are using a content-type of "application/json" and I get an HTTP/1.1 401 UNAUTHORIZED as a response.  Are these recent builds working for anyone using linux/mac osx?  It could be my libcurl install is messed up somehow, but I used mac ports.  We could verify it is my setup of libcurl if someone else can compile the current source for linux/mac osx and it successfully gets data.

thanks for all the help and time so far!

It's returning unauthorized because you're not supplying the password correctly.  The parameter is -password not -pass.

JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 20, 2011, 11:19:32 PM
 #130

Updated first post with latest release.  The only major change is this release will let you know if there was an issue getting work from the server and will stop hashing stale blocks.

I really appreciate those updates!  I got the new source and built, now I get:
Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user=hidden.1 -pass=hidden
Client will start 2 miner threads
Work will be refreshed every 4000 ms
Could not retrieve work from RPC server.
CURL return value = 22

I'll start trying to figure out what's up with CURL...

Just a couple things I noticed using tcpdump -A and watching the html packets when executing /usr/bin/curl and rpcminer.  /usr/bin/curl sent a GET request and i'm not sure what data to expect as a response, but I got an HTTP/1.1 200 OK when using /usr/bin/curl manually and it responded back with that string I listed above, which looks like what you guys are probably parsing as the data input for the program.  When I run rpcminer, it is using a POST request, and from looking at the source you are using a content-type of "application/json" and I get an HTTP/1.1 401 UNAUTHORIZED as a response.  Are these recent builds working for anyone using linux/mac osx?  It could be my libcurl install is messed up somehow, but I used mac ports.  We could verify it is my setup of libcurl if someone else can compile the current source for linux/mac osx and it successfully gets data.

thanks for all the help and time so far!

It's returning unauthorized because you're not supplying the password correctly.  The parameter is -password not -pass.

Well that was bonehead of me, but ugh, it still isn't working...
Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user=hidden.1 -password=hidden
Client will start 2 miner threads
Work will be refreshed every 4000 ms
Could not retrieve work from RPC server.
CURL return value = 22

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 21, 2011, 12:21:46 AM
 #131

I found if I comment out this section in "rpcrequest.cpp",
Code:
        std::ostringstream istr;
        istr << m_readbuff.size();
        std::string headersize("Content-Length: "+istr.str());

        headers=curl_slist_append(headers,"Content-type: application/json");
        headers=curl_slist_append(headers,headersize.c_str());
        headers=curl_slist_append(headers,"Expect:");

        curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);

It computes hashs and I get a
Target = 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffff

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 21, 2011, 01:52:45 AM
 #132

I think I'm finally getting somewhere,

I added
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
to your code and compiled.  Upon running I get some very interesting results in the verbose debug of curl.

Code:
./rpcminer -url=http://mining.bitcoin.cz:8332/ -user='hidden.1' -password=hidden
Client will start 2 miner threads
Work will be refreshed every 4000 ms
{"method":"getwork","params":[],"id":0}
* About to connect() to mining.bitcoin.cz port 8332 (#0)
*   Trying 178.79.147.99... * TCP_NODELAY set
* connected
* Connected to mining.bitcoin.cz (178.79.147.99) port 8332 (#0)
* Server auth using Basic with user ''
> POST / HTTP/1.1
Authorization: Basic Og==
Host: mining.bitcoin.cz:8332
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 39

< HTTP/1.1 401 UNAUTHORIZED
< Server: nginx/0.7.65
< Date: Mon, 21 Feb 2011 01:44:00 GMT
< Content-Type: text/plain
< Transfer-Encoding: chunked
< Connection: keep-alive
* Authentication problem. Ignoring this.
< WWW-Authenticate: Basic realm="Restricted access. Visit http://mining.bitcoin.cz to get login and password."
* The requested URL returned error: 401
* Closing connection #0
* HTTP response code said error
Could not retrieve work from RPC server.
CURL return value = 22
* About to connect() to mining.bitcoin.cz port 8332 (#0)
*   Trying 178.79.147.99... * TCP_NODELAY set
* connected
* Connected to mining.bitcoin.cz (178.79.147.99) port 8332 (#0)
* Server auth using Basic with user 'th'
> POST / HTTP/1.1
Authorization: Basic dGg6IDM5
Host: mining.bitcoin.cz:8332
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 39

* The requested URL returned error: 400
* Closing connection #0
* HTTP response code said error
Could not retrieve work from RPC server.
CURL return value = 22
* About to connect() to mining.bitcoin.cz port 8332 (#0)
*   Trying 178.79.147.99... * TCP_NODELAY set
* connected
* Connected to mining.bitcoin.cz (178.79.147.99) port 8332 (#0)
* Server auth using Basic with user ''
> POST / HTTP/1.1
Authorization: Basic Og==
Host: mining.bitcoin.cz:8332
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 39

< HTTP/1.1 401 UNAUTHORIZED
< Server: nginx/0.7.65
< Date: Mon, 21 Feb 2011 01:44:09 GMT
< Content-Type: text/plain
< Transfer-Encoding: chunked
< Connection: keep-alive
* Authentication problem. Ignoring this.
< WWW-Authenticate: Basic realm="Restricted access. Visit http://mining.bitcoin.cz to get login and password."
* The requested URL returned error: 401
* Closing connection #0
* HTTP response code said error
Could not retrieve work from RPC server.
CURL return value = 22
* About to connect() to mining.bitcoin.cz port 8332 (#0)
*   Trying 178.79.147.99... * TCP_NODELAY set
* connected
* Connected to mining.bitcoin.cz (178.79.147.99) port 8332 (#0)
* Server auth using Basic with user 'th'
> POST / HTTP/1.1
Authorization: Basic dGg6IDM5
Host: mining.bitcoin.cz:8332
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 39

* The requested URL returned error: 400
* Closing connection #0
* HTTP response code said error
Could not retrieve work from RPC server.
CURL return value = 22
* About to connect() to mining.bitcoin.cz port 8332 (#0)
*   Trying 178.79.147.99... * TCP_NODELAY set
* connected
* Connected to mining.bitcoin.cz (178.79.147.99) port 8332 (#0)
* Server auth using Basic with user 'thin???'
> POST / HTTP/1.1
Authorization: Basic dGhpboCYgDo=
Host: mining.bitcoin.cz:8332
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 39

< HTTP/1.1 200 OK
< Server: nginx/0.7.65
< Date: Mon, 21 Feb 2011 01:44:18 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
< Content-Encoding: gzip
<
* Connection #0 to host mining.bitcoin.cz left intact
* Closing connection #0


Watch for these lines,
* Server auth using Basic with user ''
* Server auth using Basic with user 'th'
* Server auth using Basic with user ''
* Server auth using Basic with user 'th'
* Server auth using Basic with user 'thin???'

Looks like the user string getting passed to curl is varying for some reason, notice after the last Server auth with user 'thin???' it is followed by a HTTP/1.1 200 OK.  I guess in that case lib curl is masking the user/pass info with 'Huh' ?  Could it be that the string used to create the username/pass combo is having it's memory stomped on or some other weird memory thing?

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 21, 2011, 02:05:35 AM
 #133

I think this is confirmed....it seems like lib curl should copy your userpass string into its own internal buffer, but I don't think that it is doing that.  You have a local variable defined for userpass and are calling curl_easy_setopt(curl,CURLOPT_USERPWD,userpass.c_str());

that local variable is getting blown away after it leaves the scope.  I defined userpass as a global variable for a test and then the curl debug always has the correct username rather than the varying "garbage".  Also, I get < HTTP/1.1 200 OK everytime and it is performing ~ 1500 khash/sec

I also get
Target = 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffff
not sure if this is good or not,

basically I'm using your software asis, but I made userpass a global variable, not sure how best to do that or if this is a correct fix yet.  I wanted to get your opinion

Any ideas?

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 21, 2011, 02:55:38 AM
 #134

It just found a hash

Code:
1572 khash/s
1574 khash/s
2011-02-21 02:46:50 Found Hash!
Sending to server: {"method":"getwork","params":["0000000142498aa12b8b82781a47fd4ed555cdb61f11b0d24d7e53ad00016ce4000000001dacebd09c567c35f299336b03020ab8a6af00398a40bb423b3557749f5ceb9a4d61d2171b01cc2629420600000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"],"id":1}
Server sent: {"result": true, "id": "1", "error": null}
1584 khash/s
1577 khash/s
2011-02-21 02:47:16 Found Hash!
Sending to server: {"method":"getwork","params":["0000000142498aa12b8b82781a47fd4ed555cdb61f11b0d24d7e53ad00016ce400000000525e3f84c2d8f38145363ff68ef5ae5bff6ba2951d45fb93503c96f5d69a1b414d61d2271b01cc2611c64c00000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"],"id":1}
Server sent: {"result": true, "id": "1", "error": null}
1568 khash/s

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 21, 2011, 04:02:48 AM
 #135

I just got rpcminer working with cuda as well.  Puddinpop is awesome!  Thanks for making your software opensource and being so patient with people Smiley  I'm using the 8600m gt gpu in my macbook pro, osx 10.5.8 leopard.  I'm getting about 3600khash/s with just the gpu.  If anyone needs help with linux or mac, feel free to ask!

Code:
3583 khash/s
3543 khash/s
2011-02-21 04:01:07 Found Hash!
Sending to server: {"method":"getwork","params":["000000011547005097397526c56d1062895102170ae1d8f7a3039112000091d900000000b698719b56b688cad527b7276586e1d59a341455b7dc11fbe91323bc806870804d61e37b1b01cc260290e900000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"],"id":1}
Server sent: {"result": true, "id": "1", "error": null}
3598 khash/s
3559 khash/s

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
aahzmundus
Hero Member
*****
Offline Offline

Activity: 644


Invest & Earn: https://cloudthink.io


View Profile
February 22, 2011, 02:43:57 AM
 #136

Trying to run the opencl client and I get this...

Client will start 1 miner threads
Work will be refreshed every 4000 ms
Target = 000000000001cc260000000000000000000000000000000000000000000000
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Available extensions : cl_khr_global_int32_base_atomics cl_khr_global_int32_exte
nded_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_d
evice_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_
sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s
0 khash/s

running with -user=xxxxx -password=xxxxx -gpu -url=http://127.0.0.1:8332

I tried all the suggestions listed so far in this topic and feel like I am missing something.

The one thing I havent done is:
Quote
As I said before, if you don't see a line that says "Build program rval=0" the kernel didn't get built successfully and you're not going to be doing any hashing.  You can try this kernel.  If that doesn't work you'll have to edit the kernel and find out what's causing it not to build.

I tried the other kernel, no luck... and i have no idea where I would start with editing the kernel, but if someone could point me in the right direction... or has an idea... I would appreciate it!

Windows 7 x64
ATI HD5700
Catalyst vs 11.2

flags8192
Newbie
*
Offline Offline

Activity: 4


View Profile
February 22, 2011, 04:45:58 AM
 #137

who can give a binary for ubuntu x64?
aistto
Legendary
*
Offline Offline

Activity: 973


View Profile
February 23, 2011, 06:37:06 PM
 #138

does this miner work with crossfire?
os008
Member
**
Offline Offline

Activity: 79



View Profile
February 24, 2011, 09:27:38 AM
 #139

Hi,
If i try to run any of the exe's of this program on my Windows XP SP3 machine, I get "this application has failed to start because the application configuration is incorrect", it runs fine on my Windows 7 machine though. Am i missing something? Thanks.

2x5850 @ 600[M|K]H/s
slush
Legendary
*
Offline Offline

Activity: 1372



View Profile WWW
February 25, 2011, 06:05:48 PM
 #140

I'm not familiar with miner source, but does it support long live http connections, "keep-alive"?

pla
Member
**
Offline Offline

Activity: 65


View Profile
February 25, 2011, 06:22:50 PM
 #141

If i try to run any of the exe's of this program on my Windows XP SP3 machine, I get "this application has failed to start because the application configuration is incorrect", it runs fine on my Windows 7 machine though. Am i missing something? Thanks.

On XP, you need the MSVC80 redistributable to run Puddin's miners:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en.

I don't beg - If I do something to deserve your BTC, you can find my address on the invoice.  Wink
yomi
Jr. Member
*
Offline Offline

Activity: 40


View Profile
February 25, 2011, 06:44:48 PM
 #142

I just got rpcminer working with cuda as well.  Puddinpop is awesome!  Thanks for making your software opensource and being so patient with people Smiley  I'm using the 8600m gt gpu in my macbook pro, osx 10.5.8 leopard.  I'm getting about 3600khash/s with just the gpu.  If anyone needs help with linux or mac, feel free to ask!

Code:
3583 khash/s
3543 khash/s
2011-02-21 04:01:07 Found Hash!
Sending to server: {"method":"getwork","params":["000000011547005097397526c56d1062895102170ae1d8f7a3039112000091d900000000b698719b56b688cad527b7276586e1d59a341455b7dc11fbe91323bc806870804d61e37b1b01cc260290e900000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"],"id":1}
Server sent: {"result": true, "id": "1", "error": null}
3598 khash/s
3559 khash/s

Can you please give details on how you compiled rpcminer and rpcminer-cuda on Mac OS? I am running Snow Leopard and have installed boost and cmake via hombrew, but I keep getting compilation errors.

Thanks.

17qXiw646kuukEwjArHNKCNPUh3HnXfgbw
NicholasBell
Jr. Member
*
Offline Offline

Activity: 34


View Profile
February 27, 2011, 03:28:34 AM
 #143

Is there any particular reason that the CUDA miner would only perform at maximum khash/s if its CLI status window were the foreground window? I'm seeing consistent drops from 16000khash/s to 6000-9000 khash/s when the window is not in the foreground, even if absolutely nothing is happening in whatever window is the foreground (even away from the computer).

System: Windows 7 Enterprise 32 bit, 2.9ghz Core2Duo, Geforce 9600GT, 3gb RAM.


I'm another person that has issues with the CUDA miner speed dropping significantly if it isn't the currently highlighted window (109000 khash/s down to around 16000 khash/s). I really like this miner, but I pay ~100khash/s opportunity cost to actually use my PC. I run the 4way miner at the same time and see no slowdown when it isn't the active window.

I have W7 Professional 64-bit, mining on a gtx 480.

Tips for helpful/interesting posts? 1FqDDt4w7NzBMg7qoB3GQjdMaPHn6wGhZB
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 27, 2011, 04:56:46 AM
 #144

I just got rpcminer working with cuda as well.  Puddinpop is awesome!  Thanks for making your software opensource and being so patient with people Smiley  I'm using the 8600m gt gpu in my macbook pro, osx 10.5.8 leopard.  I'm getting about 3600khash/s with just the gpu.  If anyone needs help with linux or mac, feel free to ask!

Code:
3583 khash/s
3543 khash/s
2011-02-21 04:01:07 Found Hash!
Sending to server: {"method":"getwork","params":["000000011547005097397526c56d1062895102170ae1d8f7a3039112000091d900000000b698719b56b688cad527b7276586e1d59a341455b7dc11fbe91323bc806870804d61e37b1b01cc260290e900000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"],"id":1}
Server sent: {"result": true, "id": "1", "error": null}
3598 khash/s
3559 khash/s

Can you please give details on how you compiled rpcminer and rpcminer-cuda on Mac OS? I am running Snow Leopard and have installed boost and cmake via hombrew, but I keep getting compilation errors.

Thanks.

What's your build error?  What cmake command line did you use?

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
os008
Member
**
Offline Offline

Activity: 79



View Profile
February 27, 2011, 11:52:48 AM
 #145


Thank you; that worked. I think i installed the 2010 package before.

2x5850 @ 600[M|K]H/s
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
February 27, 2011, 03:35:48 PM
 #146

Update first post with latest release.  The connection to the RPC server will now be kept open if the server supports it instead of opening a new connection for each request.

slush
Legendary
*
Offline Offline

Activity: 1372



View Profile WWW
February 27, 2011, 04:05:09 PM
 #147

Update first post with latest release.  The connection to the RPC server will now be kept open if the server supports it instead of opening a new connection for each request.

Thanks a lot! All users of this miner & my pool, please update!

JoeGTN1
Newbie
*
Offline Offline

Activity: 2


View Profile
February 27, 2011, 05:50:57 PM
 #148

I'm getting compilation errors on Linux:

Code:
OPTION(BITCOIN_ENABLE_CUDA "Enable CUDA miner" ON)
OPTION(BITCOIN_ENABLE_OPENCL "Enable OpenCL miner" OFF)
OPTION(BITCOIN_ENABLE_REMOTE_SERVER "Enable remote miner server" OFF)
OPTION(BITCOIN_BUILD_GUI "Build Server GUI (bitcoin)" OFF)
OPTION(BITCOIN_BUILD_DAEMON "Build Server Daemon (bitcoind)" OFF)
OPTION(BITCOIN_BUILD_REMOTE_MINER "Build remote miner (bitcoinr)" OFF)
OPTION(BITCOIN_BUILD_RPC_MINER "Build RPC miner (rpcminer)" ON)
Code:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2>&, int, int)’:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h:579:31: error: ‘get’ was not declared in this scope
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h: In function ‘void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2>&, int, int)’:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h:588:19: error: ‘get’ was not declared in this scope
...

"get" is a pretty hard search term to figure out what templated function I'm looking for.

I'm also not exactly sure which pieces I'm supposed to be building, but with the other "BITCOIN_BUILD" options I get other errors, some with WX (no target set), others with json_spirit (int64 isn't a valid type for some reason, I got it to keep going once by changing them all to int64_t).

Thoughts?  Different place I should be asking?
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 27, 2011, 05:59:02 PM
 #149

I'm getting compilation errors on Linux:

Code:
OPTION(BITCOIN_ENABLE_CUDA "Enable CUDA miner" ON)
OPTION(BITCOIN_ENABLE_OPENCL "Enable OpenCL miner" OFF)
OPTION(BITCOIN_ENABLE_REMOTE_SERVER "Enable remote miner server" OFF)
OPTION(BITCOIN_BUILD_GUI "Build Server GUI (bitcoin)" OFF)
OPTION(BITCOIN_BUILD_DAEMON "Build Server Daemon (bitcoind)" OFF)
OPTION(BITCOIN_BUILD_REMOTE_MINER "Build remote miner (bitcoinr)" OFF)
OPTION(BITCOIN_BUILD_RPC_MINER "Build RPC miner (rpcminer)" ON)
Code:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2>&, int, int)’:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h:579:31: error: ‘get’ was not declared in this scope
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h: In function ‘void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2>&, int, int)’:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h:588:19: error: ‘get’ was not declared in this scope
...

"get" is a pretty hard search term to figure out what templated function I'm looking for.

I'm also not exactly sure which pieces I'm supposed to be building, but with the other "BITCOIN_BUILD" options I get other errors, some with WX (no target set), others with json_spirit (int64 isn't a valid type for some reason, I got it to keep going once by changing them all to int64_t).

Thoughts?  Different place I should be asking?

I solved this build error by adding "using namespace boost;" just after the boost include files in "serialize.h".

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
yomi
Jr. Member
*
Offline Offline

Activity: 40


View Profile
February 27, 2011, 11:51:19 PM
 #150

I'm getting compilation errors on Linux:

Code:
OPTION(BITCOIN_ENABLE_CUDA "Enable CUDA miner" ON)
OPTION(BITCOIN_ENABLE_OPENCL "Enable OpenCL miner" OFF)
OPTION(BITCOIN_ENABLE_REMOTE_SERVER "Enable remote miner server" OFF)
OPTION(BITCOIN_BUILD_GUI "Build Server GUI (bitcoin)" OFF)
OPTION(BITCOIN_BUILD_DAEMON "Build Server Daemon (bitcoind)" OFF)
OPTION(BITCOIN_BUILD_REMOTE_MINER "Build remote miner (bitcoinr)" OFF)
OPTION(BITCOIN_BUILD_RPC_MINER "Build RPC miner (rpcminer)" ON)
Code:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2>&, int, int)’:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h:579:31: error: ‘get’ was not declared in this scope
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h: In function ‘void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2>&, int, int)’:
/root/z/rpc/src/rpcminer/../minercommon/../serialize.h:588:19: error: ‘get’ was not declared in this scope
...

"get" is a pretty hard search term to figure out what templated function I'm looking for.

I'm also not exactly sure which pieces I'm supposed to be building, but with the other "BITCOIN_BUILD" options I get other errors, some with WX (no target set), others with json_spirit (int64 isn't a valid type for some reason, I got it to keep going once by changing them all to int64_t).

Thoughts?  Different place I should be asking?

I solved this build error by adding "using namespace boost;" just after the boost include files in "serialize.h".

Thanks! Adding that line I managed to compile the rpcminer using CUDA.

Now I am stuck with the cubin problem:

Code:

$ ./rpcminer -url=http://mining.bitcoin.cz:8332 -user=xxxx -password=yyyy -gpu
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 CUDA GPU devices found
Setting CUDA device to first device found
Loading module bitcoinminercuda_11.cubin
Unable to load CUDA module


I also tried to generate the cubin file with:

nvcc -cubin ../src/cuda/bitcoinminercuda.cu -gencode arch=compute_11,code=sm_11 -o bitcoinminercuda_11.cubin

But I still get the same error when I start the miner.

How did you do it? :-)

Thank you.

17qXiw646kuukEwjArHNKCNPUh3HnXfgbw
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 28, 2011, 12:07:29 AM
 #151

There are a couple ways around the .cubin issue.

I found if I do the original "cmake -i", eventually it will prompt you asking if you want to generate a cubin file.  You say "yes" and then it builds a cubin file with a ".txt" extension for whatever reason.

If you take the cubin.txt file and copy it to bitcoinminercuda_11.cubin rpcminer with cuda will work

the other option is to run nvcc and generate your own cubin from the ".cu" file

"nvcc ../src/cuda/bitcoinminercuda.cu -gencode arch=compute_10,\"code=sm_10,compute_10\" -gencode arch=compute_11,\"code=sm_11,compute_11\" --keep"

this will generate .cubin files, copy the one you want to bitcoinminercuda_11.cubin and then run rpcminer

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
edric
Hero Member
*****
Offline Offline

Activity: 546



View Profile
February 28, 2011, 11:12:53 PM
 #152

I'm having a problem getting the RPC Cuda miner set up on a secondary PC on my LAN. I've got it all set up on my main computer and running fine, but trying to run the miner on my other pc is giving me trouble. I've tried with -server=192.168.0.7 -user=xxx -password=xxx -port=8333 -rpcport =8333 and am getting CURL return value = 7
I've also tried with -url=192.168.0.7:8333 with user and pass, I'm getting no errors, but after it loads up CUDA it does absolutely nothing, not even 0 khash. Any insight on what I'm doing wrong?

edit: I figured out how to (supposedly)enable the server to accept rpc connections from other computers but I'm still getting CURL return value = 7. Seems that using rpcallowip=x.x.x.x in the .conf file is being ignored because I still cannot get the rpc miner on my other computer to connect. I've even tried specifying a port (8332) but it does not matter. Am I missing something??


EDIT AGAIN: Fixed. A faulty network cable causing extremely unstable connections. I knew I was missing something, lol. By the way, for some reason it only worked if I used -url but not -server.

ddod
Newbie
*
Offline Offline

Activity: 12


View Profile
March 02, 2011, 03:54:00 PM
 #153

So what am I doing wrong?  I downloaded the pre-compiled binaries for windows yesterday.  I have tried them on two machines (both with win7 64).  

Once machine has 2 Radeon HD 5770s (not in crossfire) and I am getting 0 K/hash/s not matter which GPU I try to select (although from the output it appears to only be finding one GPU anyway)
Quote
c:\bitminer>rpcminer-opencl.exe -gpu -url=http://localhost:8332 -user=uname -password=pass
Client will start 1 miner threads
Work will be refreshed every 4000 ms
Target = 0000000000012dcd0000000000000000000000000000000000000000000000
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Available extensions : cl_khr_global_int32_base_atomics cl_khr_global_int32_exte
nded_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_d
evice_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_
sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s

I get similar output with opencl on the other machine which has an Nvidia 8800gts in it.  When trying the CUDA option on that machine I get better results.  However with the default optionsit was getting about 1000khash/s which seemed a little low.  With tweaking (I now have the gpugrid set to 512) it is now getting between 10000 and 15000.  Is that still too low?

Thanks for this tool.  I look forward to getting it to work.
edric
Hero Member
*****
Offline Offline

Activity: 546



View Profile
March 03, 2011, 09:42:51 AM
 #154

So what am I doing wrong?  I downloaded the pre-compiled binaries for windows yesterday.  I have tried them on two machines (both with win7 64).  

Once machine has 2 Radeon HD 5770s (not in crossfire) and I am getting 0 K/hash/s not matter which GPU I try to select (although from the output it appears to only be finding one GPU anyway)
Quote
c:\bitminer>rpcminer-opencl.exe -gpu -url=http://localhost:8332 -user=uname -password=pass
Client will start 1 miner threads
Work will be refreshed every 4000 ms
Target = 0000000000012dcd0000000000000000000000000000000000000000000000
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Available extensions : cl_khr_global_int32_base_atomics cl_khr_global_int32_exte
nded_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_d
evice_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_
sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s

I get similar output with opencl on the other machine which has an Nvidia 8800gts in it.  When trying the CUDA option on that machine I get better results.  However with the default optionsit was getting about 1000khash/s which seemed a little low.  With tweaking (I now have the gpugrid set to 512) it is now getting between 10000 and 15000.  Is that still too low?

Thanks for this tool.  I look forward to getting it to work.


I'm having the same problem with the new build. 0 khash trying to use openCL. On my other machine, it just spams the window with text at warp speed, but that's using the earlier version.

jkminkov
Hero Member
*****
Offline Offline

Activity: 621


View Profile
March 05, 2011, 01:40:20 PM
 #155

hello, I have win7 x64 and Nvidia GTX560 Ti, factory overclocked to 900/1800/2000

last night another application caused conhost.exe to crash and thus ending rpcminer-cuda.exe

the problem is that afterwards your program uses at most 95% of the card, something like 95% throttling, instead of 99%, causing my hash/s to drop from previously average 86700 to 81500

any ideas how to correct that?

Bleutrade
2400 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
edric
Hero Member
*****
Offline Offline

Activity: 546



View Profile
March 07, 2011, 08:19:09 AM
 #156

hello, I have win7 x64 and Nvidia GTX560 Ti, factory overclocked to 900/1800/2000

last night another application caused conhost.exe to crash and thus ending rpcminer-cuda.exe

the problem is that afterwards your program uses at most 95% of the card, something like 95% throttling, instead of 99%, causing my hash/s to drop from previously average 86700 to 81500

any ideas how to correct that?

I've had some sort of mixed results similar to yours, using the same miner. My usual thing is to run it with aggression=6 while I'm at work and my wife is watching movies on the projector. It's not a problem and everything runs well but usage usually sits at %96 and even after VLC and everything is shut off, it stays the same and hashes will sit around 89. When I run my miner, I always set its priority to Above Normal. Sometimes it seems to keep this trend, even after other activities have stopped, of running 96% and giving me low hashes. I've found if I just shut it off, for a few minutes, then start it back up again, it seems to work just fine. Ask me why, I dunno, but it does. It'll go up to 99% just fine. Could possibly be a driver thing.

jkminkov
Hero Member
*****
Offline Offline

Activity: 621


View Profile
March 07, 2011, 10:43:08 AM
 #157

I found that when initial allocation of resources shows something different from 128,256(speed benchmark?), gpu is not used @ 100% happens mostly after using 3D/Cuda resources and launching miner in less than 1 minute

Bleutrade
2400 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
TurboK
Full Member
***
Offline Offline

Activity: 137



View Profile
March 11, 2011, 02:36:53 PM
 #158

Hi.
I'm running rpcminer-opencl.exe (20110227), and all is going right... except for one rather nasty problem. If I open any video file (local using MPC-HC with EVR renderer and ffdshow, or online on Youtube), or open Gpu-Z, my computer hangs up completely. This only happens while running the rpcminer.
I'm using a Radeon 6950 with Catalyst 11.2 on Win7 x64, GA-P35-DS3 motherboard and E6550 cpu. Upgrading to 11.4 preview made no difference. Switching from RPC Miner to poclbm made no difference, it still hangs up.

In the past, I had similar problems with another GPU accelerated app on my previous videocard - a Radeon 5850, it hanged up the whole system the exact same way when using ighashgpu + opening any video file. This was later fixed in one of the Catalyst updates.

Overheating etc. cannot be an issue, as I have adequate cooling and a good power supply (corsair hx520w).

Is there anything I can try (some setting in rpc miner), or am I limited to waiting a catalyst update that fixes this issue?

12zJNWtM2HknS2EPLkT9QPSuSq1576aKx7

Tradehill viral bullshit code: TH-R114411
jkminkov
Hero Member
*****
Offline Offline

Activity: 621


View Profile
March 11, 2011, 05:18:29 PM
 #159

for radeon use SDK 2.2
run poclbm with -f120 -v -w128
lower priority of poclbm with task manager to low

if you play youtube clips, expect hashrate to drop by 50%
if still lags, rise value to -f150 or more

Bleutrade
2400 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
TurboK
Full Member
***
Offline Offline

Activity: 137



View Profile
March 11, 2011, 06:55:18 PM
 #160

The problem isn't performance. My computer flat-out hangs. No BSOD, no error message, no trace of anything in the event log. The screen will just freeze permanently. Only a hard reset will revive it.

I've tried various -f switches for poclbm-mod, and I've tried Stream SDK 2.1 to 2.4. All of them hang.

12zJNWtM2HknS2EPLkT9QPSuSq1576aKx7

Tradehill viral bullshit code: TH-R114411
jkminkov
Hero Member
*****
Offline Offline

Activity: 621


View Profile
March 11, 2011, 07:34:00 PM
 #161

try with updating codecs or use another player? VLC?

Bleutrade
2400 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
TurboK
Full Member
***
Offline Offline

Activity: 137



View Profile
March 11, 2011, 07:52:28 PM
 #162

It's not a question of codecs or players. Alternate players will work if I set them to full software mode (so they don't use VMR9 or EVR). But I can't set anything like that for Youtube (no video settings in CCC make a difference, neither does disabling hardware acceleration in Flash).

Moreover, GPU-Z triggers this as well, but only on startup. Load poclbm-mod first, then gpu-z = hangs. Load gpu-z first, then poclbm-mod = runs fine. Since all gpu-z does is poll the functions of the card, that makes me think that the cause of the hang is when Stream functions + UVD functions are accessed at the same time.

Like I said, I've been plagued by the same issue back with my 5850, using vista x86. That was fixed in Catalyst 10.3. Now, on Win7 x64 and a 6950, the problem persists with catalyst 10.12 to 11.4p.

12zJNWtM2HknS2EPLkT9QPSuSq1576aKx7

Tradehill viral bullshit code: TH-R114411
andr
Newbie
*
Offline Offline

Activity: 1


View Profile
March 13, 2011, 01:09:49 AM
 #163

Hi. Thanks for the miner. Until I update my video drivers, trying out the CPU miner, and it doesn't post work to http://mining.bitcoin.cz/

It receives work and calculates hashes, but no shares are ever reflected in the profile. How to fix this?

Running command: C:\...\bitcoin-rpcminer-20110227-win32bin\rpcminer-cpu.exe -url=http://mining.bitcoin.cz:8332/ -user=xxx.xxx -password=xxx -threads=1 -statsurl=http://mining.bitcoin.cz/stats/json/
slush
Legendary
*
Offline Offline

Activity: 1372



View Profile WWW
March 13, 2011, 01:53:51 AM
 #164

It receives work and calculates hashes, but no shares are ever reflected in the profile. How to fix this?

Depends on your hashrate, it can take a hour to find a share. It is very approximately 1 share/hour for every 1 Mhash/s in average.

bobR
Member
**
Offline Offline

Activity: 112


View Profile
March 14, 2011, 12:21:45 PM
 #165

is -workrefreshms=xxxx the same as askrate ?
fairuser demands an ask rate of 10 sec to use his pool but refuses to answer what he's talking about
geebus
Sr. Member
****
Offline Offline

Activity: 258



View Profile WWW
March 14, 2011, 12:35:03 PM
 #166

is -workrefreshms=xxxx the same as askrate ?
fairuser demands an ask rate of 10 sec to use his pool but refuses to answer what he's talking about

Use the following command to connect and run on bitcoinpool.com:
Code:
rpcminer-cpu.exe -url=http://bitcoinpool.com:8334 -user=USERNAME -password=PASSWORD -workrefreshms=20000

Replace USERNAME and PASSWORD with your own credentials.

Feel like donating to me? BTC Address: 14eUVSgBSzLpHXGAfbN9BojXTWvTb91SHJ
bobR
Member
**
Offline Offline

Activity: 112


View Profile
March 14, 2011, 01:18:03 PM
 #167

is -workrefreshms=xxxx the same as askrate ?
fairuser demands an ask rate of 10 sec to use his pool but refuses to answer what he's talking about

Use the following command to connect and run on bitcoinpool.com:
Code:
rpcminer-cpu.exe -url=http://bitcoinpool.com:8334 -user=USERNAME -password=PASSWORD -workrefreshms=20000

Replace USERNAME and PASSWORD with your own credentials.

Would have been nice to just say that in your own thread
And I would not have had to bother to ask here
electrotime
Newbie
*
Offline Offline

Activity: 21


View Profile
March 27, 2011, 09:29:33 PM
 #168

Is rpc-cuda supporting long polling? If not, will be implemented?

Thanks!

Si te ha servido mi información, cualquier donación es bienvenida => 17jvU48o4k2ypZNfspinvy1fPBxePs1aY5 <= Gracias.
bobR
Member
**
Offline Offline

Activity: 112


View Profile
March 27, 2011, 10:21:32 PM
 #169

I'd like to see you support long pole
I use your miner because it was the only one I could get to work as a newbee
only prob I've had with it  is with fairuser and his askrate that he could not explain
... funny later it was answered here
... he couldn't understand it before I asked you
if askrate was workrefresh ... and then they changed their instructions

anyway
I support you
keep up the good work
 
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 28, 2011, 04:59:54 PM
 #170

Hi

i got this far trying to compile on OS X 10.6.7
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindBoost.cmake:1128 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:79 (FIND_PACKAGE)


-- Found wxWidgets: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
CMake Error at cmake-modules/FindCUDA.cmake:465 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:117 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
Jespers-MacBook-Pro:build jepper_broge$

i am a complete novice and have never compiled my own source before so it would be of great help if someone could spell it out what is going wrong and how do i fix it?

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
bobR
Member
**
Offline Offline

Activity: 112


View Profile
March 28, 2011, 05:13:09 PM
 #171

Quote
 
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.

apparently you don't have "BOOST" installed or it is not installed in the proper location
I don't know if boost works with osx  boost is a C++ addon enhancement for linux/unix


Hi

i got this far trying to compile on OS X 10.6.7
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindBoost.cmake:1128 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:79 (FIND_PACKAGE)


-- Found wxWidgets: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
CMake Error at cmake-modules/FindCUDA.cmake:465 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:117 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
Jespers-MacBook-Pro:build jepper_broge$

i am a complete novice and have never compiled my own source before so it would be of great help if someone could spell it out what is going wrong and how do i fix it?

FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 28, 2011, 05:25:39 PM
 #172

Quote
 
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.

apparently you don't have "BOOST" installed or it is not installed in the proper location
I don't know is it works with osx  boost is a C++ addon enhancement for linux/unix


Hi

i got this far trying to compile on OS X 10.6.7
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindBoost.cmake:1128 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:79 (FIND_PACKAGE)


-- Found wxWidgets: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
CMake Error at cmake-modules/FindCUDA.cmake:465 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:117 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
Jespers-MacBook-Pro:build jepper_broge$

i am a complete novice and have never compiled my own source before so it would be of great help if someone could spell it out what is going wrong and how do i fix it?


downloaded boost from here: http://www.boost.org/users/download/ and im lost again

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
LMGTFY
Hero Member
*****
Offline Offline

Activity: 644



View Profile
March 28, 2011, 05:36:25 PM
 #173

downloaded boost from here: http://www.boost.org/users/download/ and im lost again
If it helps (and it may not, I'm not a regular OSX person) Boost is in MacPorts. May make life easier, you should just be able to...
Code:
sudo port install boost

Obviously this relies on you having MacPorts installed, but I assume that that's a regular OSX install, no compilation required.

This space intentionally left blank.
bobR
Member
**
Offline Offline

Activity: 112


View Profile
March 28, 2011, 05:38:18 PM
 #174

unzip the download
noting where it unzips to

you may have to tell make where it is

or check the make to see where it wants boost and make sure it goes there


Better is follow the instruction of the last post
Blackasaurus
Jr. Member
*
Offline Offline

Activity: 56


Rawr!


View Profile
March 28, 2011, 09:35:42 PM
 #175

Can't get it to work (opencl miner), but the CPU miner works fine
Same for the screensavers
Heres what it gives me
Code:
C:\mining\Screensavers>rpcminer-opencl.exe -url=http://deepbit.net:8332 -user=xxxx -password=xxxx
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 OpenCL platforms found
1 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Available extensions : cl_khr_global_int32_base_atomics cl_khr_global_int32_exte
nded_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_d
evice_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_
sharing
Defining AMDMEDIAOPS
Create context rval=0
Target = 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffff
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS
0 khash/s
0 khash/s
0 khash/s
urizane
Jr. Member
*
Offline Offline

Activity: 56



View Profile
March 28, 2011, 10:55:57 PM
 #176

Can't get it to work (opencl miner), but the CPU miner works fine
Same for the screensavers
Heres what it gives me

Looking elsewhere in this thread, the issue is you're not seeing 'Build program rval=0'.  Download the binary package from the first post and look for a BitcoinMiner.cl file.  This is apparently what you're missing.

EDIT: Also, puddinpop.  Is it possible to get a check in there to see if the file exists or can be loaded?
Blackasaurus
Jr. Member
*
Offline Offline

Activity: 56


Rawr!


View Profile
March 29, 2011, 12:12:37 AM
 #177


Looking elsewhere in this thread, the issue is you're not seeing 'Build program rval=0'.  Download the binary package from the first post and look for a BitcoinMiner.cl file.  This is apparently what you're missing.

EDIT: Also, puddinpop.  Is it possible to get a check in there to see if the file exists or can be loaded?

No file with that name in here, theres a bitcoinmineropencl.cl but i already have that in the folder
urizane
Jr. Member
*
Offline Offline

Activity: 56



View Profile
March 29, 2011, 09:07:51 AM
 #178

No file with that name in here, theres a bitcoinmineropencl.cl but i already have that in the folder

Oh yeah, you're right.  I was looking at poclbm mistakenly.  Well, for some reason, it's still not loading the .cl file.  As far as the screensaver goes, both the .scr file and the .cl file have to be in system32 (32-bit Windows) or syswow64 (64-bit Windows) in order for it to work.  As far as the standard OpenCL miner not working, I'm kind of lost there.  There might be some possible issues, though.

Are you starting it from a shortcut?  If so, make sure the "Start in" field is set to the miner directory.

Are you starting from a batch file?  If so, either the batch file has to execute from the same directory as the miner or the batch file has to manually change paths to the same directory as the miner.

The main point is, the miner doesn't go looking around your drive for the .cl file.  It just hopes that it's in the current working directory.

EDIT: The point about the batch file also applies to the command line.  If you type the full path in front of the miner executable and you're not in that directory when you type it, it won't find the .cl file.  Just to give you an idea what I mean, here's what I'm using for the CUDA miner:
Code:
cd /D E:\bitcoin-0.3.20.2\bitcoin-rpcminer-20110227-win32bin
rpcminer-cuda.exe -url=http://mining.bitcoin.cz:8332 -user=user.worker -password=password -workrefreshms=8000 -gpu=0 -gpugrid=128 -gputhreads=128
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 29, 2011, 01:32:32 PM
 #179

downloaded boost from here: http://www.boost.org/users/download/ and im lost again
If it helps (and it may not, I'm not a regular OSX person) Boost is in MacPorts. May make life easier, you should just be able to...
Code:
sudo port install boost

Obviously this relies on you having MacPorts installed, but I assume that that's a regular OSX install, no compilation required.

okay installing boost with macports worked. Also had to install the cuda toolkit from here: http://developer.nvidia.com/object/cuda_3_2_downloads.html#MacOS

after running cmake i get this:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found wxWidgets: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Found CUDA: /usr/local/cuda
-- Found CURL: /usr/lib/libcurl.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ ls
CMakeCache.txt cmake-bitcoin cmake-rpcminer
CMakeFiles cmake-bitcoind cmake_install.cmake
Makefile cmake-bitcoinr
Jespers-MacBook-Pro:build jepper_broge$

What do i do now? i though running the initial cmake would start compiling the source but just created what you see in the ls. Remember i am completely new to this so what exactly should i do from here to get some working binaries?

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
bobR
Member
**
Offline Offline

Activity: 112


View Profile
March 29, 2011, 02:25:33 PM
 #180

downloaded boost from here: http://www.boost.org/users/download/ and im lost again
If it helps (and it may not, I'm not a regular OSX person) Boost is in MacPorts. May make life easier, you should just be able to...
Code:
sudo port install boost

Obviously this relies on you having MacPorts installed, but I assume that that's a regular OSX install, no compilation required.

okay installing boost with macports worked. Also had to install the cuda toolkit from here: http://developer.nvidia.com/object/cuda_3_2_downloads.html#MacOS

after running cmake i get this:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found wxWidgets: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Found CUDA: /usr/local/cuda
-- Found CURL: /usr/lib/libcurl.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ ls
CMakeCache.txt cmake-bitcoin cmake-rpcminer
CMakeFiles cmake-bitcoind cmake_install.cmake
Makefile cmake-bitcoinr
Jespers-MacBook-Pro:build jepper_broge$

What do i do now? i though running the initial cmake would start compiling the source but just created what you see in the ls. Remember i am completely new to this so what exactly should i do from here to get some working binaries?

run cmake in the ls directory    then cmake cmake_install
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 29, 2011, 02:33:35 PM
 #181

downloaded boost from here: http://www.boost.org/users/download/ and im lost again
If it helps (and it may not, I'm not a regular OSX person) Boost is in MacPorts. May make life easier, you should just be able to...
Code:
sudo port install boost

Obviously this relies on you having MacPorts installed, but I assume that that's a regular OSX install, no compilation required.

okay installing boost with macports worked. Also had to install the cuda toolkit from here: http://developer.nvidia.com/object/cuda_3_2_downloads.html#MacOS

after running cmake i get this:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found wxWidgets: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Found CUDA: /usr/local/cuda
-- Found CURL: /usr/lib/libcurl.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ ls
CMakeCache.txt cmake-bitcoin cmake-rpcminer
CMakeFiles cmake-bitcoind cmake_install.cmake
Makefile cmake-bitcoinr
Jespers-MacBook-Pro:build jepper_broge$

What do i do now? i though running the initial cmake would start compiling the source but just created what you see in the ls. Remember i am completely new to this so what exactly should i do from here to get some working binaries?

run cmake in the ls directory    then cmake cmake_install

gives me this error:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ cmake cmake_install
CMake Error: The source directory "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake_install" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Jespers-MacBook-Pro:build jepper_broge$ cmake cmake_install.cmake
CMake Error: The source directory "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake_install.cmake" is a file, not a directory.
Specify --help for usage, or press the help button on the CMake GUI.
Jespers-MacBook-Pro:build jepper_broge$



seems like i am doing something wrong

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
bobR
Member
**
Offline Offline

Activity: 112


View Profile
March 29, 2011, 04:45:52 PM
 #182

Quote
Quote

run cmake in the ls directory    then cmake cmake_install

gives me this error:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ cmake cmake_install
CMake Error: The source directory "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake_install" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Jespers-MacBook-Pro:build jepper_broge$ cmake cmake_install.cmake
CMake Error: The source directory "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake_install.cmake" is a file, not a directory.
Specify --help for usage, or press the help button on the CMake GUI.
Jespers-MacBook-Pro:build jepper_broge$



seems like i am doing something wrong




It's been a while since I compiled something in Linux
I may be the build command in that directory
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 29, 2011, 05:22:36 PM
 #183

simply using make in the build directory seems to be working at first but then gives a gazzilion errors. The output is too much to be able to post here so i will just post the the first lines around where the first errors appear. This is it running in verbose mode:
Code:
Jespers-MacBook-Pro:build jepper_broge$ VERBOSE=1 make
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -H/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src -B/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build --check-build-system CMakeFiles/Makefile.cmake 0
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_start /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f cmake-bitcoin/CMakeFiles/bitcoin.dir/build.make cmake-bitcoin/CMakeFiles/bitcoin.dir/depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 22
[  1%] Building NVCC (Device) object cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E make_directory /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/.
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o -D generated_cubin_file:STRING=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o.cubin.txt -P /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.cmake
-- Removing /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E remove /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
-- Generating dependency file: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/cuda/bitcoinminercuda.cu -o /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend -m64 -DGUI -D_BITCOIN_MINER_CUDA_ -Xcompiler ,\"-g\" -DNVCC -I/usr/local/cuda/include -I/opt/local/include -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -I/usr/include -I/usr/local/cuda/include
-- Generating temporary cmake readable file: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -D input_file:FILEPATH=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend -D output_file:FILEPATH=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp -P /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/cmake-modules/FindCUDA/make2cmake.cmake
-- Copy if different /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp to /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E copy_if_different /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend
-- Removing /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp and /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E remove /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend
-- Generating /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
/usr/local/cuda/bin/nvcc /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/cuda/bitcoinminercuda.cu -c -o /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o -m64 -DGUI -D_BITCOIN_MINER_CUDA_ -Xcompiler ,\"-g\" -DNVCC -I/usr/local/cuda/include -I/opt/local/include -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -I/usr/include -I/usr/local/cuda/include
Generated /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o successfully.
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/cmake-bitcoin /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin.dir/DependInfo.cmake --color=
Dependee "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin.dir/DependInfo.cmake" is newer than depender "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin.dir/depend.internal".
Dependee "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin.dir/depend.internal".
Scanning dependencies of target bitcoin
make -f cmake-bitcoin/CMakeFiles/bitcoin.dir/build.make cmake-bitcoin/CMakeFiles/bitcoin.dir/build
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 1
[  2%] Building CXX object cmake-bitcoin/CMakeFiles/bitcoin.dir/__/src/db.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin && /usr/bin/c++   -DGUI -D_BITCOIN_MINER_CUDA_ -D_BITCOIN_MINER_REMOTE_ -I/opt/local/include -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -I/usr/local/cuda/include   -o CMakeFiles/bitcoin.dir/__/src/db.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp
In file included from /usr/include/wx-2.8/wx/wx.h:15,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!"
In file included from /usr/include/wx-2.8/wx/cmndata.h:17,
                 from /usr/include/wx-2.8/wx/wx.h:65,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/encinfo.h:64:6: error: #error "Unsupported toolkit"
In file included from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:46:20: error: db_cxx.h: No such file or directory
In file included from /usr/include/wx-2.8/wx/event.h:22,
                 from /usr/include/wx-2.8/wx/wx.h:25,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’:
/usr/include/wx-2.8/wx/cursor.h:74: error: invalid use of incomplete type ‘const struct wxCursor’
/usr/include/wx-2.8/wx/gdicmn.h:33: error: forward declaration of ‘const struct wxCursor’
In file included from /usr/include/wx-2.8/wx/wx.h:25,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/event.h: At global scope:
/usr/include/wx-2.8/wx/event.h:921: error: field ‘m_cursor’ has incomplete type
/usr/include/wx-2.8/wx/event.h: In constructor ‘wxSetCursorEvent::wxSetCursorEvent(wxCoord, wxCoord)’:
/usr/include/wx-2.8/wx/event.h:900: error: class ‘wxSetCursorEvent’ does not have any field named ‘m_cursor’
/usr/include/wx-2.8/wx/event.h: In copy constructor ‘wxSetCursorEvent::wxSetCursorEvent(const wxSetCursorEvent&)’:
/usr/include/wx-2.8/wx/event.h:907: error: class ‘wxSetCursorEvent’ does not have any field named ‘m_cursor’
/usr/include/wx-2.8/wx/event.h:907: error: ‘const class wxSetCursorEvent’ has no member named ‘m_cursor’
/usr/include/wx-2.8/wx/event.h: In member function ‘void wxSetCursorEvent::SetCursor(const wxCursor&)’:
/usr/include/wx-2.8/wx/event.h:913: error: ‘m_cursor’ was not declared in this scope
/usr/include/wx-2.8/wx/event.h: In member function ‘const wxCursor& wxSetCursorEvent::GetCursor() const’:
/usr/include/wx-2.8/wx/event.h:914: error: ‘m_cursor’ was not declared in this scope
/usr/include/wx-2.8/wx/event.h: In member function ‘bool wxSetCursorEvent::HasCursor() const’:
/usr/include/wx-2.8/wx/event.h:915: error: ‘m_cursor’ was not declared in this scope
In file included from /usr/include/wx-2.8/wx/wx.h:26,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/app.h: In constructor ‘wxAppInitializer::wxAppInitializer(wxAppConsole* (*)())’:
/usr/include/wx-2.8/wx/app.h:637: error: ‘wxApp’ has not been declared
In file included from /usr/include/wx-2.8/wx/window.h:26,
                 from /usr/include/wx-2.8/wx/wx.h:36,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Intersect(const wxRect&)’:
/usr/include/wx-2.8/wx/region.h:251: error: invalid use of incomplete type ‘struct wxRegion’

this is just not my day :/

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
urizane
Jr. Member
*
Offline Offline

Activity: 56



View Profile
March 29, 2011, 06:34:46 PM
 #184

wxWidgets stuff is tied to a GUI in this package if I remember correctly.  Check out CMakeLists.txt in the root directory you unpacked the ZIP file to.  You probably only want CUDA and rpcminer turned on.  Re-do CMake stuff as necessary.
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 29, 2011, 07:07:28 PM
 #185

wxWidgets stuff is tied to a GUI in this package if I remember correctly.  Check out CMakeLists.txt in the root directory you unpacked the ZIP file to.  You probably only want CUDA and rpcminer turned on.  Re-do CMake stuff as necessary.

setting only CUDA and rpcminer to ON gives this:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Found CUDA: /usr/local/cuda
-- Found CURL: /usr/lib/libcurl.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ VERBOSE=1 make
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -H/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src -B/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build --check-build-system CMakeFiles/Makefile.cmake 0
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_start /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f cmake-rpcminer/CMakeFiles/rpcminer.dir/build.make cmake-rpcminer/CMakeFiles/rpcminer.dir/depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 16
[  6%] Building NVCC (Device) object cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E make_directory /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/.
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o -D generated_cubin_file:STRING=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o.cubin.txt -P /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.cmake
-- Removing /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E remove /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
-- Generating dependency file: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/cuda/bitcoinminercuda.cu -o /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend -m64 -D_BITCOIN_MINER_CUDA_ -Xcompiler ,\"-g\" -DNVCC -I/usr/local/cuda/include -I/opt/local/include -I/usr/include -I/usr/local/cuda/include
-- Generating temporary cmake readable file: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -D input_file:FILEPATH=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend -D output_file:FILEPATH=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp -P /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/cmake-modules/FindCUDA/make2cmake.cmake
-- Copy if different /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp to /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E copy_if_different /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend
-- Removing /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp and /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E remove /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend
-- Generating /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
/usr/local/cuda/bin/nvcc /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/cuda/bitcoinminercuda.cu -c -o /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o -m64 -D_BITCOIN_MINER_CUDA_ -Xcompiler ,\"-g\" -DNVCC -I/usr/local/cuda/include -I/opt/local/include -I/usr/include -I/usr/local/cuda/include
Generated /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o successfully.
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/cmake-rpcminer /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer.dir/DependInfo.cmake --color=
Dependee "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer.dir/DependInfo.cmake" is newer than depender "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer.dir/depend.internal".
Dependee "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer.dir/depend.internal".
Scanning dependencies of target rpcminer
make -f cmake-rpcminer/CMakeFiles/rpcminer.dir/build.make cmake-rpcminer/CMakeFiles/rpcminer.dir/build
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 1
[ 12%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/sha256.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && /usr/bin/c++   -D_BITCOIN_MINER_CUDA_ -I/opt/local/include -I/usr/local/cuda/include   -o CMakeFiles/rpcminer.dir/__/src/sha256.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/sha256.cpp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 2
[ 18%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/hex.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && /usr/bin/c++   -D_BITCOIN_MINER_CUDA_ -I/opt/local/include -I/usr/local/cuda/include   -o CMakeFiles/rpcminer.dir/__/src/rpcminer/hex.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/hex.cpp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 3
[ 25%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && /usr/bin/c++   -D_BITCOIN_MINER_CUDA_ -I/opt/local/include -I/usr/local/cuda/include   -o CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/httprequest.cpp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 4
[ 31%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && /usr/bin/c++   -D_BITCOIN_MINER_CUDA_ -I/opt/local/include -I/usr/local/cuda/include   -o CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/rpcminerclient.cpp
In file included from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/minerheaders.h:58,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/rpcminerclient.h:26,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/rpcminerclient.cpp:19:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:579: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:588: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:596: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:610: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:620: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:629: error: ‘get’ was not declared in this scope
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o] Error 1
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make: *** [all] Error 2
Jespers-MacBook-Pro:build jepper_broge$

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
urizane
Jr. Member
*
Offline Offline

Activity: 56



View Profile
March 29, 2011, 08:30:00 PM
 #186

Well, you got a ton further than where you were before.  I found this post in this thread where JollyGreen got stuck in a similar place you did.  Here's the message:

Hello All,

I've been working on compiling the rpcminer for mac osx leopard 10.5.8.  I've gotten really far and think I'm almost there, but I'm running into an issue related to boost, I believe.  It seems the function "get" is not resolving.  I'm using macports and I've done a "sudo ports -dv install boost", it seems to be finding the boost headers, because it doesn't complain about those, but it can't resolve the "get" function for some reason.

I would like to hear your 2 cents about the issue if you have some spare time.  I would really appreciate it.  I'm willing to donate some bit coins, but at this point I only have 0.07 Smiley

Code:
make rpcminer
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/turkylurky/opt/src/latestrpc
[  6%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
In file included from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.cpp:22:
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/hex.h:33:8: warning: extra tokens at end of #endif directive
In file included from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/minerheaders.h:57,
                 from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.h:26,
                 from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.cpp:19:
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:579: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:588: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:596: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:610: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:620: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/jtflemturkylurkying/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:629: error: 'get' was not declared in this scope
make[3]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o] Error 1
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/rule] Error 2
make: *** [rpcminer] Error 2

I was able to resolve this issue by adding "using namespace boost;" after the boost headers are included in "serialize.h"!  Working on next compile issue, now Smiley

There are a couple more posts from JollyGreen a few posts down from there.  Look that up and see if there's some insights for you.  You might also try to message JollyGreen and see if there's something the two of you could work out.
bobR
Member
**
Offline Offline

Activity: 112


View Profile
April 01, 2011, 05:31:35 PM
 #187

Guess you quit
we need LONGPOLE
dishwara
Legendary
*
Offline Offline

Activity: 1512



View Profile
April 01, 2011, 08:32:48 PM
 #188

is POLE= POLL = POOL Huh??

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
bobR
Member
**
Offline Offline

Activity: 112


View Profile
April 01, 2011, 08:49:36 PM
 #189

is POLE= POLL = POOL Huh??

PISS  OFF  TROLL
that should be clear

You F**in troll disrag

POLE ON THIS
dishwara
Legendary
*
Offline Offline

Activity: 1512



View Profile
April 01, 2011, 09:28:24 PM
 #190

ok, i understand now why u getting angry unnecessarily.
I feel sorry for you loosing your POLE.
Did dog bite it or your mama?
you better go to dr, if not you may die with infection.

Damn, its very bad to hear that bobR lost his POLE, hereafter he is "No POLE bobR mining in pool with long poll"