Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

AMD DEVS - bug in AMDAPPSDK-3.0 Installer (linux x64)?

I installed the amd app sdk last night (Linux 64) and for some reason, it seems like it skipped over the most important file -

I let the installer use its own default directories, I didn't tell it to do anything special.  I tried to compile some little sample opencl code which failed on linking.  I could find a link to in /opt/AMDAPPSKD-3.0/lib/x86_64/ but the link there points to /usr/lib/, which doesn't exist.  I found the actual file in /opt/AMDAPPSDK-3.0/lib/x86_64/sdk/ and I manually copied it to my /usr/lib/ which seemed to fix nearly all of my issues.  Is this normal behavior?  Assuming this package is targeting ubuntu, does ubuntu put libraries somewhere else?

I went digging around in the '' which lives in the installed directory of the amdappsdk.  Curious that it installs its install script along with everything else, but moving past that....  I found this:

#Function Name: createOpenCLSoftLink

#Comments     : creates the soft-link to

#               This is done depending upon the file.

#               If exist we are doing nothing.

#               If only is present in /usr/lib, then we are creating the soft-link to

#               The* file are created depending upon the catalyst installation, so to handle this we are creating soft-link

#               And is required by cmake files to pick the catalyst runtimes.

#               If file is not found in /usr/lib, then cmake picks up the AMDAPPSDK runtimes.

Without getting too far in the weeds, I imagine the way in which is handled it must have been intentional, but it seems really strange.  Either way, the soft-linking seems to fail.  Is there a reason we're not just moving the right file into the right place?  Is this to account for other opencl implementations to avoid accidental over-write?

Looking at the whole amdappsdk package, it's amazingly complex.  I guess it has to account for all kinds of environments, but this all seems like a lot and I suppose the amdappsdk does more than "just" opencl god these scripts go on forever.

5 Replies


Thanks for reporting. I'll check with the installer team and get back to you shortly.



Thank you for looking into this!  I see another user has the same problem:

OpenCL SDK 3.0 installs with a broken link

It's nice to know it's not just me



I could see a different folder structure with the version you have installed. It looks like an older version is being used.

Please test with latest version.



I'm confused, I thought 3.0 was the latest version?  Could you provide a link to a newer version I can try?  Thank you.



I think, Pulkit Lall referred to the latest APP SDK 3.0 available here: . Just make sure you are using the above one not the beta version of APP SDK 3.0 available earlier.