PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

PGI accel report: not enough info "Could not find alloc
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
Alexey A. Romanenko



Joined: 17 Feb 2012
Posts: 31

PostPosted: Sun Sep 09, 2012 11:48 pm    Post subject: PGI accel report: not enough info "Could not find alloc Reply with quote

Hi all!

When PGI failed to determent size of an array it just report about it. It doesn't inform which array it is.

Code:
PGF90-W-0155-Compiler failed to translate accelerator region (see -Minfo messages): Could not find allocated-variable index for symbol (<path to file>/<file>.f90: 124)


I have dozen arrays and I would like to see the name of the array, which makes compiler to print above mentioned message

Alexey
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Sep 10, 2012 10:08 am    Post subject: Reply with quote

Hi Alexey,

These messages mean the compiler errored for some reason. Can you send in a reproducing example?

Thanks,
Mat
Back to top
View user's profile
Alexey A. Romanenko



Joined: 17 Feb 2012
Posts: 31

PostPosted: Mon Sep 10, 2012 9:46 pm    Post subject: Reply with quote

Hi Mat,

Example was sent to trs[ at ]pgroup....

Alexey
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Sep 11, 2012 2:52 pm    Post subject: Reply with quote

Hi Alexey,

The problem here is that you're trying to use a "pointer" in a private clause. Unfortunately, we only have limited support for "pointers" in OpenACC regions. I went ahead and sent a report to our engineers (TPR#18918) to see what can be done, or at least provide a better error message.

The work around is to change "jloc" to a fixed size array.

Thanks for the report,
Mat
Back to top
View user's profile
xray



Joined: 21 Jan 2010
Posts: 84

PostPosted: Mon Dec 03, 2012 6:05 am    Post subject: Reply with quote

Hi,
Are there any news on this topic? I couldn't find an entry on the bug fixes...
We do have a big code here that we wanted to accelerate with OpenACC. However, we get the same error message (and cannot use the work around for that code).
Bye, Sandra
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