PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Internal compiler error when using openmp

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
dodes



Joined: 27 Oct 2012
Posts: 1

PostPosted: Tue Apr 23, 2013 1:11 pm    Post subject: Internal compiler error when using openmp Reply with quote

I recently got the following error while trying to compile a fortran program that contains openMP directives:

PGF90-F-0000-Internal compiler error. more RDFO nodes than DFN nodes

The offending lines of code appear to be

!$OMP PARALLEL SHARED(vnew,allval)
!$OMP WORKSHARE
vnew = maxval(allval,dim=2)
!$OMP END WORKSHARE
!$OMP END PARALLEL

Interestingly, if I remove the mask in the maxval function and replace the third line with something like

vnew(1,1) = maxval(allval)

the program compiles just fine. Of course, the program doesn't do what I want it to if I make that substitution, but I thought it might be useful for diagnostic purposes.

Notes: vnew is a 2 dimensional array and allval is a three dimensional array
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Apr 24, 2013 1:04 am    Post subject: Reply with quote

Hi dodes,

Which compiler version are you using? We had a report against the 12.4 compiler release with the same error that was fixed in the 12.6 release.

If you are using a more recent version of the compiler, can you please send a reproducing example to PGI Customer Support (trs@pgroup.com)?

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

 
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