Stuck reading with pgf77+pgf90, works with pgfortran

Hello,

I am compiling a rather complex program, written by many authors over more than 20 years. When testing the program, there was a point where it never came back from a line like:

read(5,'(a)') line

which worked fine everywhere else. After trying different things, I noticed that this part of the code was being compiled with pgf90, while the rest was pgf77.

I then compiled everything again, but using pgfortran instead, and this problem seems to be fixed.

Is there some flag or library I can add with pgf77+pgf90 to make it work like pgfortran, or at least fix this problem? I’m using:

pgfortran 13.7-0 64-bit target on x86-64 Linux -tp sandybridge

Hi Ignacio Fdez. Galvan,

Is there some flag or library I can add with pgf77+pgf90 to make it work like pgfortran, or at least fix this problem?

Sorry, but you need to use one or the other (or pgfortran which is the same as pgf90). The F77 and F90 I/O run time are very different and can’t be shared.

  • Mat