I’m testing code from a collaborator that implements Kronecker products as OpenACC and OpenMP target offload kernels:
I’m specifically testing the OpenACC version. When compiling it with NVHPC 21.2 using the provided
nvfortran emits that error message referenced in the title at the stage when it compiles the double complex version of the code.
NVFORTRAN-S-0155-Compiler failed to translate accelerator region (see -Minfo messages): Unexpected address of constant (kron_mod.f90: 103)
Furthermore, when trying to inline the code for the OpenACC GEMM implementation, the compiler emits the following error message:
NVFORTRAN-S-0155-Compiler failed to translate accelerator region (see -Minfo messages): Could not find allocated-variable index for symbol - ..inline (kron_mod.f90: 103)
Notice that it’s the exact same line in
!$acc kernels present(A1,X,Y)
The full output of the compile script can be found here.
Any help would be appreciated.