AnsweredAssumed Answered

clinfo gives error with amdgpu-pro 17.3, AMD APP SDK 3.0 on Ubuntu 16.04

Question asked by colinbrogan on Oct 19, 2017
Latest reply on Oct 25, 2017 by colinbrogan

I have installed amdgpu-pro 17.3 and APP SDK 3.0 on Ubuntu 16.04 via the following directions:

*** I chose the Non-root method in above directions




How-To Install/Uninstall AMD Radeon™ Software AMDGPU-PRO Driver for Linux® on an Ubuntu System


When I run clinfo, I get the following error:


terminate called after throwing an instance of 'cl::Error'

  what():  clGetPlatformIDs

Aborted (core dumped)



I've had all this running before, just decided to upgrade the amdgpu-pro drivers and now I can't get past this problem.


Here are my environmental variables in .bashrc:



export LD_LIBRARY_PATH="/opt/amdgpu-pro/lib/x86_64-linux-gnu/"

export AMDAPPSDKROOT="/home/miner/AMDAPPSDK-3.0/"

export OPENCL_VENDOR_PATH="/etc/OpenCL/vendors/"


Below is a listing of what is in each file in these paths:




dri     vdpau





APPSDK-EULA-linux.txt  docs  include                     Linux_fullInstall_miner.gif  shflags

bin                    etc   InstallLog_10-18-2017T16-56-45.log  lib         samples            





amdocl32.icd  amdocl64.icd



Finally, the contents of amdocl64.icd, which I am assuming should be giving platform ID's:


cat $OPENCL_VENDOR_PATH/amdocl64.icd



Any ideas?