Reduced test case frim Bud Davis $ cat a.f integer status integer i open(unit=20,file='np',action='write', & form='unformatted',iostat=status); print*,'status from open is ',status do i = 1,5 write(20)i end do end
$ cat b.f integer status integer i integer val open(unit=21,file='np',action='read', & form='unformatted',iostat=status); print*,'status from open is ',status do i = 1,5 read(21)val print*,val end do Here is what I get: $ mkfifo np $ ./b & [1] 18730 $ ./a status from open is 0 At line 7 of file a.f Fortran runtime error: Illegal seek status from open is 0 At line 8 of file b.f Fortran runtime error: End of file -- Summary: I/O with named pipes does not work Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jvdelisle at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162