As expected, everything started working when I added
boost_thread-vc90-mt-1_38.dll and boost_python-vc90-mt-1_38.dll to the
system path and "set HOME=c:\home\fasiha" though '123456' works too :P
I'll clean up the wiki :)


On Thu, Jul 16, 2009 at 12:28 PM, Ahmed Fasih<[email protected]> wrote:
> Hey everyone, it turns out PyCUDA on Linux was such a bit hit that
> some colleagues are asking for the same thing for their Windows boxes
> also. I have made sure the NVIDIA CUDA SDK examples work and am
> following the wiki installation for MSVC 9.0 with some trouble.
>
> I used the BoostPro 1.38 installer to install default variants for
> Visual C++ 9.0 (Visual Studio 2008), with variants Multithread, DLL;
> Multithread; Multithread, static runtime; and Single thread, static
> runtime. I install the default components as well as Boost DateTime,
> Boost Python, and Boost Threads, without which the installation of
> PyCUDA won't happen. I've tried various other combinations of variants
> and compilers but test_driver.py fails with the same error message:
>
> C:\home\fasiha\pycuda\test>python test_driver.py
> Traceback (most recent call last):
>  File "test_driver.py", line 472, in <module>
>    import pycuda.autoinit
>  File 
> "C:\Python26\lib\site-packages\pycuda-0.94beta-py2.6-win32.egg\pycuda\autoinit.py",
> line 1, in <module>
>    import pycuda.driver as cuda
>  File 
> "C:\Python26\lib\site-packages\pycuda-0.94beta-py2.6-win32.egg\pycuda\driver.py",
> line 1, in <module>
>    from _driver import *
> ImportError: DLL load failed: The specified module could not be found.
>
> I was slightly confused with the instruction to "set HOME=123456", I'm
> not too familiar with Windows, so I tried that as well as "set
> HOME=c:/home/fasiha" (and with backslashes), the same error.
>
> I'm also slightly confused by this sentence in the wiki: "To work with
> pycuda You need to have Microsoft Visual Studio 2005 (VS 8) included
> in the PATH variable (for example c:\mvs8\vc\bin, where mvs8 - is your
> vc8 installation part) (otherwise, CUDA complains about version 6 and
> 7.1 !)" I assume that this is not a problem for me since PyCUDA
> doesn't seem to complain about MSVC.
>
> I am so sorry to unload yet another plea for installation assistance,
> I never ever thought I'd be installing it in Windows but I guess it's
> a small price for success :) I'll keep trying some stuff and report
> any further info.
>
> Thanks all,
> Ahmed
>

_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to