Andreas,
Ok - I gave it a shot. Here's the feedback I got when trying to install
pycuda. I'm not sure what the plausability checking looks for.
**************************************************************************************************************
(ENV) c:\Users\mat\pycuda>python setup.py install
('bpl-subset/bpl_subset', '/boost/', '', 'python', '.hpp')
*** Error occurred in plausibility checking for path of Boost Python library.
*** Error occurred in plausibility checking for path of Boost Thread library.
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2', '/bin/', '', 'nvcc',
'')
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2', '/bin/', '', 'nvcc',
'.exe')
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2\\include', '/', '', 'c
uda', '.h')
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2/lib/Win32', '/', 'lib'
, 'cuda', '.so')
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2/lib/Win32', '/', 'lib'
, 'cuda', '.dylib')
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2/lib/Win32', '/', 'lib'
, 'cuda', '.lib')
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2/lib/Win32', '/', '', '
cuda', '.so')
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2/lib/Win32', '/', '', '
cuda', '.dylib')
('C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2/lib/Win32', '/', '', '
cuda', '.lib')
running install
running bdist_egg
running egg_info
writing requirements to pycuda.egg-info\requires.txt
writing pycuda.egg-info\PKG-INFO
writing top-level names to pycuda.egg-info\top_level.txt
writing dependency_links to pycuda.egg-info\dependency_links.txt
writing requirements to pycuda.egg-info\requires.txt
writing pycuda.egg-info\PKG-INFO
writing top-level names to pycuda.egg-info\top_level.txt
writing dependency_links to pycuda.egg-info\dependency_links.txt
reading manifest file 'pycuda.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pycuda.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
running build_ext
building '_driver' extension
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
/MD /W3 /GS- /DNDEBUG -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION
=1 -DPYGPU_PACKAGE=pycuda -Isrc/cpp -Ibpl-subset/bpl_subset "-IC:/Program Files/
NVIDIA GPU Computing Toolkit/CUDA/v3.2\include" -IC:\Python26\ArcGIS10.0\lib\sit
e-packages\numpy\core\include -IC:\Python26\ArcGIS10.0\include -Ic:\Tischler\vir
tualenv-1.6\ENV\PC /Tpsrc/cpp/cuda.cpp /Fobuild\temp.win32-2.6\Release\src/cpp/c
uda.obj
cuda.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : war
ning C4530: C++ exception handler used, but unwind semantics are not enabled. Sp
ecify /EHsc
c:\users\mat\pycuda\src\cpp\cuda.hpp(1640) : warning C4146: unary minus operator
applied to unsigned type, result still unsigned
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
/MD /W3 /GS- /DNDEBUG -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION
=1 -DPYGPU_PACKAGE=pycuda -Isrc/cpp -Ibpl-subset/bpl_subset "-IC:/Program Files/
NVIDIA GPU Computing Toolkit/CUDA/v3.2\include" -IC:\Python26\ArcGIS10.0\lib\sit
e-packages\numpy\core\include -IC:\Python26\ArcGIS10.0\include -Ic:\Tischler\vir
tualenv-1.6\ENV\PC /Tpsrc/cpp/bitlog.cpp /Fobuild\temp.win32-2.6\Release\src/cpp
/bitlog.obj
bitlog.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
/MD /W3 /GS- /DNDEBUG -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION
=1 -DPYGPU_PACKAGE=pycuda -Isrc/cpp -Ibpl-subset/bpl_subset "-IC:/Program Files/
NVIDIA GPU Computing Toolkit/CUDA/v3.2\include" -IC:\Python26\ArcGIS10.0\lib\sit
e-packages\numpy\core\include -IC:\Python26\ArcGIS10.0\include -Ic:\Tischler\vir
tualenv-1.6\ENV\PC /Tpsrc/wrapper/wrap_cudadrv.cpp /Fobuild\temp.win32-2.6\Relea
se\src/wrapper/wrap_cudadrv.obj
wrap_cudadrv.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : war
ning C4530: C++ exception handler used, but unwind semantics are not enabled. Sp
ecify /EHsc
src/cpp\cuda.hpp(1640) : warning C4146: unary minus operator applied to unsigned
type, result still unsigned
src/wrapper/wrap_cudadrv.cpp(896) : error C2039: 'launch_kernel' : is not a memb
er of 'pycuda::function'
src/cpp\cuda.hpp(1180) : see declaration of 'pycuda::function'
src/wrapper/wrap_cudadrv.cpp(896) : error C2065: 'launch_kernel' : undeclared id
entifier
src/wrapper/wrap_cudadrv.cpp(896) : error C2228: left of '.def' must have class/
struct/union
src/wrapper/wrap_cudadrv.cpp(896) : error C2228: left of '.def' must have class/
struct/union
src/wrapper/wrap_cudadrv.cpp(896) : error C2228: left of '.def' must have class/
struct/union
src/wrapper/wrap_cudadrv.cpp(896) : error C2228: left of '.def' must have class/
struct/union
src/wrapper/wrap_cudadrv.cpp(896) : error C2228: left of '.def' must have class/
struct/union
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.ex
e"' failed with exit status 2
*******************************************************************************************************************************
my siteconf file looks like this:
BOOST_INC_DIR = []
BOOST_LIB_DIR = []
BOOST_COMPILER = 'msvc'
USE_SHIPPED_BOOST = True
BOOST_PYTHON_LIBNAME = ['boost_python-gcc43-mt']
BOOST_THREAD_LIBNAME = ['boost_thread-gcc43-mt']
CUDA_TRACE = False
CUDA_ENABLE_GL = False
CUDA_ROOT = 'C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2'
CUDADRV_LIB_DIR = ['C:/Program Files/NVIDIA GPU Computing
Toolkit/CUDA/v3.2/lib/Win32']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = []
LDFLAGS = []
I tested again with the /EHsc CXXFLAGS in the siteconf file, but I still
received most of the same errors.
thanks,
Mike
________________________________
From: Andreas Kloeckner <[email protected]>
To: Mike Tischler <[email protected]>; "[email protected]"
<[email protected]>
Sent: Tuesday, April 26, 2011 11:41 PM
Subject: Re: [PyCUDA] Install - missing boost files Windows Server 2008 64bit
On Tue, 26 Apr 2011 12:04:49 -0700 (PDT), Mike Tischler
<[email protected]> wrote:
> Andreas,
> Sorry for the delay in responding.
>
> I'm able to get the latest git using commands through the GIT bash
> shell. I'm also able to use and activate virtualenv through a
> traditional command prompt. But, I'm not sure how to configure pycuda
> to build from the bpl-subset instead of an external boost source.
> What do you specify for the missing entries in the siteconf.py file
> below:
>
>
> BOOST_INC_DIR = []
> BOOST_LIB_DIR = []
> BOOST_COMPILER = 'msvc9'
> USE_SHIPPED_BOOST = True
> BOOST_PYTHON_LIBNAME = []
> BOOST_THREAD_LIBNAME = []
>
>
> if using msvc as your compiler? I'm very unfamiliar with virtualenv,
> so I'm not quite sure how to go about installing pycuda through that
> environment, unfortunately. Sorry for the inconvenience!
You don't need to configure any of the BOOST_ variables aside from
USE_SHIPPED_BOOST. Once you've activated your virtualenv, you install as
you normally would. (i.e. through 'python setup.py install') The key is
that the 'activation' of the virtualenv has changed your path to the
python interpreter within the virtualenv, and all installation will go
there instead of the underlying (perhaps global) interperter.
Before you proceed, it might be worthwhile to check whether your
virtualenv is really pointing you at the right Python, e.g. by starting
the interactive Python shell and looking at sys.path.
HTH,
Andreas_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda