Hi Everyone,
I have an identical set up of pycuda on two computers as follow :
Windows 10 64bit
CUDA 8.0
Pycuda 2017.1+cuda8061-cp27-cp27m-amd64.whl
Visual Studio 2013 Community
This works perfectly on one of the computers but on the other computer, pycuda
fails and reports the issue "c1xx : fatal error C1083: Cannot open source file:
'kernel.cu': No such file or directory"
I have attached the script, script run log, and nvcc.profile.
Is there something I am missing in the problematic installation? Or is the
issue somewhere else e.g. windows config, some other interfering application
e.g. antivirus etc.
I have ran the NVIDIA's CUDA sample applications and they work just fine.
Many thanks,
Sanjay
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
Cisco ESA for the presence of computer viruses.
nvcc.profile
Description: nvcc.profile
scratch_1.py
Description: scratch_1.py
D:\CROME\Apps\Sanjay\PYCUDA>python -B scratch_1.py
Traceback (most recent call last):
File "scratch_1.py", line 15, in
""",options=['-v'])
File "C:\Python2713\lib\site-packages\pycuda\compiler.py", line 291, in
__init__
arch, code, cache_dir, include_dirs)
File "C:\Python2713\lib\site-packages\pycuda\compiler.py", line 255, in
compile
return compile_plain(source, options, keep, nvcc, cache_dir, target)
File "C:\Python2713\lib\site-packages\pycuda\compiler.py", line 137, in
compile_plain
stderr=stderr.decode("utf-8", "replace"))
pycuda.driver.CompileError: nvcc compilation of
c:\users\crome\appdata\local\temp\tmp4gztsd\kernel.cu failed
[command: nvcc --cubin -v -arch sm_52 -m64
-Ic:\python2713\lib\site-packages\pycuda\cuda kernel.cu]
[stdout:
D:\CROME\Apps\Sanjay\Scripts>call
C:\Users\crome\AppData\Local\Temp/tmpxft_0e9c_-2.bat
D:\CROME\Apps\Sanjay\Scripts>set
1>C:\Users\crome\AppData\Local\Temp/tmpxft_0e9c_-1
#$ VSINSTALLDIR=C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/bin/amd64/../../../
#$ VCINSTALLDIR=C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/bin/amd64/../../../VC/
#$ C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/bin/amd64/../../../VC/bin/amd64/vcvars64.bat
#$ AGSDESKTOPJAVA=C:\Program Files (x86)\ArcGIS\Desktop10.5\
#$ ALLUSERSPROFILE=C:\ProgramData
#$ APPDATA=C:\Users\crome\AppData\Roaming
#$ CommandPromptType=Native
#$ CommonProgramFiles=C:\Program Files\Common Files
#$ CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
#$ CommonProgramW6432=C:\Program Files\Common Files
#$ COMPUTERNAME=CROME
#$ ComSpec=C:\windows\system32\cmd.exe
#$ CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
#$ CUDA_PATH_V8_0=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
#$ ExtensionSdkDir=C:\Program Files (x86)\Microsoft
SDKs\Windows\v8.1\ExtensionSDKs
#$ FME_TEMP=D:\FME_TEMP
#$ Framework40Version=v4.0
#$ FrameworkDir=C:\windows\Microsoft.NET\Framework64
#$ FrameworkDIR64=C:\windows\Microsoft.NET\Framework64
#$ FrameworkVersion=v4.0.30319
#$ FrameworkVersion64=v4.0.30319
#$ FSHARPINSTALLDIR=C:\Program Files (x86)\Microsoft SDKs\F#\3.1\Framework\v4.0\
#$
GDAL_DATA=C:\Anaconda2\Lib\site-packages\sen2cor-2.2.1-py2.7.egg/sen2cor\cfg\gdal_data
#$ HOMEDRIVE=C:
#$ HOMEPATH=\Users\crome
#$ INCLUDE=C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/bin/amd64/../../../VC/INCLUDE;C:/Program Files (x86)/Microsoft Visual
Studio 12.0/VC/bin/amd64/../../../VC/ATLMFC\INCLUDE;C:\Program Files
(x86)\Windows Kits\8.1\include\shared;C:\Program Files (x86)\Windows
Kits\8.1\include\um;C:\Program Files (x86)\Windows Kits\8.1\include\winrt;
#$ LIB=C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/bin/amd64/../../../VC/LIB\amd64;C:/Program Files (x86)/Microsoft Visual
Studio 12.0/VC/bin/amd64/../../../VC/ATLMFC\LIB\amd64;C:\Program Files
(x86)\Windows Kits\8.1\lib\winv6.3\um\x64;
#$ LIBPATH=C:\windows\Microsoft.NET\Framework64\v4.0.30319;C:/Program Files
(x86)/Microsoft Visual Studio
12.0/VC/bin/amd64/../../../VC/LIB\amd64;C:/Program Files (x86)/Microsoft Visual
Studio 12.0/VC/bin/amd64/../../../VC/ATLMFC\LIB\amd64;C:\Program Files
(x86)\Windows Kits\8.1\References\CommonConfiguration\Neutral;C:\Program Files
(x86)\Microsoft
SDKs\Windows\v8.1\ExtensionSDKs\Microsoft.VCLibs\12.0\References\CommonConfiguration\neutral;
#$ LOCALAPPDATA=C:\Users\crome\AppData\Local
#$ LOGONSERVER=\\CROME
#$ NUMBER_OF_PROCESSORS=40
#$ NVCUDASAMPLES8_0_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v8.0
#$ NVCUDASAMPLES_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v8.0
#$ NVTOOLSEXT_PATH=C:\Program Files\NVIDIA