Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!nntpd.lkg.dec.com!fman.enet.dec.com!peterson From: peterson@fman.enet.dec.com (Bob Peterson) Newsgroups: comp.lang.fortran Subject: Re: flush doesn't work with dec3100 f77 compiler Message-ID: <1991May29.124413@fman.enet.dec.com> Date: 29 May 91 16:44:13 GMT References: <1991May28.174723.13979@milton.u.washington.edu> <_Q1+34+@engin.umich.edu> <13203@uhccux.uhcc.Hawaii.Edu> Sender: news@shlump.lkg.dec.com Reply-To: peterson@fman.enet.dec.com (Bob Peterson) Organization: Digital Equipment Corporation Lines: 22 In article <_Q1+34+@engin.umich.edu> oliveria@engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA) writes (about the FORTRAB flush system routine): >C Apparently the FLUSH routine doesn't work on the dec3100 (ultrix 3.1) >C and dec5000 (ultrix 4.1). We tried it with DEC Fortran (RISC f77 V3.0) and it worked fine. BTW: flush is almost a NOP for DEC Fortran since we don't do buffered output. FYI: The FORTRAN for RISC (RISC f77 V2.0) flush called fflush(3s), DF calls fsynch(2) and flushes the read ahead buffer. If/when we do buffered writes we'll have to flush that too. If you're using something before V3 it isn't called DEC Fortran but the command is still f77. As far as we can tell flush(3f) works with DEC Fortran. Of course, you can't mix in I/O units from objects compiled by pre-V3 f77. \bob DEC Fortran