So I have "successfully" built and "installed" pycuda (latest from git) using 
the 64 bit guide for Windows 
(http://wiki.tiker.net/PyCuda/Installation/Windows) but have a couple of quirks 
to report and a problem preventing me from running.

Quirk 1.
Only got it to build once I built boost 1_39 64 bit from source due to 
weirdness of the precompiled installer from boostpro.  

Quirk 2.  
Received the following python setup.py install warnings despite a "successful" 
install of the egg-info:
a. ImportError: <module setuptools.dist' from ... has no 'check_packages' 
attribute
b. ***Error occurred in plausibility checking for path of CUDA toolkit
c. C:\Python26\lib\distutils\dist.py:266: UserWarning: Unknown distribution 
option: 'install_requires' warnings.warn(msg)

Quirk 3.
Post install the PyCuda C Headers did not get installed in a directory 
compiler.py recognized so I manually put the path to /src/cuda in 
_find_pycuda_include_path() in compiler.py in order to get things going.  

When running tests:

I get the error when running test_driver.py in call_capture_output() in 
prefork.py line 196/line 53:
ExecError:error invoking 'nvcc --cubin -arch sm_11 -IC:\pycuda\src\cuda 
kernel.cu': status -1 invoking 'nvcc -cubin -arch sm_11 -IC:\pycuda\src\cuda 
kernel.cu': nvcc faral : Visual Studio configuration file '(null)' could not be 
found for installation at 'C:Program Files (x86)\Microsoft Visual Studio 
9.0\VC\bin/../..'

This error also occurs for demo.py


Below are the tools

Configuration:

Vista 64-bit
Python 2.6.4 64 bit
Modules installed:
Numpy, setuptools installed from binaries from 
http://www.lfd.uci.edu/~gohlke/pythonlibs/
py, pytools installed using setup.py from source
Boost 1.39 compiled from source

Visual Studio 2008 (MSVC 9.0) for x64

Path: 
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64
C:\CUDA\bin64
C:\CUDA\bin64
C:\boost\boost_1_39\stage\lib
C:\pycuda\src\cuda
C:\Python26
C:\Python26\DLLs
Environment var: HOME = 123456

Setupconf.py
BOOST_INC_DIR = [r'C:\boost\boost_1_39']
BOOST_LIB_DIR = [r'C:\boost\boost_1_39\stage\lib']
BOOST_COMPILER = 'msvc'
BOOST_PYTHON_LIBNAME = ['boost_python-vc90-mt-1_39']
BOOST_THREAD_LIBNAME = ['boost_thread-vc90-mt-1_39']
CUDA_TRACE = False
CUDA_ROOT = [r'C:\CUDA']
CUDA_ENABLE_GL = False
CUDADRV_LIB_DIR = [r'C:\CUDA\lib64']
CUDA_INC_DIR = [r'C:\CUDA\include']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = ['/EHsc']
LDFLAGS = ['/FORCE']


_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to