Re: [PyOpenCL] ImportError: No module named compyte.array

2016-11-15 Thread Benson Muite
Hi,

Also trying this, but need to modify your setup appropriately for
computer am using.

Benson

On 11/7/16 11:42 PM, Marmaduke Woodman wrote:
> Benson,
>
> On the PoCL list I linked to a CMake script which builds dependencies,
> PoCL & pyopencl from scratch. Did you try that?
>
> https://github.com/maedoc/pocl-build/blob/master/CMakeLists.txt
>
> cheers,
> Marmaduke
>
> On Wed, Nov 2, 2016 at 10:43 PM, Benson Muite  > wrote:
>
> Hi,
>
> Am installing PyopenCl on linux. The current versions do not seem
> to have compyte, and wiki documentation seems not to have this
> (https://wiki.tiker.net/PyOpenCL/Installation/Linux). One possible
> solution to get compyte may be something like:
>
> wget https://github.com/pyopencl/pyopencl/archive/v2015.2.4.tar.gz
> tar xfz v2015.2.4.tar.gz
> cd pyopencl-2015.2.4
>
> # Download OpenCL 2.1 headers
> mkdir -p include/CL
> cd include/CL
> wget
> 
> https://raw.githubusercontent.com/KhronosGroup/OpenCL-Headers/opencl21/{opencl,cl_platform,cl,cl_ext,cl_gl,cl_gl_ext}.h
>
> cd ../..
> cd pyopencl
> rm -r compyte
> git clone https://github.com/inducer/compyte
> cd .. 59,1  71%
>
>
> ___
> PyOpenCL mailing list
> PyOpenCL@tiker.net 
> https://lists.tiker.net/listinfo/pyopencl
>
>

___
PyOpenCL mailing list
PyOpenCL@tiker.net
https://lists.tiker.net/listinfo/pyopencl


Re: [PyOpenCL] ImportError: No module named compyte.array

2016-11-15 Thread Marmaduke Woodman
Benson,

On the PoCL list I linked to a CMake script which builds dependencies, PoCL
& pyopencl from scratch. Did you try that?

https://github.com/maedoc/pocl-build/blob/master/CMakeLists.txt

cheers,
Marmaduke

On Wed, Nov 2, 2016 at 10:43 PM, Benson Muite 
wrote:

> Hi,
>
> Am installing PyopenCl on linux. The current versions do not seem to have
> compyte, and wiki documentation seems not to have this (
> https://wiki.tiker.net/PyOpenCL/Installation/Linux). One possible
> solution to get compyte may be something like:
>
> wget https://github.com/pyopencl/pyopencl/archive/v2015.2.4.tar.gz
> tar xfz v2015.2.4.tar.gz
> cd pyopencl-2015.2.4
>
> # Download OpenCL 2.1 headers
> mkdir -p include/CL
> cd include/CL
> wget https://raw.githubusercontent.com/KhronosGroup/OpenCL-Header
> s/opencl21/{opencl,cl_platform,cl,cl_ext,cl_gl,cl_gl_ext}.h
>
> cd ../..
> cd pyopencl
> rm -r compyte
> git clone https://github.com/inducer/compyte
> cd .. 59,1  71%
>
>
> ___
> PyOpenCL mailing list
> PyOpenCL@tiker.net
> https://lists.tiker.net/listinfo/pyopencl
>
___
PyOpenCL mailing list
PyOpenCL@tiker.net
https://lists.tiker.net/listinfo/pyopencl


Re: [PyOpenCL] ImportError: No module named compyte.array

2016-11-02 Thread Andreas Kloeckner
Benson Muite  writes:

> Hi,
>
> Am installing PyopenCl on linux. The current versions do not seem to 
> have compyte, and wiki documentation seems not to have this 
> (https://wiki.tiker.net/PyOpenCL/Installation/Linux). One possible 
> solution to get compyte may be something like:
>
> wget https://github.com/pyopencl/pyopencl/archive/v2015.2.4.tar.gz
> tar xfz v2015.2.4.tar.gz
> cd pyopencl-2015.2.4

Don't use the github tarballs. Github makes them 'automatically',
they're broken, and I can't turn them off. :| I've complained, but they
haven't budged.

Get your downloads from the package index instead:
https://pypi.python.org/pypi/pyopencl

Andreas

___
PyOpenCL mailing list
PyOpenCL@tiker.net
https://lists.tiker.net/listinfo/pyopencl


[PyOpenCL] ImportError: No module named compyte.array

2016-11-02 Thread Benson Muite

Hi,

Am installing PyopenCl on linux. The current versions do not seem to 
have compyte, and wiki documentation seems not to have this 
(https://wiki.tiker.net/PyOpenCL/Installation/Linux). One possible 
solution to get compyte may be something like:


wget https://github.com/pyopencl/pyopencl/archive/v2015.2.4.tar.gz
tar xfz v2015.2.4.tar.gz
cd pyopencl-2015.2.4

# Download OpenCL 2.1 headers
mkdir -p include/CL
cd include/CL
wget 
https://raw.githubusercontent.com/KhronosGroup/OpenCL-Headers/opencl21/{opencl,cl_platform,cl,cl_ext,cl_gl,cl_gl_ext}.h


cd ../..
cd pyopencl
rm -r compyte
git clone https://github.com/inducer/compyte
cd .. 59,1  71%


___
PyOpenCL mailing list
PyOpenCL@tiker.net
https://lists.tiker.net/listinfo/pyopencl