Bitcoin Forum
December 09, 2016, 11:34:04 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   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 528977 times)
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
1481326444
Hero Member
*
Offline Offline

Posts: 1481326444

View Profile Personal Message (Offline)

Ignore
1481326444
Reply with quote  #2

1481326444
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481326444
Hero Member
*
Offline Offline

Posts: 1481326444

View Profile Personal Message (Offline)

Ignore
1481326444
Reply with quote  #2

1481326444
Report to moderator
LZ
Staff
Legendary
*
Offline Offline

Activity: 1456


Satoshi everywhere!


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

In the Workers table: link. Smiley

"Never invest unless you can afford to lose your entire investment." © S3052
dishwara
Legendary
*
Offline Offline

Activity: 1386

Truth may get delay, but NEVER fails


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=#########
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: 1358



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: 1456


Satoshi everywhere!


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

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

"Never invest unless you can afford to lose your entire investment." © S3052
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: 1456


Satoshi everywhere!


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

"Never invest unless you can afford to lose your entire investment." © S3052
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: 1456


Satoshi everywhere!


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

Okay. Smiley

"Never invest unless you can afford to lose your entire investment." © S3052
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: 1456


Satoshi everywhere!


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.

"Never invest unless you can afford to lose your entire investment." © S3052
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!