I'm trying to update/re-write a bunch of code that should be able to be compiled by all of the major fortran compilers. I have access to ifort, and gfortran and a relatively old (?) version of the pgi compiler (version 7.2.5). The code compiles fine with gfortran and ifort, but portland group's compiler complains at a line that looks like:
open(unit=82,file=fname,status=status,form='UNFORMATTED',access='STREAM')
write(82,POS=file_pos) iheader !<= mpif90 complains here
I'm actually using mpif90 which is a wrapper around pgf90, but that shouldn't make a difference. (iheader is simply an integer array with 20 elements). Do more modern versions the portland group compiler support this?
POS=...line, but I suppose this question could be more general than that. Does portland group even support the stream IO introduced in the f2003 standard?