Differences between revisions 2 and 3
Revision 2 as of 2012-09-26 20:46:23
Size: 1503
Editor: ip-89-161-27-60
Comment: Describe situation in Debian Wheezy - stable-to-be
Revision 3 as of 2013-01-02 01:08:42
Size: 1504
Editor: 108-222-68-224
Comment:
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
''contrib''section, intended for free packages depending on non-free ones. ''contrib'' section, intended for free packages depending on non-free ones.

Since 2010-07-13 PyOpenCL is available in Debian. To install PyOpenCL you need to enable contrib and non-free sections in /etc/apt/sources.list:

deb ftp://ftp.MIRROR.debian.org/debian/ unstable main contrib non-free
deb-src ftp://ftp.MIRROR.debian.org/debian/ unstable main contrib non-free

(replace MIRROR with your country code).

Wheezy

Wheezy (Debian version 7.0) should become Debian stable in late 2012. It contains PyOpenCL packages for Python 2 (python-pyopencl) and for Python 3 (python3-pyopencl). Wheezy contains two OpenCL implementations:

  • AMD/ATI amd-opencl-icd
  • NVIDIA nvidia-opencl-icd

and you should chose one depending on your graphical hardware. amd-libopencl1 allows for running OpenCL kernels on CPU, not only on GPU, so you can install it even if your GPU does not not support OpenCL.

There are three ICD loaders available in Wheezy:

  • ocl-icd-libopencl1
  • amd-libopencl1
  • nvidia-libopencl1

The first one is free software (BSD licence) and I advise you to use it - it supports different OpenCL implementations and gives the least problems.

Squeeze

The only available OpenCL implementation in Debian Squeeze (6.0) is one provided with NVIDIA drivers, so PyOpenCL depends on nvidia-libopencl1, nvidia-opencl-common, and nvidia-opencl-icd. As those are non-free packages, python-pyopencl is placed in the

contrib section, intended for free packages depending on non-free ones.


CategoryPyOpenCl CategoryPyOpenCl

PyOpenCL/Installation/Linux/Debian (last edited 2013-01-02 01:08:42 by 108-222-68-224)