Xref: utzoo comp.sys.hp:2238 comp.lang.fortran:2112 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!sun!chiba!khb From: khb@chiba.Sun.COM (Keith Bierman - SPD Languages Marketing -- MTS) Newsgroups: comp.sys.hp,comp.lang.fortran Subject: Re: HP-UX f77 namelist problems Keywords: fortran, frustration Message-ID: <109904@sun.Eng.Sun.COM> Date: 14 Jun 89 04:42:29 GMT References: <4654@ucdavis.ucdavis.edu> Sender: news@sun.Eng.Sun.COM Reply-To: khb@sun.UUCP (Keith Bierman - SPD Languages Marketing -- MTS) Distribution: usa Organization: Sun Microsystems, Mountain View Lines: 30 In article <4654@ucdavis.ucdavis.edu> schell@iris.ucdavis.edu (Stephan Schell) writes: >I have a problem using namelists on Hewlett-Packard's 9000/825 under HP-UX >3.0 that I have not encountered on other machines (e.g., VAXen). ... > >OS release and version info: HP-UX A.B3.10 B >Here is file "test.f". Typing "f77 -a -K -o test test.f" produces >no warnings. (check for anything that is non-ANSI according to HP). Well, NAMELIST is not in x3.9-1978 (aka fortran 77) so file a bug against the non-ansi detection :> > >Here is the result of typing "test". >*** FORTRAN I/O ERROR 907: ERROR IN LIST-DIRECTED I/O READ OF CHARACTER DATA >( 0) 0x00007128 IO_DED + 0x250 >( 1) 0x00004d14 FTN_F_RSNE + 0x154 >( 2) 0x00002ed0 test + 0x128 > >So, what did I do wrong, or have I found a bug, or are the namelist standards >too vague to make a determination here? There is no NAMELIST in the "old" standard. so anything a vendor does is "ok". Your code happens to run on any sensible namelist implementation (vax, sun, lahey, univac for starters). So I would file a bug report. Keith H. Bierman |*My thoughts are my own. Only my work belongs to Sun* It's Not My Fault | Marketing Technical Specialist ! kbierman@sun.com I Voted for Bill & | Languages and Performance Tools. Opus (* strange as it may seem, I do more engineering now *)