Can't make a miner run on Ubuntu



  • Hello All,

    i've been trying to get this to work on my Ubuntu machine.
    I've keep getting errors.
    now i've removed some stuff and am going to try again but maybe its better for me to get a tutorial or some advice from someone.

    Any possibility to post a small tutorial here?

    Is it even possible to just do apt-get .... to get a miner and let it work properly?

    Latest error i had was 1001..

    Last things i done was this:
    [email protected]:~/Documents/sia/Sia-GPU-Miner-master$ make
    cc -c -std=c11 -Wall -pedantic -O2 -o sia-gpu-miner.o sia-gpu-miner.c
    sia-gpu-miner.c: In function ‘main’:
    sia-gpu-miner.c:484:2: warning: ‘clCreateCommandQueue’ is deprecated [-Wdeprecated-declarations]
    command_queue = clCreateCommandQueue(context, device_id, 0, &ret);
    ^
    In file included from sia-gpu-miner.c:18:0:
    /usr/include/CL/cl.h:1359:1: note: declared here
    clCreateCommandQueue(cl_context /* context */,
    ^
    cc -c -std=c11 -Wall -pedantic -O2 -o network.o network.c
    cc -o sia-gpu-miner sia-gpu-miner.o network.o -lOpenCL -lcurl

    after that i done:
    [email protected]:~/Documents/sia/Sia-GPU-Miner-master$ ./sia-gpu-miner
    Initializing...
    Failed to get number of OpenCL platforms with error code -1001 (clGetPlatformIDs).

    And further i am not coming..
    Whats wrong :O



  • What brand is your GPU (e.g. nVidia)? Make sure that your GPU is compatible with OpenCL. When I was playing around with mining on an old laptop, it took me a while to realize that my laptop's GPU did not support OpenCL and that I would never get mining to work. Once I tried with a more recent laptop that did have a compatible GPU, I was able to start mining.


Log in to reply