Error compiling with pgf90 12.1.0

I’m trying to compile a code with pgf90 12.1.0 on a Cray XE6. The code compiles fine with pgf90 11.9.0 but when using 12.1.0 I get the following error in the build process:


PGF90-F-0000-Internal compiler error. more RDFO nodes than DFN nodes 0 (some file name) PGF90/x86-64 Linux 12.1-0: compilation aborted

If I turn down the optimisation level from -fastsse to -g -O0 I get the following error:

TERMINATED by signal 11

I can provide further details of the code and the compile time options, but in the first instance do you know what this error relates to and is there a fix for it?

Hi adrianj,

Thanks for the report. While you can try 12.2, I don’t see any previous reports of this error so it is doubtful that we have a fix in place. Would you be able to send a reproducing example to PGI Customer Support (trs@pgroup.com)?

Best Regards,
Mat

I’ve sent a small reproducing example to customer support.

Thanks adrianj. I took a look and this error appears to have been fixed in 12.2.

% pgf90 -Mfree -fastsse -r8 -c -o bug.o bug.F90 -V12.1
PGF90-F-0000-Internal compiler error. more RDFO nodes than DFN nodes       0 (bug.F90: 158)
PGF90/x86-64 Linux 12.1-0: compilation aborted
% pgf90 -Mfree -fastsse -r8 -c -o bug.o bug.F90 -V12.2
%

Best Regards,
Mat