PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

CUDA Fortran Internal Compiler Error
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
mkcolg



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

PostPosted: Tue Jun 15, 2010 10:01 am    Post subject: Reply with quote

Hi Robert,

The problem is this declaration:

Quote:
integer, shared :: ncs,nfdh3, nallr


"nfdh3" is an array but is being declared as a shared scalar integer.

While it's not causing the error, you most likely also want ncs and nallr declared as 'value' instead of shared.

Quote:
integer, value :: ncs, nallr
integer, allocatable(:) :: nfdh3


I have submitted a problem report to our engineers, TPR#17027, asking that we flag this error.

Thanks for the sample code and report.

- 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 Previous  1, 2
Page 2 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