ACCESS='TRANSPARENT'

Hi!

I just received an interesting subroutine that works with g95 and gfortran, but that is rejected by pgf90. The routine writes a binary file, which is opened with the statement:

OPEN(ScratchFile,FILE=FName,ACCESS=‘TRANSPARENT’,STATUS=‘REPLACE’)

Specifyer ACCESS=‘TRANSPARENT’ is not supported by pgf90. Can you please suggest a replacement? I tried FORM=‘UNFORMATTED’, but that didn’t work.

Regards,


Arjan

Hi Arjan,

I’m not familiar with ACCESS=‘TRANSPARENT’, but from what I can learn from Google is that it’s a Lahey and Absoft streaming I/O extension. If so, the the best equivalent would be the F2003 ACCESS=‘STREAM’. Though, ‘STREAM’ wasn’t added until the 6.2 release and I think you might be using 6.1.

  • Mat

Thanks, I’ll check the version monday first thing!

Arjan

pgf90 -V

pgf90 6.1-4 32 bit target on x86-64 Linux

I’m afraid you’re right and we do have a very old compiler.

Arjan