[PyCUDA] Issue running test cases on Windows Vista 64 bit

2010-03-11 Thread Conway, Nicholas J
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


Re: [PyCUDA] Issue running test cases on Windows Vista 64 bit

2010-03-11 Thread Conway, Nicholas J
Installed distribute instead of setuptools and that fixed the quirks during 
installation, but did not fix the problem when running the test.

This made sure pycuda was properly installed in the site-packages directory.

I update my paths, and tried restricting the path for cl.exe to VC\bin\amd64

But I got this:

Exec:Error: error invoking 'nvcc --cubin -arch sm_11 
-IC:\Python26\lib\site-packages\pycudabeta-py2.6-win-amd64.egg\pycuda\..\include\pycuda
 kernel.cu': status -1 invoking 'nvcc --cubin -arch sm_11 
-IC:\Python26\lib\site-packages\pycuda-0.94beta-py2.6-win-amd64.egg\pycuda\..\includde\pycuda
 kernel.cu': nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 
8.0 and MSVC 9.0 are supported


Here's my path:
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

-Original Message-
From: pycuda-boun...@tiker.net [mailto:pycuda-boun...@tiker.net] On Behalf Of 
Conway, Nicholas J
Sent: Thursday, March 11, 2010 12:05 PM
To: pycuda@tiker.net
Subject: [PyCUDA] Issue running test cases on Windows Vista 64 bit

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

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


Re: [PyCUDA] Issue running test cases on Windows Vista 64 bit

2010-03-11 Thread Andreas Klöckner
On Donnerstag 11 März 2010, Conway, Nicholas J wrote:
 Installed distribute instead of setuptools and that fixed the quirks during
  installation, but did not fix the problem when running the test.
 
 This made sure pycuda was properly installed in the site-packages
  directory.
 
 I update my paths, and tried restricting the path for cl.exe to
  VC\bin\amd64
 
 But I got this:
 
 Exec:Error: error invoking 'nvcc --cubin -arch sm_11
  -IC:\Python26\lib\site-packages\pycudabeta-py2.6-win-amd64.egg\pycuda\..\i
 nclude\pycuda kernel.cu': status -1 invoking 'nvcc --cubin -arch sm_11
  -IC:\Python26\lib\site-packages\pycuda-0.94beta-py2.6-win-amd64.egg\pycuda
 \..\includde\pycuda kernel.cu': nvcc fatal : nvcc cannot find a supported
  cl version. Only MSVC 8.0 and MSVC 9.0 are supported


Does this here help?
http://forums.nvidia.com/index.php?showtopic=73711st=0p=418880#entry418880

Andreas


signature.asc
Description: This is a digitally signed message part.
___
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net


Re: [PyCUDA] Issue running test cases on Windows Vista 64 bit

2010-03-11 Thread Conway, Nicholas J
I have tried explicitly editing the nvcc.profile file but this doesn't seem to 
make a difference.  

compiler-bindir = C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\bin\amd64
and added
 
INCLUDES +=  -I$(TOP)/include -I$(TOP)/include/cudart -IC:/Program Files 
(x86)/Microsoft Visual Studio 9.0/VC/include $(_SPACE_)

Also tried CUDA 3.0 beta with the luck that it ran and crashes python during 
test_driver.py   


-Nick

-Original Message-
From: Andreas Klöckner [mailto:li...@informa.tiker.net] 
Sent: Thursday, March 11, 2010 4:47 PM
To: pycuda@tiker.net
Cc: Conway, Nicholas J
Subject: Re: [PyCUDA] Issue running test cases on Windows Vista 64 bit

On Donnerstag 11 März 2010, Conway, Nicholas J wrote:
 Installed distribute instead of setuptools and that fixed the quirks 
 during  installation, but did not fix the problem when running the test.
 
 This made sure pycuda was properly installed in the site-packages  
 directory.
 
 I update my paths, and tried restricting the path for cl.exe to
  VC\bin\amd64
 
 But I got this:
 
 Exec:Error: error invoking 'nvcc --cubin -arch sm_11  
 -IC:\Python26\lib\site-packages\pycudabeta-py2.6-win-amd64.egg\pycuda\
 ..\i nclude\pycuda kernel.cu': status -1 invoking 'nvcc --cubin -arch 
 sm_11  
 -IC:\Python26\lib\site-packages\pycuda-0.94beta-py2.6-win-amd64.egg\py
 cuda \..\includde\pycuda kernel.cu': nvcc fatal : nvcc cannot find a 
 supported  cl version. Only MSVC 8.0 and MSVC 9.0 are supported


Does this here help?
http://forums.nvidia.com/index.php?showtopic=73711st=0p=418880#entry418880

Andreas

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


Re: [PyCUDA] Issue running test cases on Windows Vista 64 bit

2010-03-11 Thread Andreas Klöckner
On Donnerstag 11 März 2010, Conway, Nicholas J wrote:
 Also tried CUDA 3.0 beta with the luck that it ran and crashes python
  during test_driver.py   
 

Did you recompile PyCUDA? Unfortunately, you need to delete the 'build'
directory to be able to rebuild from scratch--distutils is unaware of
dependency changes.

HTH,
Andreas



signature.asc
Description: This is a digitally signed message part.
___
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net