Hi,
I am getting those lowering errors even with PGI 11.0:
mpif90 -ta=nvidia,time -Minfo=accel -V -w -Kieee -Mextend -pc 64 -Mbyteswapio -Mnoopenmp -Mpreprocess -fastsse -Mvect=nosizelimit -DLinux -DPORTLAND -I. -I.. -c code.f -o code.o
pgf90 11.0-0 64-bit target on x86-64 Linux -tp nehalem
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2010, STMicroelectronics, Inc. All Rights Reserved.
PGF90/x86-64 Linux 11.0-0
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2010, STMicroelectronics, Inc. All Rights Reserved.
Lowering Error: bad ast optype in expression [ast=3828,asttype=12,datatype=0]
Lowering Error: bad ast optype in expression [ast=3829,asttype=12,datatype=0]
Lowering Error: bad ast optype in expression [ast=3830,asttype=12,datatype=0]
Lowering Error: bad ast optype in expression [ast=3831,asttype=12,datatype=0]
Lowering Error: bad ast optype in expression [ast=3833,asttype=12,datatype=0]
Lowering Error: bad ast optype in expression [ast=3834,asttype=12,datatype=0]
Lowering Error: bad ast optype in expression [ast=3835,asttype=12,datatype=0]
Lowering Error: bad ast optype in expression [ast=3836,asttype=12,datatype=0]
PGF90-F-0000-Internal compiler error. Errors in Lowering 8 (code.f: 244)
PGF90/x86-64 Linux 11.0-0: compilation aborted
Line 244 that the compiler is complaining about is a loop, this is the line:
ITERATE : do while ( iter < itermx .and. istuck < 5
& .and. .NOT.is_converged )
The variables iter, itermx,and istuck are integers while is_converged is of type logical.
I am not using any write statements.
I am using the “reflected” directive for PGI accelerators on GPUs, but line 244 has nothing to do with with accelerators.
Unfortunately I am not able to share the production code.
What does “bad ast optype in expression” mean?
Please let me know if I can provide further info.
Thanks.
Mohamad Sindi