How Can I Plot on my MacBook Pro (Mid-2015)?



  • Run these commands, they may throw a few errors, but run each one in sequence, then run make again. That should fix it. Each gcc is a separate command so run each one individually.
    gcc -Wall -c -O2 -march=native -o mshabal_sse4.o mshabal_sse4.c
    gcc -Wall -c -O2 -march=native -mavx2 -o mshabal256_avx2.o mshabal256_avx2.c
    gcc -D OSX -O2 -Wall -D_FILE_OFFSET_BITS=64 -o plot plot.c shabal64.o mshabal_sse4.o mshabal256_avx2.o helper.o -lpthread -std=gnu99
    gcc -D OSX -O2 -Wall -D_FILE_OFFSET_BITS=64 -o optimize optimize.c helper.o
    gcc -D OSX -O2 -Wall -D_FILE_OFFSET_BITS=64 -DSOLO -o mine mine.c shabal64.o helper.o -lpthread
    gcc -D OSX -O2 -Wall -D_FILE_OFFSET_BITS=64 -DURAY_POOL -o mine_pool_all mine.c shabal64.o helper.o -lpthread
    gcc -D OSX -O2 -Wall -D_FILE_OFFSET_BITS=64 -DSHARE_POOL -o mine_pool_share mine.c shabal64.o helper.o -lpthread



  • @Xander52 still same error message :/



  • @blood What did the gcc commands output?



  • @Xander52 all errors



  • @Xander52 except last one, want me to run it again?



  • @blood OK, lets start fresh with a new fix. You seem to be running into a different issue, Delete the folder, and unzip a fresh copy. Open the file called shabal-darwin.s in a text editor, and find the line that says

    64      'ptr' field (8 bytes)
    

    then change that to (replace single quotes with double quotes)

     64      "ptr" field (8 bytes)
    

    Then try to make again.



  • @Xander52 same error



  • @blood Did you save the file?



  • @Xander52 yes



  • @blood Can you paste the line so I can make sure it looks ok?



  • @Xander52 --- 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: invalid character in input

    64 “ptr” field (8 bytes)

    make: *** [shabal64-darwin.o] Error 1



  • Can you copy my line instead of typing it, I think your text editor may have formatted it a bit oddly



  • it worked, it showed me this... --- 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
    gcc -Wall -m64 -c -O2 -march=native -o mshabal_sse4.o mshabal_sse4.c
    gcc -Wall -m64 -c -O2 -march=native -mavx2 -o mshabal256_avx2.o mshabal256_avx2.c
    gcc -D OSX -D AMD64 -O2 -Wall -D_FILE_OFFSET_BITS=64 -m64 -c -o helper.o helper.c
    gcc -D OSX -D AMD64 -O2 -Wall -D_FILE_OFFSET_BITS=64 -m64 -o plot plot.c shabal64-darwin.o mshabal_sse4.o mshabal256_avx2.o helper.o -lpthread -std=gnu99 -DAVX2
    gcc -D OSX -D AMD64 -O2 -Wall -D_FILE_OFFSET_BITS=64 -m64 -o optimize optimize.c helper.o
    gcc -D OSX -D AMD64 -O2 -Wall -D_FILE_OFFSET_BITS=64 -m64 -DSOLO -o mine mine.c shabal64-darwin.o helper.o -lpthread
    gcc -D OSX -D AMD64 -O2 -Wall -D_FILE_OFFSET_BITS=64 -m64 -DURAY_POOL -o mine_pool_all mine.c shabal64-darwin.o helper.o -lpthread
    gcc -D OSX -D AMD64 -O2 -Wall -D_FILE_OFFSET_BITS=64 -m64 -DSHARE_POOL -o mine_pool_share mine.c shabal64-darwin.o helper.o -lpthread



  • @blood Awesome!!! I think your text editor made one of the quotes a upside down one and that broke it a little bit. Move on to the plotting step now.



  • @Xander52 yea i don't have that key on my keyboard lol



  • @blood OK... You should be able to plot now with the plot command generator I showed you. Plot generation will take quite a while though



  • @Xander52 whats the how do i choose the hard drive to plot to?



  • @blood OK connect your drive and open terminal and type cd /Volumes and then type ls -l and find the name of your drive. (make sure you have a folder on that drive to plot into) and then as the plot path type /Volumes/drivename/plots (make sure to replace drivename with the name of your drive, and plots with the folder you want to use for plotting)



  • @Xander52 where do i go to change the plot directory now? or will it automatically find it on my computer.



  • @blood read this again
    I used this https://github.com/robertbiswas/mjminer-Plot-Command-Generator (download, unzip, open index.html with your browser) Then go to your wallet, left click your burst address (looks like BURST, then 4 groups of numbers and letters) and select "Copy Numeric Account ID" then paste that in the box that says "Numeric ID" Make a folder called plots in your drive, and follow instructions above and then set the HDD space field to your drive size (not the most accurate for me makes it slightly too large) and your ram to 90% of your ram on your MacBook, and the CPU threads to however cores your CPU has, and leave the beginning nonce. Then hit "Generate Command" and copy that. Open your terminal and cd to the directory you downloaded it (eg cd username, cd Downloads, cd mjminer) then paste the command and it should start plotting.


Log in to reply
 

Looks like your connection to Burst - Efficient HDD Mining was lost, please wait while we try to reconnect.