I am using pgi 14.6 and get the following error on an acc routine statement
PGF90-F-0155-Compiler failed to translate accelerator region (see -Minfo messages): Load of NULL symbol (m_diagonal_solver.f90: 1)
I have placed the “!$acc routine seq” statement after the implicit none and before the variable declarations.
I am not able to reproduce this problem on a toy program, it works fine there. Any help is appreciated.
“Load of NULL symbol” is a generic issue that when a trying to load a NULL pointer. It could be a compile code generation error, or given your last post, related with using allocable members in a user defined type.
If you can, please send a reproducing example (or the whole program) to PGI Customer Service (email@example.com) and we can diagnose the issue.
We’ve got such error in the following example:
integer :: n, l
common /block/ n
do l = 1, n
PGF90-S-0155-Compiler failed to translate accelerator region (see -Minfo messages): Load of NULL symbol (test.f90: 1)