Miner- SILENTARMY v5

git pull temporary fix for more 'missing stats' issues · mbevand/silentarmy@c685157 · GitHub

?

No just “git pull” (no arguments) while being in the silentarmy directory.

Any ideas why I’m getting this?

./silentarmy --use 0 -c stratum+tcp://us1-zcash.flypool.org:3333 -u t1cVviFvgJinQ4w3C2m2CfRxgP5DnHYaoFC

Traceback (most recent call last):
File “./silentarmy”, line 549, in
main()
File “./silentarmy”, line 546, in main
Silentarmy(opts).run()
File “./silentarmy”, line 256, in run
asyncio.ensure_future(self.reconnect())
AttributeError: ‘module’ object has no attribute ‘ensure_future’

It’s because I just found out silentarmy requires Python 3.4.4: Using ensure_future() not supported on Ubuntu 14.04 · Issue #8 · mbevand/silentarmy · GitHub
Try installing a newer version of Python.

Newer version of Python or of your miner?

Sorry–should have clarified (edit made)–newer version of Pytohn.

Ok.

Cheers
twentycharacters

Documenting this so as to help anyone else who encounters the same issue.

sudo apt-get install python3.4

Reading package lists… Done
Building dependency tree
Reading state information… Done
python3.4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.

./silentarmy --use 0 -c stratum+tcp://us1-zcash.flypool.org:3333 -u t1cVviFvgJinQ4w3C2m2CfRxgP5DnHYaoFC

Traceback (most recent call last):
File “./silentarmy”, line 549, in
main()
File “./silentarmy”, line 546, in main
Silentarmy(opts).run()
File “./silentarmy”, line 256, in run
asyncio.ensure_future(self.reconnect())
AttributeError: ‘module’ object has no attribute ‘ensure_future’

Still says I’m using 3.4.2

python3 -V

Python 3.4.2

SO then I did…

#sudo apt-get upgrade python3

You need Python 3.4.5, but you have 3.4.2!

n1koo documented a cool workaround for Ubuntu 14.04 in Using ensure_future() not supported on Ubuntu 14.04 · Issue #8 · mbevand/silentarmy · GitHub 4th message from the top: install Python 3.5 as per silentarmy on 14.04 · GitHub

Ok, thanks, I’ll do this.

awesome thanks, no sleep today…

Are there changes in opencl part?
Is it possible to decrease cpu usage ?

ok so installed fine, make worked

but then i get this error:
cryptomined@crypto:~/Downloads/silentarmy-master$ silentarmy --list
silentarmy: command not found

what should I do please? :slight_smile:
soldier awaiting orders.

Type “./silentarmy” instead of “silentarmy” (my instructions, as is common, assumes the binaries are in the PATH.)

duh… should have been obvious… thats what I get for being awake for 24 hours :stuck_out_tongue:
Thanks
now I dont get to sleep for antoher few hours lol

btw, is there a script in the miner that restarts GPUs if they fail?

Yes, two changes:

“silentarmy” (Python) is supposed to restart the “sa-solver” processes if they crashes (C, OpenCL). At least that was my intention, because I just tested by killing them and it doesn’t restart them even less detect they crash. So I’ll work on this tomorrow.

1 Like

ok soldiers are marching

easy installation was nice :muscle:

upwards of 250 sol/s with 4 480s and 2 470s… NICE! HASH!

Sweet. What was your hashrate before and with what miner?

bit over 220, zogminer

very interested to see what you can do with Nvidia
any ideas what a 980ti, 1070, 1080 could hit?

its running very well, ill let it run for 15-20 min and then advertise your mining in a vid

zogminer video is uploading now, so ill probably be able to upload yours in 2-3 hours.