First, the simple FORTRAN 77 code
PROGRAM EX
IMPLICIT NONE
INTEGER I
I = 1234
WRITE(*,10) I
10 FORMAT( 1X,'I JUST WANT TO PRINT A QUITE SIMPLE INTEGER ! ',I4/2X
1 ' BUT PGI COMPILER FAILS HERE!')
STOP
END
But pgf77 fails to compile it.
$ pgf77 ex.f
NOTE: your trial license will expire in 14 days, 14.3 hours.
PGFTN-S-0029-Illegal hexadecimal constant: BUTPGICOMPILERFAILSHERE! (ex.f: 6)
PGFTN-S-0034-Syntax error at or near non-decimal constant 0 (ex.f: 6)
PGFTN-S-0218-Statement labeled 10 is not a FORMAT (ex.f)
0 inform, 0 warnings, 3 severes, 0 fatal for ex
PGFTN/x86-64 Linux 14.6-0: compilation completed with severe errors
I can make my simple FORTRAN 77 code to be suitable for pgf77, but it’s better to fix the parser related parts of pgf77.
BTW, it’s better to have just a trial license. Otherwise, it would be a waste of money!