Open ACC: Unexpected flow graph

Hello all!

I’m trying to rewrite my fortran program by using Open ACC, but I get the following error from compiler:

...
module_count.f90:
PGF90-S-0155-Compiler failed to translate accelerator region (see -Minfo messages): Unexpected flow graph (module_count.f90: 1)
...

What could be the reason of this error?

Thank you in advance.

Hi okatushkina,

What could be the reason of this error?

It’s most likely a compiler issue.

Can you post or send to PGI Customer Service (trs@pgroup.com) a reproducing example so we can investigate?

Also, which compiler version are using and which OS?

-Mat