I don't know what hwloc is, haven't looked into that. Maybe try gcc instead of clang? gcc just gives a warning, not failure, on the issue fixed with patch, so I don't patch it. I don't mine on the 2 macbook pros or 2 minis any more due to heat concerns, I don't care as much about the 4 imacs. I have had large pages working on 8 macs, every one I tried, Sierra and El Capitan, although I only actively mine on 4 of them these days. I do however get an error with the new hwloc stuff:
On the imacs I have, the improvement was less drastic but still very noticeable. FYI, this hardware gets the largest improvement I've seen. I quit every application to make sure they didn't open on reboot, rebooted, the mmap memory went away and I get 120-126 h/s. It failed the first time with mmap errors like yours, and I got a hashrate of about 78h/s. Large pages are definitely still working for me on a macbook pro 2015 w dual core i7. I just compiled myself a new xmr-stak-cpu I wanted to test latest dev branch as I was using older code. Įdit the config.Sorry for the slow response. I am new and I know this topic has probably been broached ad nausem, but I was hoping someone might be able to recommend a thread or discussion on what is the better use of capital for the sake of PROFIT: Mining or just buying 'dips'I LOVE the idea of mining, but if I am understanding correctly, it sounds like mining hash rates decline fairly quickly. Step 4: Now its time to configure the miner, connect it to a pool and get started with mining. Step 3: Once extracted inside the folder you’ll find xmr-stak.exe along with 4 other files. Then cd to the xmr-stak-cpu folder and run cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl. It’s nothing to worry about so just add exclusions to the miner. Use homebrew as outlined above to install libmicrohttpd and openssl but also run brew install hwloc You can just download the zip as you don't need to get a particular branch for the CPU miner to work If you need any more help please check out Now you can run the xmr-stak-amd binary in Terminal and it'll connect to your pool and start mining straight away. Make sure to change the pool details in the config.txt file to your pool details too and you'll be good to go! Move the config.txt file from the parent directory in to the bin folder and edit it so the lines below look like this: "gpu_thread_num" : 1, Ī folder called bin will now contain a binary called xmr-stak-amd which is what you can use to GPU mine XMR/Monero Run brew install git libmicrohttpd opensslĬmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl. You'll need to install the dependencies libhttpd and openssl - I used homebrew which you can get from If you need any more help running the miner, please check out the forum at Ĭompiling the older xmr-stak-amd and xmr-stak-cpu for macOSįor AMD GPU mining, you can find the code for a miner at To compile for AMD or Nvidia only without the cpu mining capability, add the flag -DCPU_ENABLE=OFF to the cmake command. DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF To compile for CPU mining only use the following commands in the Terminal app: brew install hwloc libmicrohttpd gcc openssl cmakeĬmake. DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOpenCL_ENABLE=OFF To compile for Nvidia GPUs and CPU mining use the following commands in the Terminal app: brew tap caskroom/driversīrew install hwloc libmicrohttpd gcc openssl cmakeĬmake. The last command starts the miner and will present you with a setup dialog where you can enter your pool details. To compile for AMD GPUs and CPU mining use the following commands in the Terminal app: brew install cmake openssl hwloc libmicrohttpdĬmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF.
These instructions require homebrew, which you can get from The code for the miner can be found here: The first tutorial here will focus on the newer, merged miner, and below that will remain the instructions for the older miners from the original tutorial. Note that there were originally separate projects for GPU and CPU mining XMR which have been merged together. You can also buy Monero/XMR by clicking this link:īut if you'd rather compile the code and mine Monero yourself, here are some simple instructions:
I have compiled command line miners for XMR available here (including updated versions for RandomX): Command line miners for Mac