Post
Topic
Board Altcoin Discussion
Re: [XPM] Working on a GPU miner for Primecoin, new thread :)
by
paulthetafy
on 04/09/2013, 07:45:32 UTC
I meant to work on the miner after school but I was dead tired, went straight to sleep.

This is how I built Reaper on Ubuntu 13.04 server:

First! Redownload the miner from the link I gave you. There should be a VERSION file that says it's beta 2.

sudo apt-get install build-essential cmake libgmp-dev libcurl4-openssl-dev dh-autoreconf pkg-config libjansson-dev
download & install AMD's (or Nvidia's) OpenCL SDK

download bitcoin-libblkmaker from
https://dl.dropboxusercontent.com/u/55025350/bitcoin-libblkmaker.zip
and extract it to the directory where the miner sources are.
then do this:
{
   cd libblkmaker
   make clean
   ./autogen.sh
   make
   sudo make install
   cd ..
}

Then, just run cmake-linux.sh.

Hi mtrlt, I had beta 1 working fine on ubuntu.  Now I'm getting "Error: Error getting OpenCL device IDs".  I kept my old conf file so that hasn't changed.  Any ideas?

edit: fixed the above my setting DISPLAY=:0

However I'm now getting
Code:
Using devices 0, 1
OpenCL device 0........
Compiling kernel... this could take up to 2 minutes.
"/tmp/OCLiKVN8G.cl", line 338: warning: nested comment is not allowed
        /*/
        ^

"/tmp/OCLiKVN8G.cl", line 672: error: too many arguments in function call
        uint16 a = Mul_512b_32b(FixedMultiplier,FermatNumbers[get_global_id(0)>>1],ORIGIN_LENGTH);
                                                                                   ^

1 error detected in the compilation of "/tmp/OCLiKVN8G.cl".

Frontend phase failed compilation.