Load of NULL symbol

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.

Thanks,
KM

Hi KM,

“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 (trs@pgroup.com) and we can diagnose the issue.

Thanks,
Mat

Hi,

We’ve got such error in the following example:

subroutine test()
use openacc
implicit none
!$acc routine(test)
integer :: n, l
common /block/ n
save
do l = 1, n
enddo
return      
end

program main

end



PGF90-S-0155-Compiler failed to translate accelerator region (see -Minfo messages): Load of NULL symbol (test.f90: 1)

PGI 14.6 x86-64