@wookie I unfortunately do not have any experience with Macs…so I’m not able to help you there myself…HOWEVER
Robert has written a very nice tutorial already
But the forum is down, so I will copy over the information below:
Go to: https://github.com/r-majere/mjminer
and download the zip file and unzip it.
In terminal open that path(cd into mjminer-master directory)
write make and press enter, if you see bellow error:
--- Compiling for 64-bit arch ---
CFLAGS=-D OSX -D AMD64 -O2 -Wall -D_FILE_OFFSET_BITS=64 -m64
as -o shabal64-darwin.o shabal64-darwin.s
shabal64-darwin.s:30:14: error: single quote way too long
# 64 'ptr' field (8 bytes)
make: *** [shabal64-darwin.o] Error 1```
open file shabal64-darwin.s in any text editor and replace the single quote with double quote on line 30 as bellow
64 'ptr' field (8 bytes)
64 "ptr" field (8 bytes)
Now in terminal command/write make and press enter. Hope this time it’ll compile successfully.
for first time plotting use command like bellow
./plot -k 6891xxx9176xxx3xxx -d /Volumes/ArchiveRB/plots -s 0 -n 409600 -m 8192 -t 3
-k : the number after it is your Numerical ID
-d: The path where you want to create the plot file
-s: Plot starting point, for first plot start with 0
-n: How much space(in nounce) you want to plot(see more bellow)
-m: How much memory you want to consume during plot your file
-t: Number of thread of you CPU want to engage to do this, check your CPU config in google to find out how many Thread you CPU have
Use plot command generator: https://github.com/robertbiswas/mjminer-Plot-Command-Generator
Download the zip and open the index.html to your browser.
Here is what @haitch thought me about it:
“For first plot
s 0 # Start at nonce 0 # next plot start at (-s value) + (-n value)
-n 380928 # Each nonce = 256KB. Divide (disk size) by (262144), then divide by (stagger size -m) : round down, multiply by (stagger size.)
-m 4096 # a nonce is 256KB, so 4096 nonces = 1GB. With more memory, multiply by amount to use
-t ? # will depend on your CPU, it’s the number of threads to use - set it to number of CPU threads, or threads - 1 to make it more usable”
To Plot 100GB in Macmini core i5 took 5 hours, to plot 1TB taking 36 hours.
Download and modify file named ```jminer.properties````. I did as below, you do with your data where needed.
Leave other conf as it is they’ll take the default value. This file has very good explanation hope you’ll find that very helpful. Thanks @r-majere for doing this nicely.
now go to into that directory using terminal and press command like bellow:
*** So happy mining! ***