symbol btr2$sd is an inconsistent array descriptor

Hi,

I just upgraded to the 12.5 compiler (from 11.something) and when I recompile a code that works fine under the 2011 version, I get this error:

pgfortran -Kieee -Mcuda=maxregcount:32 -C -Mchkfpstk -Mchkstk -Mpgicoff -traceback -c cuda_spher_reflcoeff.f90
Lowering Error: symbol btr2$sd is an inconsistent array descriptor
Lowering Error: symbol btr2$sd is an inconsistent array descriptor
PGF90-F-0000-Internal compiler error. Errors in Lowering       2 (cuda_spher_reflcoeff.f90: 777)
PGF90/x86-64 Linux 12.5-0: compilation aborted
make: *** [cuda_spher_reflcoeff.o] Error 2

The error appears in a part of the code which is unrelated to the device code.

Any idea why this appears now when it compiled fine before? As far as I can tell, the array is appropriately sized and allocated.

Thanks, Jan

Hi Jan,

This is a compiler error. If you could please send a reproducing example to PGI Customer Service (trs@pgroup.com), we would appreciate it.

Thanks,
Mat