There’s nothing obviously wrong here and when I try to recreate the issue, the code compiles fine. Can you please post a small reproducing example which show the error?
The forum’s HTML code hides the full example by masking a whole line. So you do not see the Variable Format Expressions code, which causes the problem.
Given bellow is the F77 test code uploaded on GitHub:
If you try to compile that code by means of NVidia HPC SKD pgf77 compiler you will get the following fatal error:
Now I think you can see the problem in details.
Note that if I use PGI Compilers 18.4 to compile the F77 code shown above it gets compiled.
Thank you very much in advance for your efforts to investigate the problem.
Thank you for the explanation. We hoped to solve the problem without re-writing the code but if changing the code is the only option we shall go that way.