Thanks Andreas for the response. How could I check whether nvcc is work the 
same way on both computers?  

On the problematic installation, I did try running the nvcc from a command 
prompt. I only get the text "kernel.cu" as response when I had tried to run the 
following command: 

nvcc --cubin -v -arch sm_52 -m64 -Ic:\python2713\lib\site-packages\pycuda\cuda 
c:\users\crome\appdata\local\temp\tmp4gztsd\kernel.cu

There was no error message reported but perhaps one should have been produced?

Would a log of the run from the successful installation help?

Thanks,

Sanjay Rana | Design Directorate
Rural Payments Agency | Room 200 | North Gate House | Reading | RG1 1AF
Jabber: 02077642065 | ext. 42065 | Email: sanjay.r...@rpa.gsi.gov.uk
Follow us on Twitter @Ruralpay 

-----Original Message-----
From: Andreas Kloeckner [mailto:li...@informa.tiker.net] 
Sent: 05 June 2017 14:25
To: Rana, Sanjay; 'pycuda@tiker.net'
Subject: Re: [PyCUDA] c1xx : fatal error C1083: Cannot open source file: 
'kernel.cu': No such file or directory

"Rana, Sanjay" <sanjay.r...@rpa.gsi.gov.uk> writes:

> 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.

Does nvcc work the same way on either computer? You could also try building 
this branch:

https://gitlab.tiker.net/inducer/pycuda/merge_requests/3

That gets by without needing to call nvcc, which may well solve your problem.

Andreas

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
______________________________________________________________________
************************************************************************************
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.
************************************************************************************


_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
https://lists.tiker.net/listinfo/pycuda

Reply via email to