PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Visual Studio 2012 Update 2
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
odlantern



Joined: 30 Aug 2010
Posts: 17

PostPosted: Mon Apr 08, 2013 9:03 am    Post subject: Visual Studio 2012 Update 2 Reply with quote

After installing 'Update 2' for Visual Studio 2012 found here:
http://www.microsoft.com/en-us/download/details.aspx?id=38188

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.

Any idea of how to fix this?

Thanks for your time,
~David
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6218
Location: The Portland Group Inc.

PostPosted: Mon Apr 08, 2013 1:52 pm    Post subject: Reply with quote

Hi David,

We're looking into this but have a few questions.

1) Did you uninstall / reinstall as admin?
2) Are you using VS Shell or VS Premium/Professional?
3) Is there any text above the error indicating why the device compiler failed?

Thanks,
Mat
Back to top
View user's profile
odlantern



Joined: 30 Aug 2010
Posts: 17

PostPosted: Mon Apr 08, 2013 2:18 pm    Post subject: Reply with quote

1) Yes, I uninstalled and reinstalled as Admin.

2) I am using VS 2012 Professional

3) The compiler fails on all of my kernels. There is no text indicating a reason why the device compiler failed.

Here is an example (truncated) output for one of the kernels:

277, Generating present_or_copyout(zrupd(:ncol,:,klev+1))
Generating present_or_copyout(zrup(:ncol,:,klev+1))
Generating present_or_copyout(zrefd(:ncol,:,klev+1))
Generating present_or_copyout(zref(:ncol,:,klev+1))
Generating present_or_copyout(ztrad(:ncol,:,klev+1))
Generating present_or_copyin(palbd(:ncol,:))
Generating present_or_copyout(zrefc(:ncol,:,klev+1))
Generating present_or_copyin(palbp(:ncol,:))
Generating present_or_copyin(ztaur(:ncol,:,:))
Generating present_or_copyin(ztaug(:ncol,:,:))
Generating present_or_copyin(pcldfmc(:ncol,:,:112))
Generating present_or_copyout(lrtchkcld(:ncol,:,:klev))
Generating present_or_copyout(lrtchkclr(:ncol,:,:klev))
278, Loop is parallelizable
295, Loop is parallelizable
Accelerator kernel generated
278, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
295, !$acc loop gang ! blockidx%y
362, Loop is parallelizable
C:\rrtmgs\rrtmg\rrtmg_sw_spcvmc.f90(1041) : error F0000 : Internal compiler error. Device compiler exited with error status code 0
PGF90/x86-64 Windows 13.3-0: compilation aborted
Back to top
View user's profile
odlantern



Joined: 30 Aug 2010
Posts: 17

PostPosted: Tue Apr 09, 2013 11:35 am    Post subject: Reply with quote

I tried compiling using an older installed Visual Studio 2010 and still have the same problem. I'm completely stuck.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6218
Location: The Portland Group Inc.

PostPosted: Tue Apr 09, 2013 11:47 am    Post subject: Reply with quote

One of our engineers has recreated the issue. She'll try and get you a work around as soon as possible.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group