ICE compiling F90 code

I’m trying to compile a file as part of a larger project, and I ran into an ICE on seemingly reasonable code.

ICE message:
Lowering Error: unknown intrinsic function [ast=1539,asttype=14,datatype=6]
Lowering Error: unknown intrinsic function [ast=1541,asttype=14,datatype=6]
PGF90-F-0000-Internal compiler error. Errors in Lowering 2 (mir_respa2.f90: 67)
PGF90/any Linux/x86 5.2-4: compilation aborted

I have access to the compiler through university computer systems.

Hi Craig,

We do have a problem report in house (TPR#3575) which has the same error output but without seeing your code, I’m not sure if it’s the same error. Please report this error to trs@pgroup.com and include an example of the code.

Thanks,
Mat

OK, I have sent in a stripped-down example. Thanks!