Author

Topic: sgminer finds OpenCL on Configuration but doesn't on run (Read 318 times)

newbie
Activity: 23
Merit: 0
Did you ever fix it? Facing the same issue.
newbie
Activity: 1
Merit: 0
Hello, I am having a problem with running sgminer, I have all the dependencies.

On Configuration it finds  OpenCL
Code:
Configuration Options Summary:

  Use git version......: yes
  libcurl(GBT+getwork).: Enabled: -lcurl
  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: FOUND. GPU mining support enabled
  ADL..................: SDK found, GPU monitoring support enabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -Wall -march=native -std=gnu99
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl submodules/jansson/src/.libs/libjansson.a -lpthread -L/home/paul/AMDAPPSDK-3.0/lib/x86_64 -lOpenCL    -lm -lrt

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

I have my Card In :
Code:
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] (rev cf)

But when trying to run it doesn't find OpenCL :
Code:
./sgminer -n
[09:46:19] Error -1001: clGetPlatformsIDs failed (no OpenCL SDK installed?)                   
[09:46:19] clDevicesNum returned error, no GPUs usable                   
[09:46:19] 0 GPU devices max detected     

I am  new to GPU mining so please excuse me for any mistakes.
Thanks in advance,
French-Miner
Jump to: