Announcement

Collapse
No announcement yet.

Not working in last suite 3.4 pyopencl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Not working in last suite 3.4 pyopencl

    Hi all !

    It's a clone of another post but I don't understand why the system doesn't post my thread...
    even if it seems regular

    I was guessing a way to test my linux rig with that test, even if I have already a version of pyopencl installed on it
    (both 0.92 and last one 2011.1.2 seems working)

    but when it comes to the version used by your test i have...

    pyopencl-0.91.3

    and if you look at install.log

    Code:
    pyopencl-0.91.3/
    pyopencl-0.91.3/doc/
    pyopencl-0.91.3/doc/source/
    pyopencl-0.91.3/doc/source/conf.py
    pyopencl-0.91.3/doc/source/index.rst
    pyopencl-0.91.3/doc/source/misc.rst
    pyopencl-0.91.3/doc/source/reference.rst
    pyopencl-0.91.3/doc/Makefile
    pyopencl-0.91.3/examples/
    pyopencl-0.91.3/examples/benchmark-all.py
    pyopencl-0.91.3/examples/demo.py
    pyopencl-0.91.3/examples/dump-properties.py
    pyopencl-0.91.3/examples/narray.py
    pyopencl-0.91.3/examples/transpose.py
    pyopencl-0.91.3/pyopencl/
    pyopencl-0.91.3/pyopencl/__init__.py
    pyopencl-0.91.3/pyopencl/version.py
    pyopencl-0.91.3/pyopencl.egg-info/
    pyopencl-0.91.3/pyopencl.egg-info/PKG-INFO
    pyopencl-0.91.3/pyopencl.egg-info/SOURCES.txt
    pyopencl-0.91.3/pyopencl.egg-info/dependency_links.txt
    pyopencl-0.91.3/pyopencl.egg-info/not-zip-safe
    pyopencl-0.91.3/pyopencl.egg-info/requires.txt
    pyopencl-0.91.3/pyopencl.egg-info/top_level.txt
    pyopencl-0.91.3/src/
    pyopencl-0.91.3/src/wrapper/
    pyopencl-0.91.3/src/wrapper/numpy_init.hpp
    pyopencl-0.91.3/src/wrapper/wrap_cl.cpp
    pyopencl-0.91.3/src/wrapper/wrap_cl.hpp
    pyopencl-0.91.3/src/wrapper/wrap_helpers.hpp
    pyopencl-0.91.3/test/
    pyopencl-0.91.3/test/test_wrapper.py
    pyopencl-0.91.3/MANIFEST.in
    pyopencl-0.91.3/Makefile.in
    pyopencl-0.91.3/README
    pyopencl-0.91.3/README_SETUP.txt
    pyopencl-0.91.3/aksetup_helper.py
    pyopencl-0.91.3/configure.py
    pyopencl-0.91.3/ez_setup.py
    pyopencl-0.91.3/setup.py
    pyopencl-0.91.3/PKG-INFO
    pyopencl-0.91.3/setup.cfg
    transpose.py
    ctags -R src || true
    /usr/bin/python setup.py build
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/pyopencl
    copying pyopencl/version.py -> build/lib.linux-x86_64-2.7/pyopencl
    copying pyopencl/__init__.py -> build/lib.linux-x86_64-2.7/pyopencl
    running build_ext
    building '_cl' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/src
    creating build/temp.linux-x86_64-2.7/src/wrapper
    gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -Isrc/cpp -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wra
    pper/wrap_cl.cpp -o build/temp.linux-x86_64-2.7/src/wrapper/wrap_cl.o
    In file included from src/wrapper/wrap_cl.cpp:1:0:
    src/wrapper/wrap_cl.hpp: In member function 'cl_command_queue_properties pyopencl::command_queue::set_property(cl_command_queue_properties, bool)':
    src/wrapper/wrap_cl.hpp:796:9: error: 'clSetCommandQueueProperty' was not declared in this scope
    src/wrapper/wrap_cl.cpp: In function 'void init_module__cl()':
    src/wrapper/wrap_cl.cpp:83:5: warning: deprecated conversion from string constant to 'char*'
    src/wrapper/wrap_cl.cpp:87:5: warning: deprecated conversion from string constant to 'char*'
    src/wrapper/wrap_cl.cpp:88:5: warning: deprecated conversion from string constant to 'char*'
    src/wrapper/wrap_cl.cpp:89:5: warning: deprecated conversion from string constant to 'char*'
    error: command 'gcc' failed with exit status 1
    make: *** [all] Error 1

    Since I'm new to your suite, I don't know which is the best approach....

    try to resolve 0.91.3 compiling errors

    or try to use my already working versions ?

    In the latter case I have no idea to tell to your test to use the already installed personal local version
    instead of the one that comes bundeled with it

    or how to recompile the module pts/pyopencl itself

    (i have checked your pdf but miss the part of how to create a personal test from scratch)

    Thanks a lot to everyone
Working...
X