Lowering Error unknown intrinsic function

I got the following error message when compiling with version 5.1-3:

Lowering Error: unknown intrinsic function [ast=138,asttype=14,datatype=6]
Lowering Error: unknown intrinsic function [ast=141,asttype=14,datatype=6]
Lowering Error: unknown intrinsic function [ast=152,asttype=14,datatype=6]
Lowering Error: unknown intrinsic function [ast=154,asttype=14,datatype=6]
PGF90-F-0000-Internal compiler error. Errors in Lowering 4 (analysis5s.f90: 346)
PGF90/any Linux/x86 5.1-3: compilation aborted

In fact, line 346 is the end of this code, and I can run this code without any problem in IBM Regatta p690 with IBM’s fortran compiler.
Please give a hand, thanks in advance

Hi happyradar,

This is most likely a compiler bug. Can you please send a report and example file(s) to trs@pgroup.com so we can recreate the issue here? 5.1-3 is a few years old so there is a good chance that it has been fixed already.

Thanks,
Mat