Author

Topic: OSX Mac/Hackintosh ethereum miner CUDA build (Read 222 times)

newbie
Activity: 6
Merit: 0
March 03, 2018, 12:07:25 AM
#9
Thanks Gabi! I was having issues building from source, and the latest binary release at ethereum-mining was getting me a bunch of rejected shares. Working like a charm now with CUDA 9.1. About 26.66 Mh/s with my GTX1070. People can't conceive of mining on a Mac. These same people have probably never heard of Hackintoshes either.
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
February 07, 2018, 04:06:00 PM
#8
Code:
dyld: Library not loaded: @rpath/libcudart.9.1.dylib

Thanks for the effort.  Smiley

Any idea where I can get libcudart.9.1? Is it from an SDK for CUDA?  Thanks!

Yes, you need this:

https://developer.nvidia.com/cuda-downloads

It's a full dmg package that I used for cuda 9.1.

To my surprise, still mining non-stop with same hashrate Smiley
newbie
Activity: 12
Merit: 0
February 07, 2018, 03:15:16 PM
#7
Code:
dyld: Library not loaded: @rpath/libcudart.9.1.dylib

Thanks for the effort.  Smiley

Any idea where I can get libcudart.9.1? Is it from an SDK for CUDA?  Thanks!
member
Activity: 140
Merit: 10
Merit me or don't.
February 07, 2018, 12:36:43 PM
#6
I like Mac's too much to overheat them, I'll stick to my Linux rigs and keep my Mac for fun Smiley
member
Activity: 74
Merit: 10
Keep calm and stay yourself in any situation.
February 07, 2018, 12:22:34 PM
#5
I think it is impossible!
Mac OS couldn't allow to provide mining on it.
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
February 07, 2018, 09:03:24 AM
#4
no one gives a shit about mac's lol

Haha obviously thats true, cant blame them. Anyways might be useful for some lonely souls Smiley Still mining 26.33 stable.
sr. member
Activity: 462
Merit: 258
Small Time Miner, Rig Builder, Crypto Trader
February 07, 2018, 01:01:17 AM
#3
no one gives a shit about mac's lol
member
Activity: 308
Merit: 12
February 06, 2018, 07:40:47 PM
#2
where are the mac miners? I wish I knew because I know of many mac computers in music studio that wont mind me stealing their hash.

I could maybe get 600 h just from them alone!
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
February 06, 2018, 06:02:55 PM
#1
Just went through the process of building ethminer with Cuda for OSX - it appear simple but devil in the details, its very frustrating... I spent way too much time on it, but finally it works! No more idle time for Nvidia on mac!

Hope it will save somebody a lot of time and frustration who is up for same challenge. It's a Genoil/chfast one:

https://github.com/ethereum-mining/ethminer

For some evil reason lol they provide Mac build but it crashes in OpenCL and not compiled for Cuda at all. You need build 0.12. It works for opencl only, but speed is a disaster - ~2mh on 1070. Newer builds not working on OSX at all.

So what I did - 10.13 High sierra, latest Nvidia web drivers, latest Cuda 387.128, lots of pain and suffering and build is here:

https://drive.google.com/file/d/1llztDndIvW119It897sRDFurTjD5kEo-/view?usp=sharing

To run in Cuda Mode for example on ethermine pool:

./ethminer --farm-recheck 200 -U -S us1.ethermine.org:4444 -FS eu1.ethermine.org:444 -O 0xYOURETHADDRESS

you can try OpenCL as well (-G instead of -U, but its horribly slow)

1070 getting 26.33 Mh/s, not that bad.

One more thing - for some reason 3gb cards work on Linux version, but on Mac - nope, dont even try, you'll get memory allocation error.



Jump to: