2 Replies Latest reply on Oct 25, 2017 11:26 AM by colinbrogan

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


      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:





      amdvlk64.so  libamdocl12cl64.so  libdrm_amdgpu.so.1.0.0  libEGL.so    libgbm.so.1.0.0  libGL.so      libkms.so.1      libOpenCL.so.1

      dri          libamdocl64.so      libdrm.so.2             libEGL.so.1  libGLESv2.so     libGL.so.1    libkms.so.1.0.0  vdpau

      gbm          libdrm_amdgpu.so.1  libdrm.so.2.4.0         libgbm.so.1  libGLESv2.so.2   libGL.so.1.2  libOpenCL.so




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

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





      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?