Hi,
I was able to build PyCuda in Windows-7 64bit for 32bit Python with 64bit Cuda
(which includes 32bit version). This is my siteconfig for Visual Studio 2008:
BOOST_INC_DIR = ['D:/Programming/CC/install/vs09x32_shared_release/include']
BOOST_LIB_DIR = ['D:/Programming/CC/install/vs09x32_shared_release/lib']
BOOST_COMPILER = 'msvc9'
USE_SHIPPED_BOOST = False
BOOST_PYTHON_LIBNAME = ['boost_python-mt']
BOOST_THREAD_LIBNAME = ['boost_thread-mt']
CUDA_TRACE = False
CUDA_ROOT = 'C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2'
CUDA_ENABLE_GL = True
CUDADRV_LIB_DIR = ['C:/Program Files/NVIDIA GPU Computing
Toolkit/CUDA/v3.2/lib/Win32']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = ['/EHsc', '/DBOOST_ALL_NO_LIB']
LDFLAGS = []
I.e. also using an externally build boost. I have not tried with the internal
one, since I already had boost compiled this way:
Bjam -j7 \
--toolset=msvc-9.0 \
--layout=system \
link=shared \
threading=multi \
runtime-link=shared \
architecture=x86 \
address-model=32
Good Luck,
Martin
From: [email protected] [mailto:[email protected]] On Behalf Of
Mike Tischler
Sent: 14 April 2011 22:14
To: Andreas Kloeckner; [email protected]
Subject: Re: [PyCUDA] Install - Windows Server 2008 64bit
Andreas,
I'm also wondering if there is a way to configure 32bit PyCuda in a 32bit
Python install on a 64bit OS to work with a 64bit CUDA Driver & Toolkit. That
would also solve my issue.
thanks,
Mike
________________________________
From: Andreas Kloeckner <[email protected]>
To: Mike Tischler <[email protected]>; "[email protected]"
<[email protected]>
Sent: Wednesday, April 13, 2011 7:38 PM
Subject: Re: [PyCUDA] Install - Windows Server 2008 64bit
On Wed, 13 Apr 2011 12:40:59 -0700 (PDT), Mike Tischler
<[email protected]<mailto:[email protected]>> wrote:
> Andreas,
> Thanks - I'll try looking into a different debugger.
>
>
> >Any particular reason to not use shipped boost?
> Yes. I couldn't get it to compile properly. I tried again by running
> configure.py<http://configure.py>, setup.py<http://setup.py> build, setup.py
> install and receive errors
> about missing files (boost\mpl\aux_\_include_preprocessed something or
> other). If I compiled boost from source on the machine, I could then
> get pycuda to compile by changing the configuration parameters.
Let me know what files those are. There are some machine-dependent files
in boost, and I might simply be missing the ones needed for
Windows. After a few iterations, we might have a complete set, and then
your problem might be solved.
Andreas
________________________________
The information contained in this message may be confidential and legally
protected under applicable law. The message is intended solely for the
addressee(s). If you are not the intended recipient, you are hereby notified
that any use, forwarding, dissemination, or reproduction of this message is
strictly prohibited and may be unlawful. If you are not the intended recipient,
please contact the sender by return e-mail and destroy all copies of the
original message.
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda