Windows XP Installation:
Installation of PyOpenCL is similar to installation of PyCUDA, with some obvious modifications.
The following were installed prior to installing PyOpenCL:
ATI Stream SDK v2 Beta or Nvidia's OpenCL GPU driver and OpenCL SDK
Numpy 1.3 and SciPy 0.7.1 (not sure if SciPy is really needed)
Boost 1.39 precompiled version (Multithreaded DLLs and libraries, compiled against MSVC 9.0, including DateTime, Python and Thread)
- Python setuptools 0.6c9 (installation from egg requires ez_setup.py from source; google for more info)
Run "python configure.py" in the pyopencl directory to get a sample siteconfig.py, then edit as appropriate. Here's my edited siteconfig.py:
BOOST_INC_DIR = [r'C:\Program Files\boost\boost_1_39'] BOOST_LIB_DIR = [r'C:\Program Files\boost\boost_1_39\lib'] BOOST_COMPILER = 'msvc' BOOST_PYTHON_LIBNAME = ['boost_python-vc90-mt-1_39'] BOOST_THREAD_LIBNAME = ['boost_thread-vc90-mt-1_39'] CL_TRACE = False SHIPPED_CL_HEADERS = False CL_INC_DIR = [r'C:\Program Files\ATI Stream\include'] CL_LIB_DIR = [r'C:\Program Files\ATI Stream\lib\x86'] CL_LIBNAME = ['OpenCL'] CXXFLAGS = ['/EHsc', '/DBOOST_PYTHON_NO_PY_SIGNATURES'] LDFLAGS = ['/FORCE']
Then run "python setup.py install" in the pyopencl directory.
After driver installation, copy all boost dlls into windows/system32 directory or add the path to it. You minimally need boost_python-vc90-mt-1_39.dll and boost_thread-vc90-mt-1_39.dll.
Finally, add a HOME environment variable in Windows: it doesn't matter what it is, so you can make it "123456" or your My Documents directory, etc.
A user was kind enough to supply a PDF installation manual, which might be of help.
