|
Hello, I'm a bit desesperate. I tried to install pyopencl in my wheezy machine, but I'm simply unable. I have installed the latest NV Driver (I have an NV9400m, which is OpenCL compatible) I have installed the CUDA toolkit I have installed python2.6/2.7 and numpy And I tried to install pyopencl in several ways 1) just using apt-get. Result = ImportError (dont remember exactly the error message) 2) wget & configure.py & make & make install: Result a) Using boost shipped version: Result = Compilation step failed. Error message: "gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DPYGPU_PACKAGE=pyopencl -DBOOST_PYTHON_SOURCE=1 -DPYOPENCL_USE_DEVICE_FISSION=1 -DPYGPU_PYOPENCL=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREAD_BUILD_DLL=1 -Dboost=pyopenclboost -DBOOST_ALL_NO_LIB=1 -Ibpl-subset/bpl_subset -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp -o build/temp.linux-x86_64-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/once.o In file included from bpl-subset/bpl_subset/boost/thread/detail/platform.hpp:17:0, from bpl-subset/bpl_subset/boost/thread/once.hpp:12, from bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:7: bpl-subset/bpl_subset/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS" In file included from bpl-subset/bpl_subset/boost/thread/once.hpp:12:0, from bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:7: bpl-subset/bpl_subset/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform." In file included from bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:7:0: bpl-subset/bpl_subset/boost/thread/once.hpp:18:2: error: #error "Boost threads unavailable on this platform" In file included from bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:7:0: bpl-subset/bpl_subset/boost/thread/once.hpp:25:42: error: variable or field ‘call_once’ declared void bpl-subset/bpl_subset/boost/thread/once.hpp:25:34: error: ‘func’ was not declared in this scope bpl-subset/bpl_subset/boost/thread/once.hpp:25:42: error: ‘once_flag’ was not declared in this scope bpl-subset/bpl_subset/boost/thread/once.hpp:25:53: error: ‘flag’ was not declared in this scope bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:16:9: error: ‘BOOST_THREAD_DECL’ does not name a type bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:17:9: error: ‘BOOST_THREAD_DECL’ does not name a type bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:18:9: error: ‘BOOST_THREAD_DECL’ does not name a type bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:39:9: error: ‘uintmax_t’ in namespace ‘pyopenclboost’ does not name a type bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:23:28: warning: ‘pyopenclboost::detail::{anonymous}::epoch_tss_key_flag’ defined but not used [-Wunused-variable] bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp:32:29: warning: ‘void pyopenclboost::detail::{anonymous}::create_epoch_tss_key()’ defined but not used [-Wunused-function] error: command 'gcc' failed with exit status 1 make: *** [all] Error 1" b) Using system's boost version: Result = "import pyopencl._cl as _cl ImportError: /usr/local/lib/python2.7/dist-packages/pyopencl-2012.1-py2.7-linux-x86_64.egg/pyopencl/_cl.so: undefined symbol: clCreateSubDevices" 3) using easy_install. Same than 2-a) I tried everything I could, but I simply can't get pyopencl work on this machine :( Any help would be appreciated. Jacobo. |
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
