AnsweredAssumed Answered

Fixes for AMD installer (Ubuntu 16.04 x86_64 dec 30,2017)

Question asked by markswanson on Dec 29, 2017
Latest reply on Jan 7, 2018 by markswanson

I just did a fresh install of Ubuntu 16.04 to a new partition, and did an 'apt upgrade ; apt dist-upgrade' to make sure it was perfectly up to date.

 

After installation finishes, are these steps correct to get AMD-APP-SDK working?

 

1. install amdgpu

2. install AMD-APP-SDK-v3*

 

At this stage, several things are missing:

* LD_LIBRARY_PATH is missing /opt/AMDAPPSDK-3.0/lib/x86_64/

* The dir (/opt/AMDAPPSDK-3.0/lib/x86_64/) contains an incorrect symbolic link (libOpenCL.so incorrectly points to /usr/lib/libOpenCL.so.1 [which doesn't exist]) which can be fixed like:

  $ rm libOpenCL.so

  $ ln -sf sdk/libOpenCL.so.1 libOpenCL.so

  $ ln -sf sdk/libOpenCL.so.1 libOpenCL.so.1

 

However, 'clinfo' fails with:

clinfo

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

  what():  clGetPlatformIDs

Aborted (core dumped)

 

What did I miss or do wrong? I'm trying to get 'clinfo' working.

 

Thanks.

Outcomes