Lowering Error: with pgi 13.4


I’m trying to compile cosmomc with pgi 13.4 on Ubuntu 12.04LTS. I get the following error:
Lowering Error: bad ast optype in expression [ast=96,asttype=12,datatype=0]
PGF90-F-0000-Internal compiler error. Errors in Lowering 1 (ObjectLists.f90: 159)
PGF90/x86-64 Linux 13.4-0: compilation aborted.

COSMOMC is available for download here:

I’m using this for FFLAGS

Hi Richard,

I put in a request for the code and will try to recreate the error once I can get it.

  • Mat

Thanks Richard. I was able to recreate the error and have sent it on to engineering for investigation. The error has been logged as TPR#19317.

  • Mat

TPR 19317 - ICE: bad ast optype in expression, convert_subscript: must be array

has been fixed in the now released 13.6.