For the first time in several years, I did a fresh install on this machine and I am in the process of getting all the tweaks back in place.
Part of that process is assuring that wine's configure script has all the pieces it can use. I have found almost everything. What I am missing is OpenCL (that is C as in Charles). I see stuff for Apple, but not for Fedora.i386 (cpu is intel.core2 and an Nvidia card).
Search results are inconclusive - I checked the first five pages and found nothing specifically about .rpm files.
Where can I get an .rpm or tarball that contains a usable OpenCL implementation for Fedora 14?
Max
On 1/20/11 8:28 AM, Max TenEyck Woodbury wrote:
Where can I get an .rpm or tarball that contains a usable OpenCL implementation for Fedora 14?
What are you asking us for? We don't know! :)
Seriously, this is a question for the Fedora folks. They're the ones you should be asking, not us. (Over on wine-users, people ask "where can I find package X?" all the time, and the answer is inevitably "ask your distro.")
Chip
On 1/20/11 8:28 AM, Max TenEyck Woodbury wrote:
For the first time in several years, I did a fresh install on this machine and I am in the process of getting all the tweaks back in place.
The question is "Is there OpenCL" for Fedora? The only people who can answer this question are the Fedora Developers and Users. There is a wonderful Fedora Users Mailing list where this question would be more appropriate. Ask there (and I lurk there as well.)
James McKenzie
I've never used fedora but my playing around with opencl in gentoo the libonpencl.so only can come from two sources, the nvidia driver or the ati stream sdk. So you might want to look at the binary driver for nvidia. That's my only guess.
-Seth On Jan 20, 2011 10:34 AM, "Max TenEyck Woodbury" max@mtew.isa-geek.net wrote:
For the first time in several years, I did a fresh install on this machine and I am in the process of getting all the tweaks back in place.
Part of that process is assuring that wine's configure script has all the pieces it can use. I have found almost everything. What I am missing is OpenCL (that is C as in Charles). I see stuff for Apple, but not for Fedora.i386 (cpu is intel.core2 and an Nvidia card).
Search results are inconclusive - I checked the first five pages and found nothing specifically about .rpm files.
Where can I get an .rpm or tarball that contains a usable OpenCL implementation for Fedora 14?
Max
But it is not an RPM or tarball. It's in their 'cudatoolkit'.
Umm, guys, the pointer to the fedora list isn't helpful. Someone here is going to know much more about where to get that package than J. Random Joe over on the Fedora lists since someone here obviously coded the requirement for it into 'configure'.
Max
On 1/20/11 5:20 PM, Max TenEyck Woodbury wrote:
But it is not an RPM or tarball. It's in their 'cudatoolkit'.
Umm, guys, the pointer to the fedora list isn't helpful. Someone here is going to know much more about where to get that package than J. Random Joe over on the Fedora lists since someone here obviously coded the requirement for it into 'configure'.
Max:
As far as I knew from information I gathered here, the only OS that supports OpenCL was MacOSX. Sorry for the misleading information.
James McKenzie
On 21/01/11 13:21, James McKenzie wrote:
As far as I knew from information I gathered here, the only OS that supports OpenCL was MacOSX. Sorry for the misleading information.
I developed wine OpenCL support under Gentoo, using the Gentoo provided NVidia drivers and NVidia CUDA packages. I'm not sure if anyone got it working on OSX.
You should be able to:
1. Install the NVidia drivers 2. Install NVidia CUDA/OpenCL SDK 3. Make a link /usr/include/CL -> /opt/cuda/include/CL (or wherever you installed the SDK)
After that, configure should find OpenCL and use it.
If you want RPMs or other distro specific packages, hassle your distribution maintainers. (Or switch to Gentoo ;-)
Both AMD and Intel also have OpenCL implementations/SDKs available. Their distro support varies.
Best regards,
Peter Urbanec
The latest closed source nvidia drivers from the rpmfusion repository include openCL support. You'll also have to have the -devel I have found, though, that I have to explicitly tell the wine build system where it is. A simple
export LDFLAGS="-L /usr/lib/nvidia -L /usr/lib64/nvidia/"
seems to do the trick for me. (Of course, being i686, you'll want just "-L /usr/lib/nvidia" ). Not sure why this is the case, ld seems to be set up with all the information...
But wait, there's more!
For some obscure reason known only to themselves, there is no cl.h included in the rpmfusion -devel package. To get that, you have to manually install CUDA support from nvidia. From http://developer.nvidia.com/object/cuda_3_2_downloads.html#Linux what you want to download is the "CUDA Toolkit for Fedora 13[1]" (don't worry, it works fine!)
Run this as root from a console: sudo sh cudatoolkit_3.2.16_linux_32_fedora13.run And follow the prompts. (Just accept all the defaults).
Finally, for completeness, create a file in /etc/ld.so.conf.d/ called cuda.conf with the contents For i686: /usr/local/cuda/lib For x86_64: /usr/local/cuda/lib64 /usr/local/cuda/lib
And there you go! OpenCL support in Wine. Hopefully, it'll get easier.
Nick
[1] http://www.nvidia.com/object/thankyou.html?url=/compute/cuda/3_2_prod/toolki...
On 01/20/2011 11:28 PM, Max TenEyck Woodbury wrote:
For the first time in several years, I did a fresh install on this machine and I am in the process of getting all the tweaks back in place.
Part of that process is assuring that wine's configure script has all the pieces it can use. I have found almost everything. What I am missing is OpenCL (that is C as in Charles). I see stuff for Apple, but not for Fedora.i386 (cpu is intel.core2 and an Nvidia card).
Search results are inconclusive - I checked the first five pages and found nothing specifically about .rpm files.
Where can I get an .rpm or tarball that contains a usable OpenCL implementation for Fedora 14?
Max
On 01/21/2011 09:48 AM, Nicholas van Oudtshoorn wrote:
The latest closed source nvidia drivers from the rpmfusion repository include openCL support. You'll also have to have the -devel I have found, though, that I have to explicitly tell the wine build system where it is. A simple
export LDFLAGS="-L /usr/lib/nvidia -L /usr/lib64/nvidia/"
seems to do the trick for me. (Of course, being i686, you'll want just "-L /usr/lib/nvidia" ). Not sure why this is the case, ld seems to be set up with all the information...
But wait, there's more!
For some obscure reason known only to themselves, there is no cl.h included in the rpmfusion -devel package. To get that, you have to manually install CUDA support from nvidia. From http://developer.nvidia.com/object/cuda_3_2_downloads.html#Linux what you want to download is the "CUDA Toolkit for Fedora 13[1]" (don't worry, it works fine!)
Run this as root from a console: sudo sh cudatoolkit_3.2.16_linux_32_fedora13.run And follow the prompts. (Just accept all the defaults).
Finally, for completeness, create a file in /etc/ld.so.conf.d/ called cuda.conf with the contents For i686: /usr/local/cuda/lib For x86_64: /usr/local/cuda/lib64 /usr/local/cuda/lib
And there you go! OpenCL support in Wine. Hopefully, it'll get easier.
Nick
Just noticed that the nvidia cuda libraries are being worked on over at rpmfusion [1], so maybe this process will get easier sometime soon...
Nick