My computer is core2duo,
NV card : GT240
OS : win7 64bit
MS visual studio 2008 professional.
CUDA SDK v4.0
Driver : 275.33 I had uninstall 266.58 before new installation
I had added last line to nvcc.profile to get cl.exe path
INCLUDES += “-I$(TOP)/include” “-I$(TOP)/include/cudart” “-IC:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include” $(SPACE)
And change the environment to be 64bit by run this command line:
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
\bin\amd64\vcvarsamd64.bat
And then win7 returns
Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools.
After that I compiled the example from book “CUDA by example” with book.h in the same directory
nvcc -o a.exe hello.cu
hello.cu
tmpxft_00000bf0_00000000-3_hello.cudafe1.gpu
tmpxft_00000bf0_00000000-8_hello.cudafe2.gpu .0\VC
hello.cu
tmpxft_00000bf0_00000000-3_hello.cudafe1.cpp 2008 Beta2 x64 tools.
tmpxft_00000bf0_00000000-14_hello.ii
I can run a.exe as a hello world program as usual.
At last. I followed the “Getting started with windows”
try c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\bin\win64\Release>bandwidthtest.exe
[bandwidthTest.exe] starting…
bandwidthTest.exe Starting…
Running on…
Device 0: GeForce GT 240
Quick Mode
Host to Device Bandwidth, 1 Device(s), Paged memory
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 1531.4
Device to Host Bandwidth, 1 Device(s), Paged memory
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 1180.7
Device to Device Bandwidth, 1 Device(s)
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 18051.9
[bandwidthTest.exe] test results…
PASSED
Press ENTER to exit…
Sounds good. Unfortunately I tried to compile the bandwidthtest.cu by myself as instruction.
I got.
06/12/2011 08:11 PM .
06/12/2011 08:11 PM …
05/05/2011 06:52 PM 32,921 bandwidthTest.cu
01/22/2011 04:20 PM 1,246 bandwidthTest_vs2005.sln
03/24/2011 01:29 AM 10,200 bandwidthTest_vs2005.vcproj
06/12/2011 08:11 PM 27,648 bandwidthTest_vs2008.ncb
01/22/2011 04:20 PM 1,247 bandwidthTest_vs2008.sln
03/24/2011 01:29 AM 10,586 bandwidthTest_vs2008.vcproj
06/12/2011 08:11 PM 2,625 bandwidthTest_vs2008.vcproj.ghost07.spawn
.user
04/01/2011 03:19 PM 1,248 bandwidthTest_vs2010.sln
04/01/2011 03:19 PM 12,298 bandwidthTest_vs2010.vcxproj
06/12/2011 08:01 PM Debug
06/12/2011 08:01 PM 323,584 vc90.pdb
10 File(s) 423,603 bytes
3 Dir(s) 30,190,985,216 bytes free
c:ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest
C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTe
st>nvcc bandwidthTest.cu
nvcc fatal : Cannot find compiler ‘cl.exe’ in PATH
Why my hello.cu first simple program never ask me about cl.exe ?
And how to solve this issue ?
Some additional information.
I remote by freesshd to use my computer. I had tried rdesktop and it kill NV process the expert
suggested that I must use VNC server instead, but I have very slow ADSL internet. That’s why
I stay in ssh.
I am accustomed to GNU/Linux Debian environment. This time I have to work in team.
Please do not get angry or nervous about my post I am a grad from physics.
I am not an English native speaker.
I would like to perform lattice simulation like this guy (signifier)
Any help and suggestion are welcomed
Grad. student