Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: addisdev on May 22, 2014, 04:22:02 PM



Title: Has anyone had success at mining X11 on a Mac?
Post by: addisdev on May 22, 2014, 04:22:02 PM
I've been trying for days and I cannot get a CPU or GPU miner to work on a Mac. I'm aware of the miners that are available, ig0tik3d and elmads. The farthest i've gotten is with ig0tik3d's minerd. But using the osx64 compiled verision downloaded at http://sourceforge.net/projects/cpuminer/files/, terminal says "./minerd: unknown algorithm -- 'X11'".

Any help would be greatly appreciated. Happy mining!


Title: Re: Has anyone had success at mining X11 on a Mac?
Post by: jonnybravo0311 on May 22, 2014, 05:54:39 PM
I've been trying for days and I cannot get a CPU or GPU miner to work on a Mac. I'm aware of the miners that are available, ig0tik3d and elmads. The farthest i've gotten is with ig0tik3d's minerd. But using the osx64 compiled verision downloaded at http://sourceforge.net/projects/cpuminer/files/, terminal says "./minerd: unknown algorithm -- 'X11'".

Any help would be greatly appreciated. Happy mining!

I was able to get a fork called sph-sgminer to work... kind of.  This was back in March when I was playing around with it.  I've got a late 2013 rMBP15 with the nVidia 750m and Iris Pro.  No matter what I tried, the clBuildProgram just kept throwing errors when trying to build for the nVidia kernel; however, it did work with the Iris Pro.  Again, this was back in March, so perhaps there have been some changes.  Here's what I did:

1) Grabbed the source from @Badman74 git
2) cd to sph-sgminer
3) autoreconf -fi
4) automake
5) CFLAGS="-O3 -std=gnu89 -march=native" ./configure --enable-opencl --disable-adl
6) export GPU_MAX_ALLOC_PERCENT=100
7) export GPU_USE_SYNC_OBJECTS=1

You can see the full thread of what I was doing here: http://www.asteroidapp.com/forums/discussion/402/support-for-sph-sgminer#Item_27

Good luck, and if you manage to get it working for the nVidia cards, let me know.  Also, I haven't grabbed CudaMiner lately, so no idea if anyone has written a fork of it there, but back in March, nobody had.