berserk9779
Newbie
Offline
Activity: 9
Merit: 0
|
 |
December 10, 2010, 04:36:37 PM |
|
I have pyopencl installed from packaged deb on launchpad, and when I try to run I get: File "poclbm.py", line 6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ^ SyntaxError: invalid syntax
thanks
|
|
|
|
|
davout
Legendary
Offline
Activity: 1372
Merit: 1008
1davout
|
 |
December 10, 2010, 04:42:53 PM |
|
I have pyopencl installed from packaged deb on launchpad, and when I try to run I get: File "poclbm.py", line 6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ^ SyntaxError: invalid syntax
thanks lol
|
|
|
|
berserk9779
Newbie
Offline
Activity: 9
Merit: 0
|
 |
December 10, 2010, 05:26:55 PM |
|
I am a linux noob and don't know anything about python. And the how to above is for ATI, I am on Nvidia GT9800
|
|
|
|
|
berserk9779
Newbie
Offline
Activity: 9
Merit: 0
|
 |
December 10, 2010, 05:57:55 PM |
|
Now that the noobish mistake is solved I get: bruno@bruno-desktop:~/bitcoin-0.3.17$ python ./poclbm.py File "./poclbm.py", line 27 print 'No device specified or device not found, use -d to specify one of the following\n' ^ IndentationError: expected an indented block
|
|
|
|
|
|
|
davout
Legendary
Offline
Activity: 1372
Merit: 1008
1davout
|
 |
December 10, 2010, 08:47:46 PM |
|
Now that the noobish mistake is solved I get: bruno@bruno-desktop:~/bitcoin-0.3.17$ python ./poclbm.py File "./poclbm.py", line 27 print 'No device specified or device not found, use -d to specify one of the following\n' ^ IndentationError: expected an indented block No offense intended  , I asked questions that probably seemed stupid to the people that answered me. Now I'm happily crunching at 600mh/s thanks to the people that helped me out. Maybe you should simply clone the git repo so you can transparently get upgrades and forget about this kind of issues altogether You need to apt-get install git-core and then git clone <url> and then you can just git pull from time to time to upgrade.
|
|
|
|
berserk9779
Newbie
Offline
Activity: 9
Merit: 0
|
 |
December 12, 2010, 07:55:46 AM |
|
It runs for 4-5 seconds, then asks me for my user-password again. ~/bitcoinminer$ python ./poclbm.py -d 0 Enter username for jsonrpc at 127.0.0.1:8332: berserk9779 Enter password for berserk9779 in jsonrpc at 127.0.0.1:8332: 20842 khash/sEnter username for jsonrpc at 127.0.0.1:8332: berserk9779 Enter password for berserk9779 in jsonrpc at 127.0.0.1:8332: 20847 khash/sEnter username for jsonrpc at 127.0.0.1:8332: By the way, before poclbm I need to run bitcoind. Is there an option to have it running with the gui open?
|
|
|
|
|
ribuck
Donator
Hero Member
Offline
Activity: 826
Merit: 1065
|
 |
December 12, 2010, 09:29:13 AM |
|
It runs for 4-5 seconds, then asks me for my user-password again.
If you supply the user-password on the command line, you won't get asked for it again: ./poclbm.py --user=whatever --pass=whatever That's not ideal from a security point of view, perhaps someone will suggest a better way. By the way, before poclbm I need to run bitcoind. Is there an option to have it running with the gui open?
You can use bitcoin instead of bitcoind, provided you are using a recent version of Bitcoin (0.3.15 or later) and the latest version of poclbm. This gives you the GUI, plus OpenCL mining.
|
|
|
|
|
davout
Legendary
Offline
Activity: 1372
Merit: 1008
1davout
|
 |
December 12, 2010, 09:46:38 AM |
|
It runs for 4-5 seconds, then asks me for my user-password again.
If you supply the user-password on the command line, you won't get asked for it again: ./poclbm.py --user=whatever --pass=whatever That's not ideal from a security point of view, perhaps someone will suggest a better way. By the way, before poclbm I need to run bitcoind. Is there an option to have it running with the gui open?
You can use bitcoin instead of bitcoind, provided you are using a recent version of Bitcoin (0.3.15 or later) and the latest version of poclbm. This gives you the GUI, plus OpenCL mining. Or you can just edit poclbm source for a quick slightly securer dirty hack
|
|
|
|
berserk9779
Newbie
Offline
Activity: 9
Merit: 0
|
 |
December 12, 2010, 06:48:03 PM |
|
It's finally up and running. 22 Mhash on average on a Nvidia 9800GT But it only works with bitcoind. And I had to start it like that: ./bitcoind -rpcuser=berserk9779 -rpcpassword= and ./poclbm.py -d 0 --user=berserk9779 --pass=
|
|
|
|
|
Mahkul
Sr. Member
  
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
 |
December 13, 2010, 12:14:33 AM |
|
Has anyone tried connecting to the bitcoin-server from a different machine using m0mchil's miner?
I am using Windows binary poclbm.exe. I have my bitcoin -server running on a local machine and have no problems connecting from poclbm.exe and generating using my GPU on the same local machine.
When I try to connect to the same bitcoin -server from a different PC using:
poclbm --user=user --pass=password --host=remoteip --port=8332
I keep on getting the message "Unable to communicate with bitcoin RPC".
The firewall on the PC running bitcoin.exe is disabled.
Is what I want to achieve at all possible?
|
|
|
|
|
berserk9779
Newbie
Offline
Activity: 9
Merit: 0
|
 |
December 13, 2010, 12:36:44 AM |
|
I think you should substitute remoteip for the actual private IP of the local machine where the server is running (usually 192.168.x.x)
|
|
|
|
|
|
m0mchil (OP)
|
 |
December 13, 2010, 05:10:52 AM |
|
From bitcoin docs # By default, only RPC connections from localhost are allowed. Specify # as many rpcallowip= settings as you like to allow connections from # other hosts (and you may use * as a wildcard character): #rpcallowip=10.1.1.34 #rpcallowip=192.168.1.*
|
|
|
|
Mahkul
Sr. Member
  
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
 |
December 13, 2010, 08:15:29 AM |
|
From bitcoin docs # By default, only RPC connections from localhost are allowed. Specify # as many rpcallowip= settings as you like to allow connections from # other hosts (and you may use * as a wildcard character): #rpcallowip=10.1.1.34 #rpcallowip=192.168.1.*
Thanks m0mchil. RTFM. :/
|
|
|
|
|
Mahkul
Sr. Member
  
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
 |
December 13, 2010, 08:18:29 PM |
|
It's me again... I managed to connect to my bitcoin -server from two different remote machines. With the third one I am getting the following error: pyopencl.RuntimeError: CommandQueue failed: out of host memory Does this mean my server has no more memory to accept more miners?
|
|
|
|
|
|
m0mchil (OP)
|
 |
December 14, 2010, 10:54:22 AM |
|
Added update of block time every second and support for targets < 32 bits. Output now shows block hash and acceptance status.
|
|
|
|
|
adv
|
 |
December 14, 2010, 04:01:13 PM |
|
May be add "silent" or "demonize" switch?
|
U may thank me here: 14Js1ng1SvYBPgUJnjNAEPYH4d6SHF79UF
|
|
|
SmokeTooMuch
Legendary
Offline
Activity: 860
Merit: 1076
|
 |
December 14, 2010, 06:00:40 PM |
|
Nice, with Bitcoin 0.3.19, poclbm 20101214 and catalyst 10.12 I get around 82000 khash/s now instead of 78000 with the old versions.
|
|
|
|
Mahkul
Sr. Member
  
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
 |
December 14, 2010, 07:00:51 PM |
|
Regarding my previous post about the "host out of memory" error - I figured that on some systems if you install ATI Catalyst into C:\Program Files\Ati Technologies there is some sort of an error and it is not possible to open the Catalyst Control Centre (this was causing my issue).
The solution to this is to completely uninstall all ATI software and put it into a different directory - I put it into C:\Program Files\Ati and the problem was solved.
Apparently AMD are aware of this issue.
|
|
|
|
|
LobsterMan
Member

Offline
Activity: 73
Merit: 10
|
 |
December 14, 2010, 09:30:16 PM |
|
The new version seems like it may be running at 1-2mhash more than the previous version 
|
|
|
|
|
|