PGI fails to compile OpenACC kernels with the following error:
error F0000 : Internal compiler error. Device compiler exited with error status code 0
This same code was working before the update.
This is on Windows 7 64-bit with PGI Visual Fortran 13.3. I tried reinstalling PGI 13.3 to no avail. This seems like it could be a path issue, but I’m not sure.
It looks like we have an Update 2 incompatibility in a redistributable
library. I have opened TPR 19273 for this problem. David may be able to
workaround the issue by doing the following:
First, rename the files to be replaced to avoid copying over them:
C:\Program Files\PGI\Microsoft Open Tools 11\bin\msvcr110.dll
C:\Program Files\PGI\Microsoft Open Tools 11\bin\amd64\msvcr110.dll
Next, copy msvcr110.dll from the post-update-2 VC redist directories to
the PGI directory. Copy
from: C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\redist\x86\Microsoft.VC110.CRT
to: C:\Program Files\PGI\Microsoft Open Tools 11\bin
and
from: C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\redist\x64\Microsoft.VC110.CRT
to: C:\Program Files\PGI\Microsoft Open Tools 11\bin\amd64
This change resolves the issue for me using a simple OpenACC test case.
Please have David let us know if this resolves the issue for his code as
well.
This was filed as TPR 19273, and we have corrected the issue in our current 13.5 release, by removing the file mscvrt110.dll from the Windows installation packages