Hi Andreas,

Yes, I built the GPU Computing examples that come with the CUDA toolkit with
Visual Studio 2008 and they are running.

I have the latest version of Visual 2008 installed. In fact I reinstalled
it. Can you think of any specific step to have nvcc point to Visual Studio
2008 compiler? I have the following path added in the *PATH* Windows
environment variable:

C:\Python26;C:\Python26\Lib\site-packages;%WinDir%\System32;C:\Program Files
(x86)\Microsoft Visual Studio 9.0\VC\bin;C:\Program Files (x86)\Microsoft
Visual Studio 9.0\Common7\IDE

*Error:*
*[command: nvcc --cubin -arch sm_12 -m64
-IC:\Python26\lib\site-packages\pycuda\..\..\..\include\pycuda kernel.cu]*
*[stderr:nvcc fatal   : Visual Studio configuration file '(null)' could not
be found for installation at 'C:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/bin/../.*
*
*
*Since this is a 64 bit compilation I am not sure which configuration file
is required: *
*vcvars64.bat*
*vcvarsamd64.bat*
*
*
*Please let me know if you have any ideas.*

*Regards,*

*Aritra*



On Sun, Apr 17, 2011 at 2:51 PM, Andreas Kloeckner
<[email protected]>wrote:

> On Sun, 17 Apr 2011 14:25:37 -0400, Aritra Nath <[email protected]>
> wrote:
> > Hi Andreas,
> >
> > I'm sorry I sent the wrong issue to you. I am working on Windows 7 64
> bit.
> > While running the *mandlebrot* example Pycuda I got the following error:
> >
> > *pycuda.driver.CompileError: nvcc compilation of
> > c:\users\krishna\appdata\local\t*
> > *emp\tmp_0agks\kernel.cu failed*
> > *[command: nvcc --cubin -arch sm_12 -m64
> > -IC:\Python26\lib\site-packages\pycuda\.*
> > *.\..\..\include\pycuda kernel.cu]*
> > *[stderr:*
> > *nvcc fatal   : Visual Studio configuration file '(null)' could not be
> found
> > for*
> > *installation at 'C:\Program Files (x86)\Microsoft Visual Studio
> > 9.0\VC\bin/../..**'**]*
>
> This looks like a CUDA configuration issue. Can you use nvcc to compile
> CUDA examples? Do you have Visual Studio installed? Have you run
> vcvars.bat?
>
> Andreas
>
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to