Package Details: amdapp-sdk 3.0-21

Git Clone URL: https://aur.archlinux.org/amdapp-sdk.git (read-only)
Package Base: amdapp-sdk
Description: AMD Accelerated Parallel Processing (APP) SDK, 3.0 with OpenCL 2.0 support.
Upstream URL: http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/
Licenses: custom
Groups: amdapp
Conflicts: amdstream
Provides: amdstream, opencl
Submitter: Vi0L0
Maintainer: Vi0L0
Last Packager: Vi0L0
Votes: 71
Popularity: 0.789390
First Submitted: 2013-02-11 21:03
Last Updated: 2016-06-02 20:09

Dependencies (17)

Required by (5)

Sources (4)

  • amd.icd
  • amdapp-sdk.conf
  • amdapp-sdk.sh
  • amd_i686.icd

Latest Comments

Vi0L0 commented on 2016-07-21 19:29

Checked again and I have no problems with the download.

You can use my google drive's upload: https://drive.google.com/open?id=0B-S6einraYmXSmpVLUE2QjMxTms

Download amdapp-sdk sources snapshot and untar it, then create 'src' directory next to PKGBUILD and paste downloaded AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2 file into that dir. Then you can use makepkg to build package.

growler commented on 2016-07-19 10:02

The download keeps failing for me - and it has been like this continually for months...


Saving to: ‘AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2’

AMD-APP-SDKInstaller-v3.0.130 12%[=====> ] 23.98M 1.04MB/s in 25s

2016-07-19 10:57:38 (994 KB/s) - Connection closed at byte 25149440. Retrying.


It always gets to about 12%, then resets. It ultimately tries 3 times then dies. Presumably there is some cvnty stuff AMD has put in somewhere to detect something, but as I haven't seen others complain either no one is using us, or it isn't affecting them.

Any ideas on this? It certainly isn't my connection, etc. as nothing else exhibits this behaviour, and as stated it has been like this for 100+ attempts over a period of months.

Cheers

Vi0L0 commented on 2016-06-02 20:14

sorry for the delay

updated, should be fine, funny thing is that lib directory structure for i686 and x86_64 is not same (thats why path in icd differs)

unixbrain commented on 2016-04-07 05:29

==> Starting package_amdapp-sdk-nocatalyst()...
chmod: cannot operate on dangling symlink '/home/alex/amdapp-sdk/pkg/amdapp-sdk-nocatalyst/opt/AMDAPP/SDK/lib/libOpenCL.so'
==> ERROR: A failure occurred in package_amdapp-sdk-nocatalyst().
Aborting...
help? I followed chris64's suggestions.

chris64 commented on 2016-03-29 17:25

There's a new release AMD-APP-SDKInstaller-v3.0.130.136-GA from 3/23/2016 with sha256sum 181fb9815e735c90ca5713acc27a6f9ed7f85135d2f2a085bed7b4c7ed157b94 (32 bit) and 0aa436acd334b686820bd3caab9f09014608741b92e3996d3642d0b148ede0f7 (64 bit). This explains the download failure. Thank you Vi0L0 for your efforts. :-)

Amendment: I had to change `amd.icd` from /PATH/lib/libamdoclBITS.so to /PATH/lib/sdk/libamdoclBITS.so in order to make it work again.

chris64 commented on 2016-03-29 16:59

@Vi0L0 I'm afraid the automated download is broken. The script referenced by @wallnuss works but it's downloaded tarball doesn't match the checksum.

Vi0L0 commented on 2016-01-20 13:31

@wallnuss: I used suggested code in https://aur.archlinux.org/packages/amd-adl-sdk/
Then I started working on this package and recall that kralyk once was working on such an idea, so I took his code and used it here :).

Thank you guys.

I was thinking long time about it, I'm still not sure is it clear and can we really use such a download scritps. But oh well, its already popular anyway :P

wallnuss commented on 2016-01-19 03:04

For automated downloads you can use this script: https://gist.github.com/vchuravy/1faa40c2df51e3a9ee55/8d79b81781f4990dd09583ca39b6373700725a8e

growler commented on 2016-01-09 15:49

Downloads are broken as AMD now requires accepting a license agreement.

HenryJia commented on 2016-01-07 19:49

The link for the source no longer works.

Vi0L0 commented on 2015-11-21 13:18

updated to v3.0.130.135
It should be available in [catalyst] repo in minutes.
Thanks ArnaudNux
And sorry for the lag

ArnaudNux commented on 2015-11-01 17:09

Hello,

The version of the file to be changed is not AMD-SDK.v3-0-124-132 but v3.0-130-135.

tuxayo commented on 2015-10-04 10:52

@ordoe sorry for having missed that, thanks!

5chdn commented on 2015-09-21 12:09

i had similar issues with a package requiring third party license agreements.

my solution was a check in prepare() if the required dependency file is available... and if not spam messages to the terminal telling the user to manually download the file and exit with 1. this somehow made sure that people stopped writing "403" or "does not build" in comments. just an idea :-)

@tuxayo check out first lines of PKGBUILD:
# !!! NOTE !!!
# Please download AMD-APP-SDKInstaller-v3.0.124.132-GA-linux<your_bits_here>.tar.bz2 from
# http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/
# and paste it next to this PKGBUILD

tuxayo commented on 2015-09-21 09:55

http://developer.amd.com/wordpress/media/files/AMD-APP-SDKInstaller-v3.0.124.132-GA-linux64.tar.bz2

goes 403

Vi0L0 commented on 2015-09-06 19:25

thanks robbepop


updated to stable 3.0:

- AMD removed aparapi samples
amdapp-sdk-aparapi is no longer included - it will NOT be automatically removed, thought

- new header files:
internal/
cl_agent_amd.h
cl_debugger_amd.h
cl_icd_amd.h
cl_kernel_info_amd.h
cl_profile_amd.h
cl_thread_trace_amd.h

robbepop commented on 2015-09-02 10:12

Can you please update your PKGBUILD for the new version of the AMDAPP-SDK.
Newest version is v3.0.124.132, got released on 25th August and is no longer beta.

Vi0L0 commented on 2015-03-08 14:00

check out first lines of PKGBUILD:
# !!! NOTE !!!
# Please download AMD-APP-SDK-v3.0-0.113.50-Beta-linux<your_bits_here>.tar.bz2 from
# http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/
# and paste it next to this PKGBUILD

ShyPixie commented on 2015-01-25 21:50

The requested URL returned error: 403 Forbidden

Vi0L0 commented on 2014-12-14 22:45

I will update [catalyst] repo with this package within days (maybe tomorrow), will leave stable amdapp sdk 2.9.1 version inside [catalyst-stable]

Vi0L0 commented on 2014-12-14 22:43

updated to 3.0 beta:
- OpenCL 2.0 support
- added 1 package named amdapp-sdk-docs because amd has added some nice documentation (PDF)
- some cleanup

Vi0L0 commented on 2014-12-14 22:41

updated to 3.0 beta:
- OpenCL 2.0 support
- added 1 package named amdapp-sdk-docs because there's some nice documentation with this package (PDF)
- some cleanup

GreenRaccoon23 commented on 2014-11-28 21:24

AMD really won't let us download this package directly? That's annoying.

t638403 commented on 2014-10-29 16:32

$ head -n4 PKGBUILD
# !!! NOTE !!!
# Please download AMD-APP-SDK-linux-v2.9-1.599.381-GA-<your_bits_here>.tar.bz2 from
# http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/
# and paste it next to this PKGBUILD

Vi0L0 commented on 2014-09-26 19:59

Thanks kralyk :), I will look at it in the free time

kralyk commented on 2014-09-26 16:05

Hi Violo, you don't need to have users download the tarball, it can be downloaded from the PKGBUILD. See my libopencl package on how to do it...

skeksis268 commented on 2014-09-26 09:22

Same 403 error here

Jesin commented on 2014-09-20 20:50

I'm on x86_64, and I'm getting this error message when I run makepkg:

curl: (22) The requested URL returned error: 403 Forbidden
==> ERROR: Failure while downloading AMD-APP-SDK-linux-v2.9-1.599.381-GA-x64.tar.bz2

Vi0L0 commented on 2014-09-14 12:37

updated to 2.9.1,
sorry for long waiting, it was not hard, just had no time :/.
Like said i created new package amdapp-sdk-nocatalyst with libs and icd file inside for non-catalyst users, it conflicts with catalyst-utils to warn catalyst users and make sure that they would not install it.

Vi0L0 commented on 2014-09-03 20:08

Thanks for the head up, beroal.

I decided to modify 2.9.1 a bit, probably I will move libs and icd to a new splitted package (because they should be unneeded when catalyst is installed)

Give me some time, depending on other works from 1 to 4 days.

beroal commented on 2014-08-31 15:29

What is the difference between "amdapp-aparapi" and "amdapp-sdk-aparapi"?

beroal commented on 2014-08-31 15:24

The version 2.9.1 is out.

Vi0L0 commented on 2014-07-14 17:40

forgot to add 1 important step, lets fix it:
BTW when using newer hardware:
- install fresh catalyst and opencl-catalyst
- install amdapp-sdk
- rm /etc/OpenCL/vendors/amd.icd (otherwise code won't run on a GPU)
- rm /etc/profile.d/amdapp-sdk.sh (as above so below)

Vi0L0 commented on 2014-07-13 09:57

it could provide libcl... BUT there's one problem:
it doesn't support newest hardware - ie. it's not working with my 290X.

It's better to use opencl-catalyst package as a libcl provider, because libs from out there always supports what catalyst supports.

It would be the best to provide libcl in both amdapp-sdk and opencl-catalyst - but to let it happen I would have to remove libcl from opencl-catalyst's conflicts table and if I do this pacman will let me to install libcl package (it will fail when checking files, but its too late), or from the other side while having libcl package installed it will let me to install opencl-catalyst (and fail once again)

BTW when using newer hardware:
- install fresh catalyst and opencl-catalyst
- install amdapp-sdk
- rm /etc/OpenCL/vendors/amd.icd (otherwise code won't run on a GPU)

wallnuss commented on 2014-07-09 19:28

Shouldn't this package not also provide a libcl package? Since one is shipped alongside the sdk depending on the one provided by nvidia seems redundant to me.

Also nvidia doesn't support OpenCL 1.2 with their libcl implementation.

wallnuss commented on 2014-07-09 19:27

Shouldn't this package not also provide a libcl package? Since one is shipped alongside the sdk depending on the one provided by nvidia seems redundant to me.

Also nvidia doesn't support OpenCL 1.2 with their libcl implementation.

Vi0L0 commented on 2013-11-27 16:39

Thats why there is this note on atop of the PKGBUILD:
Please download AMD-APP-SDK-v2.9-lnx<your_bits_here>.tgz from
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/
and paste it next to this PKGBUILD

Timothee commented on 2013-11-27 16:20

Hello, I have a 403 HTTP error for the http://developer.amd.com/wordpress/media/files/AMD-APP-SDK-v2.9-lnx32.tgz link :/

Vi0L0 commented on 2013-11-12 22:22

additional info to 2.9-1 from amd:
"Recommandations for GPU user:
Install 13.10 (or later) Catalyst driver then install SDK 2.9 to avoid the CPU RT files installation."

Vi0L0 commented on 2013-11-12 22:15

updated to 2.9-1, this release is different:
- no docs directory, no global make, no license file(?), simple repack
- no AMDAPPSDKROOT, LD_LIBRARY_PATH instead
- bolt[1] samples, no sdkutils samples

[1] from AMD:
Bolt is a C++ template library providing GPU off-load for common parallel algorithms. We’ve added cross-OS support as well as numerous performance improvements and new functions. Bolt supports Cross vendor platforms today via CPU and multi-core fallback paths, but stay tuned, we will tackle cross-vendor acceleration next. clMath accelerates BLAS and FFT libraries accessible from Fortran, C and C++.

archive tarballs are here, though you may have problems with downloading original package from amd..., anyhow:
http://catalyst.wirephire.com/tarball/amdapp/

@BeepDog:
added glu, thanks

BeepDog commented on 2013-09-16 18:37

../../../../../include/GL/glew.h:1138:20: fatal error: GL/glu.h: No such file or directory
#include <GL/glu.h>
^

I'm assuming that there's a missing dependency here? I see glut, and various other GL dependencies in there, but it fails to build.

Vi0L0 commented on 2013-09-08 20:45

@jakogut:
ok, I will look at it.

@qdoe:
sums are fine, please read the description atop of PKGBUILD file. You need to download it from the web site because direct download isn't allowed

5chdn commented on 2013-09-05 08:41

AMD-APP-SDK-v2.8.1.0-lnx64.tgz fails in sha256sum validation, could you recheck the package? thanks

jakogut commented on 2013-08-23 06:38

@Vi0L0: When makepkg is configured to use another build directory, it can't find the patches required by this package. You might want to change the relative paths to use ${pkgdir}.

jakogut commented on 2013-08-23 06:34

@Vi0L0: When makepkg is configured to use another build directory, it can't find the patches required by this package. You might want to change the relative paths to use ${pkgdir}.

Vi0L0 commented on 2013-07-13 20:56

@asd: soon I will upload 2.7 into the AUR

Vi0L0 commented on 2013-07-13 20:56

updated to 2.8.1.0-1:
amdapp-sdk package was split into 3 packages:
amdapp-sdk :: main package
amdapp-sdk-aparapi :: AparapiUtil and aparapi samples
amdapp-sdk-opencv :: OpenCVUtils and opencv samples


AMD-APP-SDK isn't available to be directly downloaded, you need to accept the license agreement...

Please download AMD-APP-SDK-v2.8.1.0-lnx<your_bits_here>.tgz from:
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/
and paste it next to PKGBUILD

Please let me know if you will find direct link

Anonymous comment on 2013-07-08 18:23

Perhaps worth mentioning, 2.8 does not seem to work with legacy drivers (catalyst-total-hd234k in my case), but 2.7 does.

Vi0L0 commented on 2013-05-27 18:44

You are right veox.
I will fix it with the next release (or sooner if no realease will came up in a short time)

veox commented on 2013-05-24 19:17

Perhaps it would be better to rename `/etc/profile.d/amdstream.sh` to `/etc/profile.d/amdapp-sdk.sh` or something like it, and include it in the tarball instead of generating in inside the PKGBUILD.

Vi0L0 commented on 2013-02-12 20:59

Known as amdstream in old days ;P...
By default this package doesn't depends on amdapp-aparapi and isn't providing aparapiUtil and aparapi's samples - please set _aparapi=y on top of PKGBUILD if you want otherwise

Vi0L0 commented on 2012-12-22 22:31

If someone want to/can check amd app sdk 2.8 - here it is: https://bbs.archlinux.org/viewtopic.php?pid=1209006#p1209006

Vi0L0 commented on 2012-12-20 12:22

Anyhow i think we should wait some time for madmike...

Vi0L0 commented on 2012-12-20 12:04

I've been e-mailing some time ago with madmike but he didn't respond to my last e-mail.
Yesterday i did mailed him one more time to propose some coporate work.
Latelly I've been working on PKGBUILDs for AMD APP SDK 2.8, AMD APP Profiler and aparapi, i've got working solution, but as i'm not a dev i would like to work with some real opencl dev so he could tell is it actually good.
I'm also planning to work on CodeXL, hope to end it all before x-mas.

PedsXing commented on 2012-12-20 09:50

This PKGBUILD has been out of date for a long time. Please update or disown it.

ptchinster commented on 2012-08-14 12:44

error: failed to commit transaction (conflicting files)
amdstream: /usr/bin/clinfo exists in filesystem
Errors occurred, no packages were upgraded.

$ pacman -Qo /usr/bin/clinfo
/usr/bin/clinfo is owned by catalyst-utils 12.6-1

Anonymous comment on 2012-07-17 03:54

Here is an updated PKGBUILD file for AMD-APP-SDK 2.7: http://dl.dropbox.com/u/1522424/amdstream/PKGBUILD

Please integrate this.

Anonymous comment on 2012-07-17 03:06

AMD-APP-SDK 2.7 has been released. http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.7-lnx64.tgz

Please update PKGBUILD.

Anonymous comment on 2012-05-15 19:57

Thanks for the fix halfie, after doing what you say works ok.

big_gie commented on 2012-05-02 16:41

In that case the package is broken...

Anonymous comment on 2012-05-02 16:39

Here is a simple fix to solve the problem:

sudo cp /usr/lib/libamdocl64.so /opt/amdstream/lib

After this things are working fine :-)

big_gie commented on 2012-05-02 16:36

There's probably something wrong with your OpenCL driver then... That would not surprise me of the catalyst driver though.
I would myself try to find which function is crashing and either report it or just try to skip it entirely.

clinfo does not even run a kernel. It just print the platforms/devices information.

Anonymous comment on 2012-05-02 16:32

big_gie: Even other programs (JtR OpenCL build) are crashing with segmentation fault. So clinfo isn't alone.

big_gie commented on 2012-05-02 16:25

IIRC clinfo was built with OpenCL v1.1 functions while amd's driver is only 1.0, so it crashes when trying.
clinfo runs fine on an nvidia system. In that case it's just a poorly written clinfo. Take a look at my oclutils: https://github.com/nbigaouette/oclutils/

Anonymous comment on 2012-05-02 16:22

/opt/amdstream/bin/clinfo is crashing with segmentation fault? I re-install catalyst-hook. Any ideas to fix this problem?

Anonymous comment on 2012-04-14 01:23

Can be adapted to ccr?

Anonymous comment on 2012-04-11 23:34

@nplatis meh, that's a stupid bug in yaourt.

In order to save time and energy i set PKGEXT to ".tar.gz". Yaourt ist ignoring this and tries to install pkgname.pkg.tar.xz.
So manually issuing pacman -U /tmp/<path>/*tar.gz will install the package.

nplatis commented on 2012-04-11 23:13

Cannot install the package. Using yaourt, building seems to be OK, but installation fails with the message:
'/tmp/yaourt-tmp-root/PKGDEST.fck/*.pkg.tar.xz': cannot find or read package

Anonymous comment on 2012-04-04 00:05

weird readlink()-compile error
worked around by including unistd.h -> 2.6-2

Anonymous comment on 2012-01-11 22:10

kralyk has handed the package to me, so I could merge the changes into the PKGBUILD.
Therefore I removed the patch files from my webserver.

Anonymous comment on 2011-12-22 12:01

APP 2.6 is out

Since there a couple of issues now I modified the PKGBUILD slightly:
+ include app 2.6
+ include ICD reference again
+ include symlink for clinfo
+ removed empty-source-archive workaround ( isn't it simpler to just extract the sub-archive in build() ? )
+ renamed OVDecode to OpenVideo
+ added implicit linking patch ( fixes old GL and new introduced X11 linking error )

relevant files:
http://little.dyn-o-saur.com/files/app/PKGBUILD
http://little.dyn-o-saur.com/files/app/01-implicit-linking.patch

optional file:
http://little.dyn-o-saur.com/files/app/PKGBUILD.diff

happy holidays everyone

giniu commented on 2011-12-19 16:04

I also vote for inclusion of icd, I use amd stream only for CPU as I have nVidia GPU, but I'd still would like to be able to use my Phenom with simple OpenCL apps - without installing catalyst-utils.

Anonymous comment on 2011-12-17 22:35

Please include the creation of the icd reference in /etc/OpenCL/vendors again.

Otherwise people who want to code/test on x86 only will tend to install catalyst-utils and that's just bananas.

Anonymous comment on 2011-12-17 22:18

btw,
the linking error with GL and GLU is because ld no longer recursively adds shared libraries that are marked as NEEDED.
It looks like amd's code is based on the implicit inclusion of these shared libraries and therefore they have to specifically link with -lGL and -lGLU.
This has to be fixed by AMD I guess. Bugreport anyone?

slightly more generic workaround would be:

--- make/openclsdkdefs.mk 2011-07-18 20:04:15.000000000 +0200
+++ /dev/null 2011-12-17 23:05:48.027376727 +0100
@@ -227,6 +227,9 @@
LD := g++
endif

+ # work around implicit linking error
+ LDFLAGS += -Xlinker --copy-dt-needed-entries
+
ifdef MINGW
LDFLAGS += -L/usr/X11R6/lib
else

kjslag commented on 2011-12-14 00:28

jgottula's solution works for me also. I got the same error message.

pacman -Qo /usr/lib/libGL.so.1
/usr/lib/libGL.so.1 is owned by catalyst-utils 11.12-1

jgottula commented on 2011-12-06 09:58

$ pacman -Qo /usr/lib/libGL.so.1
/usr/lib/libGL.so.1 is owned by catalyst-utils 11.11-3

readelf: http://bayfiles.com/file/1f89/Xax4Fj/readelf.txt

kralyk commented on 2011-12-06 09:46

@jgottula: I think the main problem is this line:
/usr/lib/libGL.so.1: could not read symbols: Invalid operation
What's with your libGL.so? What pkg is it from? Could you post 'readelf -a' of it?

jgottula commented on 2011-12-06 05:50

I'm getting build failures with a few source files in the 2.5-4 revision of this package (new today apparently) because the makefiles aren't telling g++ to link to GL or GLU (see http://stackoverflow.com/questions/3476869):

/usr/bin/ld: build/debug/x86_64//FluidSimulation2D.o: undefined reference to symbol 'glEnd'
/usr/bin/ld: note: 'glEnd' is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line
/usr/lib/libGL.so.1: could not read symbols: Invalid operation

The rough workaround is to add a line to the end of make/opencldefs.mk that says 'LLIBS += GL GLU', and then everything compiles fine. There's probably a more correct way to fix it, but that was good enough to work.

kralyk commented on 2011-12-05 23:01

Updated for compliance with 11.11
Some files moved to catalyst, libopencl is no longer needed.

toffyrn commented on 2011-11-28 12:04

I tried removing amdstream and using only catalyst-utils+opencl-headers, see forum post:
https://bbs.archlinux.org/viewtopic.php?id=131077
Thank you :)

kralyk commented on 2011-11-28 12:01

I'll have a look at it...

toffyrn commented on 2011-11-28 10:54

Since last catalyst(-utils) upgrade this package conflicts, and I can no longer develop OpenCL.
Should one use only catalyst, and drop this one?

kralyk commented on 2011-09-24 20:30

Oh my god you're right. I'm so sorry, I forgot the 'makepkg --source' utility won't pack the other arch in there for me. Updated!

BluePeril commented on 2011-09-24 20:25

AMD-APP-SDK-v2.5-RC2-lnx32.tgz is missing in the tarball

danmilon commented on 2011-09-23 00:42

@kralyk Gotcha. Thank you for your help!

kralyk commented on 2011-09-22 23:02

@razorg: I wouldn't know about that, I personally don't use yaourt, sorry.
The package works allright using standard process, and that's the furthest I can be concerned.

Those zero-sized *-RC2-* files are a trick that ensures proper extraction of the sources, which AMD packs in a strange way.

As all the deps are in repos, I suggest you build this pkg in a stadard way using makepkg (makepkg -sic for convenience).

danmilon commented on 2011-09-22 21:35

@kralyk actually i am installing through yaourt. Should the problem exist there also?
Thank you.

kralyk commented on 2011-09-22 17:15

@razorg: You need to download the whole tarball, not just the PKGBUILD.

danmilon commented on 2011-09-22 00:27

gives error on building:
==> ERROR: AMD-APP-SDK-v2.5-RC2-lnx32.tgz was not found in the build directory and is not a URL.
==> ERROR: Makepkg was unable to build amdstream.

kralyk commented on 2011-09-19 16:14

Thanks, updated (hope it's ok).

toffyrn commented on 2011-09-19 13:24

The sha256sum seems to have changed. :)

yiuin commented on 2011-08-23 19:50

Problem was with iptables .... I was blocking 127.0.0.1, and I guess that prevented clinfo from connecting to X. I'll delete these comments in a day or so since they aren't really relevant.

yiuin commented on 2011-08-23 19:19

@kralyk: It just hangs. So does clinfo, which also gives the warning:

./clinfo: /usr/lib/libOpenCL.so.1: no version information available (required by ./clinfo)

I am currently using libcl, so maybe I will try libopencl although I installed that earlier and I believe it was the same thing without the warning about version information. I'll post on the forum.

kralyk commented on 2011-08-23 19:04

@yiuin: Do you get any error, or does it just hang? Also, you might be better off asking on the amd forum, this sounds like a driver issue...

yiuin commented on 2011-08-23 17:12

I have a wierd problem where getPlatform will hang if X is NOT running. Any idea what this could be? I would prefer not to be running X since it is a waste of the GPU's resources. When I am running X my code (which worked with a less powerful nvidia card) hangs.

kralyk commented on 2011-08-06 09:33

Alright, some sanity has been reached, updating. Please ignore those zero-sized .tgzs, those are needed for proper sources extraction. I hope this is reasonably ok, feel free to test.

kralyk commented on 2011-08-04 21:41

I know this is totally out of date, but those AMD people are doing some real weirdness with the download link and the tgz. I am definitely NOT updating this until some sanity is reached once again.

kralyk commented on 2011-08-01 12:07

Updated. No conflicts - libopencl also provides libcl.

Use whichever you want, but be advised that extra/libcl only supports OpenCL 1.0, on the other hand it enables you to use both nVidia and AMD SDKs at the same time.
Depends on use case really.

john_schaf commented on 2011-07-29 10:44

Should this not conflict with libcl ?

kralyk commented on 2011-07-07 02:28

Thanks big_gie, updated.

big_gie commented on 2011-06-15 18:07

I fail to get a platform on my netbook. I've found out it's because it's x86 (not x86_64) and a link is missing:
ln -s /opt/amdstream/lib/$_arch/libamdocl32.so $pkgdir/usr/lib/libamdocl32.so
Now it works!

Void-995 commented on 2011-06-08 11:28

I've already installed NVIDIA CUDA on my PC to work with OpenCL on GPU. Aslo I want to use an amdstream to have OpenCL support on my CPU too, but installation failed with:

Targets (1): amdstream-2.4-2

Total Download Size: 0.00 MB
Total Installed Size: 114.60 MB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#########################################################] 100%
(1/1) checking for file conflicts [#########################################################] 100%
error: failed to commit transaction (conflicting files)
amdstream: /usr/lib/libOpenCL.so exists in filesystem
amdstream: /usr/lib/libOpenCL.so.1 exists in filesystem
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-void-995
==> WARNING: Following packages have not been installed:
amdstream

kralyk commented on 2011-06-08 11:26

Yes, I'm aware of this issue, this is being resolved, we have to talk about this with other maintainers. Unfortunatelly I'm currently terribly short on free time because of exams at my uni :/

Void-995 commented on 2011-06-08 11:24

I've already installed NVIDIA CUDA on my PC to work with OpenCL on GPU. Aslo I want to use an amdstream to have OpenCL support on my CPU too, but installation failed with:

Targets (1): amdstream-2.4-2

Total Download Size: 0.00 MB
Total Installed Size: 114.60 MB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#########################################################] 100%
(1/1) checking for file conflicts [#########################################################] 100%
error: failed to commit transaction (conflicting files)
amdstream: /usr/lib/libOpenCL.so exists in filesystem
amdstream: /usr/lib/libOpenCL.so.1 exists in filesystem
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-void-995
==> WARNING: Following packages have not been installed:
amdstream

kralyk commented on 2011-05-15 16:55

@madmike: Well, yes, the package is not intended for in-place compiling (and compiling within system files is not recommended in general for that matter).
The samples are already compiled, you'll find the binaries in /opt/amdstream/samples/opencl/bin/x86*/

If you want to make modifications to a sample or somehow customize the build process,
please either modify the PKGBUILD itself or make a local copy of the source tarball somewhere in $HOME.

Anonymous comment on 2011-05-15 16:49

There are some files missing from the original tar.gz.
When I am trying to build /opt/amdstream/samples/opencl/cl/app/NBody I get:

Makefile:3: ../../../../../make/openclsdkdefs.mk: No such file or directory
Makefile:38: ../../../../../make/openclsdkrules.mk: No such file or directory
make: *** No rule to make target `../../../../../make/openclsdkrules.mk'. Stop.

Is this intentional?

big_gie commented on 2011-05-13 12:57

Competition from intel: http://software.intel.com/en-us/blogs/2011/05/09/conformant-intel-opencl-sdk-11-beta-announced-linux-support-available/
:)

kralyk commented on 2011-04-29 06:25

I think we don't need libatical dependency any more. Updated.

big_gie commented on 2011-04-28 18:36

The packagye works for me, but valgrind reports many errors. Probably bugs in amd stream... I reported the problem on amd forum.

kralyk commented on 2011-04-28 18:30

So what's up? Does it work for you? Any problems?

kralyk commented on 2011-04-21 22:40

Ok, I finally updated this. Once again sorry for the delay.
Feel free to test, I seriously doubt this first pkgrel is flawless...
The bad news (I know of) is that the 'clc' tool is gone.
The good news is that the pkg has been cleaned by AMD somewhat,
so we'll hopefully be able to avoid ld config path hacks.
It's still windows-installer-like messy though... So still in /opt.

Alright, that's it from me for now, I'll get back to you asap...

big_gie commented on 2011-04-21 21:15

You mean the kernel-only compiler? What is used to compile a kernel file before running the program? If I clBuildProgram() each time I should be fine?

kralyk commented on 2011-04-21 21:00

It's removed, never mind... :/

kralyk commented on 2011-04-21 20:58

Hi,
sorry I'm late, I was totally snowed under last couple of days.
Anyway, I can't seem to find OpenCL compiler. AMD says it's in catalyst now,
but I can't find it there. Anyone got clue as to where the hell it is?

Anonymous comment on 2011-04-20 18:13

catalyst-test 11.4 and AMD APP SDK 2.4 seem to increase the performance of OpenCL apps by a bit. Please update the PKGBUILD.

Anonymous comment on 2011-04-20 18:12

>> It fails a call to clGetPlatformIDs().

Here is a quick dirty fix:

sudo ln -s /opt/amdstream/lib/x86_64/libamdocl64.so /usr/lib/

big_gie commented on 2011-04-11 23:01

Here's a patch for version 2.4: http://pastebin.com/0UTDbPWN
Note that I can't run an OpenCL code with this new version. It fails a call to clGetPlatformIDs().
This is used to run OpenCL code on the CPU.

toffyrn commented on 2011-03-02 21:31

After the last pkgrel it seems to find the .so files, however a simple script containing only:
"import pyopencl as cl
ctx = cl.create_some_context()"

crashes with:
"File "/usr/lib/python2.7/site-packages/pyopencl/__init__.py", line 314, in create_some_context
platforms = get_platforms()
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code"

I am also having issues when trying to run C++ applications with CL after this last pkgrel...
Is it working for you? Contact me at <toffyrn at toffyrn.net> if this is filling up the comments field.

kralyk commented on 2011-03-01 14:09

Ok, updated. I hope it's ok.

toffyrn commented on 2011-03-01 13:44

thx. waiting with a hackish symlink in the meantime :)

kralyk commented on 2011-03-01 13:27

Oh I see, it's the .1 thats missing.
It's f***ed up since AMD ignores the linux concept of shared objects altogether.
I'm gonna remove the ld conf entry, I don't wanna jeopardize glew and glut packages any more.

Stay tuned, will be fixed.

toffyrn commented on 2011-02-28 22:22

This is found:
$ cat /etc/ld.so.conf.d/amdstream.conf
/opt/amdstream/lib/x86
/opt/amdstream/lib/gpu
$

Try installing python2-pyopencl and run a simple python script containing only "import pyopencl".
When not having symlinked libOpenCL.so as /lib/libOpenCL.so.1 python can not find it...

Perhaps it is a bug in python2-pyopencl package?

kralyk commented on 2011-02-28 17:49

@toffyrn: That is strange, libOpenCL.so should be in LD path.
Could you please check your /etc/ld.so.conf.d for 'amdstream.conf' and if it's content is right?

kralyk commented on 2011-02-24 19:56

Hang on, will be fixed...

toffyrn commented on 2011-02-24 12:52

python2-pyopencl has a dependency on libcl, but it does not find the "libOpenCL.so", so you would perhaps need a symlink?

kralyk commented on 2011-02-08 23:01

Thank you for noticing me, Vi0L0!
I would also say amdstream, because catalyst-utils only provides CAL runtime (on top of which OpenCL works), but no OpenCL support whatsoever as far as I know.

Vi0L0 commented on 2011-02-08 22:45

opencl-headers lands in [community] with optdeps: 'libcl: OpenCL library'
libcl is provided only by nvidia-utils. Now i don't know which package on amd side should provide libcl - amdstream or catalyst-utils ?
I would guess amdstream. What do you think kralyk?

kralyk commented on 2011-01-13 13:54

mrspin: updated

mrspin commented on 2011-01-12 19:40

Doesn't install cal_ext.h header

Anonymous comment on 2011-01-01 10:13

works great. thanks!

kralyk commented on 2010-12-30 16:06

Omg I'm so absent-minded, sry, once again fixed...

BluePeril commented on 2010-12-30 07:25

the lines
chmod 755 $pkgdir/opt/amdstream/bin/x86_64/clc
chmod 755 $pkgdir/opt/amdstream/lib/x86_64/*.so
should be
chmod 755 $pkgdir/opt/amdstream/bin/$_arch/clc
chmod 755 $pkgdir/opt/amdstream/lib/$_arch/*.so

Otherwise packaging will fail with the 32bit version

kralyk commented on 2010-12-29 12:52

fixed

BluePeril commented on 2010-12-29 08:05

The checksum of the 32bit version is wrong. It should be 07fd15a51a678c4378767f61466daf9da21d0bab6088a97a70136dd8c976aca6

kralyk commented on 2010-12-28 21:20

Meh, thanks, fixed...

schneida commented on 2010-12-28 20:52

Sry, but the download for the source file is wrong. It downloads the license agreement instead of the actual file. A correct url would be: http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.3-lnx32.tgz

kralyk commented on 2010-12-28 16:02

Updated.
Pkg doesn't include the header now and has been cleaned & simplified.

big_gie commented on 2010-12-17 18:12

You were too fast, yes I agree that this package should remove the headers ;)

big_gie commented on 2010-12-17 18:11

All headers are, I think, almost the same, you can verify by yourself.
I think the best generic approach would be to let opencl-headers install the headers and remove the headers from these packages.

Anonymous comment on 2010-12-17 18:11

Or perhaps the "Arch Way" would be to not include the headers in this package, and point users to the "opencl-headers" package if they need them?

Anonymous comment on 2010-12-17 18:07

Would it be possible to add "opencl-headers" to the "provides" array, so that a user with this package installed may build packages that makedepend on "opencl-headers", or are the headers from this package too dissimilar to those from "opencl-headers"?

Anonymous comment on 2010-12-06 14:45

I am a robot. This is not an official message. AUR guidelines suggest to not include binaries. Examples:
amdstream/more-docs.tar.gz
Feel free to disregard this as you would any other comment. This robot will not post here again.

kralyk commented on 2010-09-04 10:41

Can you please provide wich package those files belong to? So I can put it in conflicts.

Anonymous comment on 2010-09-02 23:23

I'm getting this error, I am pretty sure this can be ignored, but still it would be nice if this could be fixed.



Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
amdstream: /usr/include/CL/cl.h exists in filesystem
amdstream: /usr/include/CL/cl_ext.h exists in filesystem
amdstream: /usr/include/CL/cl_gl.h exists in filesystem
amdstream: /usr/include/CL/cl_gl_ext.h exists in filesystem
amdstream: /usr/include/CL/cl_platform.h exists in filesystem
amdstream: /usr/include/CL/opencl.h exists in filesystem

Anonymous comment on 2010-08-26 19:47

Thanks, this time works ok. Keep up the good work :)

kralyk commented on 2010-08-26 10:21

Thanks pfdm, updated.

Anonymous comment on 2010-08-26 09:52

Just copy the the lib/gpu directory to /opt !
The PKGBUILD is not correct, add these lines :

+cp -r ./lib/gpu $pkgdir/opt/amdstream/lib/
-echo /opt/amdstream/lib/$_arch > $pkgdir/etc/ld.so.conf.d/amdstream.conf
+echo /opt/amdstream/lib/$_arch >> $pkgdir/etc/ld.so.conf.d/amdstream.conf
+echo /opt/amdstream/lib/gpu >> $pkgdir/etc/ld.so.conf.d/amdstream.conf

It should work!

kralyk commented on 2010-08-26 09:51

what does
ls -l /usr/bin/clc
output?

Anonymous comment on 2010-08-26 00:32

It's not working for me (catalyst 10.8)

./NBody

BUILD LOG
************************************************
Internal error: Compilation failed.
************************************************
Error: clBuildProgram failed. Error code : CL_BUILD_PROGRAM_FAILURE

any help?

kralyk commented on 2010-08-18 11:42

Updated to 2.2.
Now with OpenCL 1.1 support :)
Hope everything works, feel free to test...

kralyk commented on 2010-08-18 11:39

Updated to 2.2.
Hope everything works, feel free to test...

kralyk commented on 2010-08-18 11:38

Upadted to 2.2.
Hope everything works, feel free to test...

kralyk commented on 2010-08-18 10:22

Oh no, 2.2 is out :D
Will update asap...

kralyk commented on 2010-08-17 13:42

The package is now updated.
Sorry for the delay, I was abroad and in a deep wilderness with no internet :)
And thanks Vi0L0 for your help!

Anonymous comment on 2010-07-27 01:28

Thanks a lot ViOLO, with the first PKGBUILD works ok now :D

Vi0L0 commented on 2010-07-26 02:15

@Cory: thats because theres simply no llc file, and PKGBUILD of this pkg need to be updated.
Both PKGBUILDs mentioned below got it - http://aur.pastebin.com/57nYwgMr and http://ix.io/Zm

Vi0L0 commented on 2010-07-26 02:14

@Cory: thats because theres simply no llc file, and PKGBUILD of this pkg need to be updated.
Both PKGBUILDs mentioned below got it - http://aur.pastebin.com/57nYwgMr and http://ix.io/Zm

Anonymous comment on 2010-07-25 02:44

What i'm doing wrong?

./FindNumDevices
Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.696
Use -? for help
CAL initialized.
Finding out number of devices :-
Device Count = 1
CAL shutdown successful.

Press enter to exit...

./NBody
sh: /opt/amdstream/bin/x86/llc: No such file or directory

BUILD LOG
************************************************
Error: Compilation from LLVMIR binary to IL text failed!
************************************************
Error: clBuildProgram failed. Error code : CL_BUILD_PROGRAM_FAILURE

What's the problem?

kralyk commented on 2010-07-06 15:30

Yes I know about those env vars I just didn't find any reason why set them up... The SDK seemed to work just as fine.
I look into this and will possibly fix, if I have free time...

Anonymous comment on 2010-07-02 18:45

The /usr conflicts were PEBCAK. Ignore.

The other change I forgot to mention is to install a file in /etc/profile.d to set ATISTREAMSDKROOT and ATISTREAMSDKSAMPLEROOT, both to /opt/amdstream. This variable needs to be set according to the stream sdk installation instructions.

kralyk commented on 2010-07-01 20:01

mwc, what where the conflicts in /usr?

Anonymous comment on 2010-07-01 19:03

I had to fix up a few things in this PKGBUILD in order to make this work on my system (I use a 5770 for development).

1) Remove all the symlinks into /usr to fix conflicts
2) Install llc from this package into /opt/amdstream/bin/$_arch. If this isn't done, then the examples fail complaining that it's missing.
3) Since we aren't symlinking libs into /usr, we instead set up an ld.so.conf.d entry to add the SDK libs to the search path

Updated PKGBUILD here: http://aur.pastebin.com/57nYwgMr

maleadt commented on 2010-06-04 12:02

Having crashed my main computer, I can't test it right away, but I'll be sure have a go at it as possible. I've forced an install back then by removing the libatical dependency, which worked but obviously isn't a good solution. I've also seen an update of yaourt come along, so it might have been fixed already.

Thanks for your efforts in providing this package :)

kralyk commented on 2010-06-02 13:15

Hi,
I personally don't use yaourt, so I'm not sure if I'll be able to help.
Maybe this is because catalyst package doesn't specify the version of libatical it
provides. You can try to change the catalyst PKGBUILD like this:
provides = (... 'libatical=10.5' ...)
(version of libatical is the same as of the catalyst itself)

Please let me know whether this would work...

maleadt commented on 2010-05-27 17:09

Weird issue: although I've got catalyst 10.5 installed (which provides libatical >= 10.4), yaourt attempts to install libatical (and fails) when installing amdstream's dependencies...

==> Install or build missing dependencies for amdstream:
==> Building and installing package

==> amdstream dependencies:
- libatical (package that provides libatical already installed)
- libgl (package that provides libgl already installed)
- llvm (package that provides llvm already installed)
- gcc-libs (already installed)
- mesa (already installed)
- perl (already installed)
- llvm (package that provides llvm already installed)
==> Making package: amdstream 2.1-1 x86_64 (do mei 27 19:06:44 CEST 2010)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
libatical>=10.4 package not found, searching for group...
error: 'libatical>=10.4': not found in sync db
==> ERROR: Pacman failed to install missing dependencies.
Error: Makepkg was unable to build amdstream package.

kralyk commented on 2010-05-20 00:22

Ok, the package is now updated.
Thank you a lot for your help, cast1c, I have added you to Contributor field, hope you don't mind :)
The SDK once again works for me [on x86_64].
Please feel free to test further.

Please also note that amdstream is now dependant on the official LLVM package,
so that we can avoid the conflict.

Anonymous comment on 2010-05-19 19:37

Whoops, you are right. I accidently still had LD_LIBRARY_PATH set to a location where the whole SDK was unpacked.
All files in /opt/amdstream/lib/<arch> except for libGLEW.so and libglut.so need to be symlinked to /usr/lib.
A PKGBUILD including these changes can be found here: http://ix.io/Zm
It is again tested on i686 only.

kralyk commented on 2010-05-18 18:49

Thanks for your efforts caust1c, but there is still some problem.
I have already tried copying those files in /etc/OpenCL/vendors, I still cannot run OpenCL programs though.
Have tried running CLInfo? (samples/opencl/bin/<platform>/CLInfo)

Anonymous comment on 2010-05-18 18:37

OpenCL stores icd registration files differently now.
I changed the PKGBUILD accordingly. The updated version can be found here: http://ix.io/Z9
I have tested it successfully for i686, i didn't test it for x86_64 though. md5sums are updated for x86_64 as well

kralyk commented on 2010-05-07 20:07

Sorry guys it's taking so much time but I'm having some troubles getting the new version to work properly.
I'll do my best to update as soon as possible...

kralyk commented on 2010-05-06 23:19

Sorry guy it's taking so much time but I'm having some troubles getting the new version to work properly.
I'll do my best to update as soon as possible...

kralyk commented on 2010-05-03 17:22

Thanks for noticing me about new version. Will be updated shortly.

kralyk commented on 2010-04-12 16:12

Hey. Thanks for your comments and sorry for late answer.
The package has been updated.
So far, it conflicts with llvm. But I'm thinking of updating it to require llvm, as it would enable users to have both llvm and amdstream.

kralyk commented on 2010-04-12 16:11

Hey. Thanks for your coments and sorry for late answer.
The package has been updated.
So far, it conflicts with llvm. But I'm thinking of updating it to require llvm, as it would enable users to have both llvm and amdstream.

ptb commented on 2010-04-09 20:24

Building fails if make is parallelized using -j e.g. -j5.
Removing the -j option from the MAKEFLAGS in /etc/makepkg.conf or changing the "make || return 1" line to "make -j1 || return 1" fixed the problem for me.

Huulivoide commented on 2010-04-05 12:24

conflicts whit the llvm package /usr/bin/llc

Huulivoide commented on 2010-04-05 12:20

http://aur.pastebin.com/4MnPCEPy some build error whne building the samples

kralyk commented on 2010-03-25 14:57

See forum topic for more info & feedback: http://bbs.archlinux.org/viewtopic.php?id=93822

kralyk commented on 2010-03-25 12:43

Ok, fixed, hope everything is OK now.
Note that you can use amdstream without Catalyst. However, CAL programs can only be compiled but cannot run without catalyst.
OpenCL will compile and run on CPU without Catalyst. To run on GPU, OpneCL needs OpenCL GPU driver such as Catalyst.
Amdstream should work even on machines with Nvidia graphics and drivers, as Nvidia drivers should provide OpenCL execution platform, but there is no way I could test this.

Enjoy

kralyk commented on 2010-03-25 12:43

Ok, fixed, hope everything is OK now.
Note that you can use amdstream without Catalyst. However, CAL programs can only be compiled but cannot run without catalyst.
OpenCL will compile and run on CPU without Catalyst. To run on GPU, OpneCL needs OpenCL GPU driver such as Catalyst.
Amdstream should work even on machines with Nvidia graphics and drivers, as Nvidia drivers should provide OpenCL execution platform, but there is no way I could test this.

Enjoy

kralyk commented on 2010-03-25 11:39

Ok, fixed, hope everything is OK now.
Note that you can use amdstream without Catalyst. However, CAL programs can only be compiled but cannot run without catalyst.
OpenCL will compile and run on CPU without Catalyst. To run on GPU, OpneCL needs OpenCL GPU driver such as Catalyst.
Amdstream should work even on machines with Nvidia graphics and drivers, as Nvidia drivers should provide OpenCL execution platform, but there is no way I could test this.

Enjoy

kralyk commented on 2010-03-24 18:29

Oh, there is a bug.
The lib invokes the cl compiler with a full and unfortunately wrong path..
Will try to fix this.

kralyk commented on 2010-03-24 18:29

Oh, there is a bug.
The lib invokes the cl compiler with a full and unfortunately wrong path..
Will try to fix this.

kralyk commented on 2010-03-24 12:04

Oh, there is a bug.
The lib invokes the cl compiler with a full and unfortunately wrong path..
Will try to fix this.

kralyk commented on 2010-03-24 12:03

Oh, there is a bug.
The lib invokes the cl compiler with a full path, which is not good...
Will try to fix this.

kralyk commented on 2010-03-23 22:50

libatical will be provided shortly...