Pages:
Author

Topic: RPC Miners (CPU/4way/CUDA/OpenCL) - page 15. (Read 548522 times)

member
Activity: 103
Merit: 17
December 31, 2010, 10:23:28 AM
#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.
legendary
Activity: 1078
Merit: 1005
December 30, 2010, 11:25:19 PM
#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?
member
Activity: 103
Merit: 17
December 30, 2010, 02:33:31 PM
#19
http://pastebin.com/w7Qevuwh

After adding also #include 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.
sr. member
Activity: 413
Merit: 250
December 30, 2010, 12:12:48 PM
#18
http://pastebin.com/w7Qevuwh

After adding also #include to httprequest.cpp it compiled, but it don't fix problem in second file.
member
Activity: 103
Merit: 17
December 30, 2010, 12: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
sr. member
Activity: 413
Merit: 250
December 30, 2010, 11:55:51 AM
#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
member
Activity: 103
Merit: 17
December 30, 2010, 11:50:08 AM
#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.
sr. member
Activity: 413
Merit: 250
December 30, 2010, 11:40:19 AM
#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.
member
Activity: 103
Merit: 17
December 30, 2010, 11:22:10 AM
#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.
sr. member
Activity: 413
Merit: 250
December 30, 2010, 10:33:28 AM
#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.
member
Activity: 103
Merit: 17
December 30, 2010, 10:13:45 AM
#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 m_erase;

for(std::map > >::iterator i=m_blocklookup.begin(); i!=m_blocklookup.end(); i++)
{
if((*i).second.first {
m_erase.push_back((*i).first);
}
}

for(std::vector::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.
sr. member
Activity: 413
Merit: 250
December 30, 2010, 05: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, 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
member
Activity: 103
Merit: 17
December 29, 2010, 04: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, 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
sr. member
Activity: 413
Merit: 250
December 29, 2010, 11:49:38 AM
#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, 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, 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?
member
Activity: 103
Merit: 17
December 29, 2010, 11:05:12 AM
#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.
member
Activity: 103
Merit: 17
December 27, 2010, 11:25:06 AM
#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.
legendary
Activity: 1855
Merit: 1016
December 27, 2010, 10:55:49 AM
#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::66:2: error: call to 'rotate' is ambiguous
        sharound(A1,B1,C1,D1,E1,F1,G1,H1,in->m_merkle,0x428A2F98);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: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;}
                                             ^
:41:30: note: instantiated from:
#define rotateright(x,bits) (rotate(x,32-bits))
                             ^~~~~~
:2967:24: note: candidate function
ulong __OVERLOADABLE__ rotate(ulong, ulong);
                       ^
:2966:23: note: candidate function
long __OVERLOADABLE__ rotate(long, long);
                      ^
:2965:23: note: candidate function
uint __OVERLOADABLE__ rotate(uint, uint);
                      ^
: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.
 
member
Activity: 103
Merit: 17
December 27, 2010, 10:21:21 AM
#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.
hero member
Activity: 616
Merit: 503
★Bitvest.io★ Play Plinko or Invest!
December 25, 2010, 11:16:31 AM
#3
What are the best settings for a  ATI 5850m ?

Ps: Your program is running fine good job  Cheesy
LZ
legendary
Activity: 1722
Merit: 1072
P2P Cryptocurrency
December 25, 2010, 07:52:32 AM
#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
Pages:
Jump to: