i got pycuda compiled with VS2008 x64 Command Prompt just fine. it took a
week, though just to debug <everything> in order to make it work...;)

did you set the visual studio environment var using the appropriate visual
studio bat file?

try putting this (modified for your path) in the PATH:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;

and this:

C:\Program Files (x86)\boost\boost_1_40\stage\lib;

and this:
C:\CUDA\bin;C:\CUDA\lib;

see if that helps.

also, you have to run Cl.exe x64 as admin.

also - MOST IMPORTANTLY - change the references in the code in setup.py
from C:\CUDA\bin --> C:\CUDA\bin64 & C:\CUDA\lib --> C:\CUDA\lib64

like i said.

a week.

-0.


> Send PyCUDA mailing list submissions to
>       [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://tiker.net/mailman/listinfo/pycuda_tiker.net
> or, via email, send a message with subject or body 'help' to
>       [email protected]
>
> You can reach the person managing the list at
>       [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PyCUDA digest..."
>
>
> Today's Topics:
>
>    1. CompileError (Ewan Maxwell)
>    2. Re: CompileError (Ewan Maxwell)
>    3. Re: CompileError (Andreas Kl?ckner)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 21 Dec 2009 07:26:21 +0000 (UTC)
> From: Ewan Maxwell <[email protected]>
> Subject: [PyCUDA] CompileError
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Hello.
>
> I've just installed PyCuda
> and test_driver.py (and all others) fails with EE..EE....EEEEEE
>
>
> The traceback is very long and I do not know what information is relevant
> so I
> reran with the example code in http://documen.tician.de/pycuda/
>
> Traceback (most recent call last):
>   File "C:\srcs\main.py", line 12, in <module>
>     """)
>   File "C:\Apps\Python26\lib\site-packages\pycuda-0.93-py2.6-win-
> amd64.egg\pycuda\compiler.py", line 180, in __init__
>     arch, code, cache_dir, include_dirs)
>   File "C:\Apps\Python26\lib\site-packages\pycuda-0.93-py2.6-win-
> amd64.egg\pycuda\compiler.py", line 170, in compile
>     return compile_plain(source, options, keep, nvcc, cache_dir)
>   File "C:\Apps\Python26\lib\site-packages\pycuda-0.93-py2.6-win-
> amd64.egg\pycuda\compiler.py", line 79, in compile_plain
>     raise CompileError, "nvcc compilation of %s failed" % cu_file_path
>
> CompileError: nvcc compilation of
> c:\users\$MYNAME$\appdata\local\temp\tmprofcd6\kernel.cu failed
>
>
> My software
> Windows 7(x64) with VS2008
>  numpy built from source with vs2008
> Cuda Toolkit 2.3
> Cuda SDK 2.3
>
>
> My Hardware
> CPU Core 2 Duo E4500 /P35 MB/4GB RAM/NVIDIA GT240
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 21 Dec 2009 15:02:16 +0000 (UTC)
> From: Ewan Maxwell <[email protected]>
> Subject: Re: [PyCUDA] CompileError
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Ewan Maxwell <sungs...@...> writes:
>
>
>> CompileError: nvcc compilation of
>> c:\users\$MYNAME$\appdata\local\temp\tmprofcd6\kernel.cu failed
>>
>
>
>
> Seems like the underlying problem is
> "nvcc fatal : nvcc cannot find a supported cl version.
> Only MSVC 8.0 and MSVC 9.0 are supported"
>
> Using "Visual Studio 2008 Command Prompt" I could get most of the tests to
> work.
> curiously, "Visual Studio 2008 x64 Win64 Command Prompt" does NOT work
>
>
> I want it to "just work". I'd like to execute PyCuda code without the cli.
> Thus I'd like it to work just by double clicking the test_driver.py file.
>
> I added several items to the PATH environment
> variable(\VC\Bin;\VC\bin\amd64)
>
> test_driver.py works(all 16 tests), the example code i mentioned works to
> however, other tests still fail with the same reason("nvcc fatal~")
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 21 Dec 2009 12:48:00 -0500
> From: Andreas Kl?ckner <[email protected]>
> Subject: Re: [PyCUDA] CompileError
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Montag 21 Dezember 2009, Ewan Maxwell wrote:
>> test_driver.py works(all 16 tests), the example code i mentioned works
>> to
>> however, other tests still fail with the same reason("nvcc fatal~")
>
> That's strange. If all of them have the same path, why would some fail and
> some succeed?
>
> Andreas
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 190 bytes
> Desc: This is a digitally signed message part.
> URL:
> <http://tiker.net/pipermail/pycuda_tiker.net/attachments/20091221/c922620b/attachment-0001.bin>
>
> ------------------------------
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://tiker.net/mailman/listinfo/pycuda_tiker.net
>
>
> End of PyCUDA Digest, Vol 18, Issue 12
> **************************************
>



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

Reply via email to