| View previous topic :: View next topic |
| Author |
Message |
Alexey A. Romanenko
Joined: 17 Feb 2012 Posts: 31
|
Posted: Sun Sep 09, 2012 11:48 pm Post subject: PGI accel report: not enough info "Could not find alloc |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Sep 10, 2012 10:08 am Post subject: |
|
|
Hi Alexey,
These messages mean the compiler errored for some reason. Can you send in a reproducing example?
Thanks,
Mat |
|
| Back to top |
|
 |
Alexey A. Romanenko
Joined: 17 Feb 2012 Posts: 31
|
Posted: Mon Sep 10, 2012 9:46 pm Post subject: |
|
|
Hi Mat,
Example was sent to trs[ at ]pgroup....
Alexey |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Tue Sep 11, 2012 2:52 pm Post subject: |
|
|
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 |
|
 |
xray
Joined: 21 Jan 2010 Posts: 71
|
Posted: Mon Dec 03, 2012 6:05 am Post subject: |
|
|
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 |
|
 |
|